feat(core): new favorite (#7590)

This commit is contained in:
EYHN committed 2024-07-26 08:15:32 +00:00
1 parent 5207e7abfc
commit 3eb09cde5e
47 files changed
+1248 -167

No files matched your search

+7
View File
@@ -31,6 +31,13 @@ export const runtimeFlagsSchema = z.object({
enableExperimentalFeature: z.boolean(),
enableInfoModal: z.boolean(),
enableOrganize: z.boolean(),
// show the new favorite, which exclusive to each user
enableNewFavorite: z.boolean(),
// show the old favorite
enableOldFavorite: z.boolean(),
// before 0.16, enableNewFavorite = false and enableOldFavorite = true
// after 0.16, enableNewFavorite = true and enableOldFavorite = false
// for debug purpose, we can enable both
});
export type RuntimeConfig = z.infer<typeof runtimeFlagsSchema>;