feat: streamline portfolio UI and support atomic record edits

This commit is contained in:
陈煜 committed 2026-10-02 18:46:25 +08:00
1 parent 932a864ed6
commit 9adf7fdbc5
26 files changed
+988 -112

No files matched your search

+10 -2
View File
@@ -128,10 +128,18 @@ export const credentials = z
})
.strict();
export const menuKey = z.enum(['overview', 'account', 'asset', 'debt', 'history', 'calendar']);
export const menuKey = z.enum([
'overview',
'account',
'asset',
'debt',
'history',
'calendar',
'schedules',
]);
export const hiddenMenus = z
.array(menuKey)
.max(6)
.max(7)
.refine((v) => new Set(v).size === v.length, '菜单不可重复');
export const transferInput = z
.object({