auto-sync: 2026-05-17 11:25:01

This commit is contained in:
cfdaily
2026-05-17 11:25:01 +08:00
parent 52fad46970
commit 675c754ada
+6
View File
@@ -324,6 +324,10 @@ interface AppStore {
morningBrief: MorningBrief | null;
subConfig: SubConfig | null;
// v2.6: 多项目
projects: Record<string, any>;
selectedProjectId: string | null;
// UI State
activeTab: TabKey;
edictFilter: 'active' | 'archived' | 'all';
@@ -348,10 +352,12 @@ interface AppStore {
setSelectedOfficial: (id: string | null) => void;
setModalTaskId: (id: string | null) => void;
setCountdown: (n: number) => void;
setSelectedProjectId: (pid: string | null) => void;
toast: (msg: string, type?: 'ok' | 'err') => void;
// Data fetching
loadLive: () => Promise<void>;
loadProjects: () => Promise<void>;
loadAgentConfig: () => Promise<void>;
loadOfficials: () => Promise<void>;
loadAgentsStatus: () => Promise<void>;