auto-sync: 2026-05-17 11:25:01
This commit is contained in:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user