auto-sync: 2026-05-20 23:06:51
This commit is contained in:
@@ -19,6 +19,19 @@ import {
|
||||
type TaskNode,
|
||||
} from './api';
|
||||
|
||||
// ── SSE Notification 类型 ──
|
||||
interface NotifItem {
|
||||
id: string;
|
||||
type: 'info' | 'warning' | 'success' | 'error';
|
||||
title: string;
|
||||
message: string;
|
||||
time: string;
|
||||
read: boolean;
|
||||
source: 'mail' | 'event';
|
||||
taskId?: string;
|
||||
projectId?: string;
|
||||
}
|
||||
|
||||
// ── v2.6 V2Task 类型(对齐后端 tasks 表)──
|
||||
export interface V2Task {
|
||||
id: string;
|
||||
@@ -351,6 +364,7 @@ export const useStore = create<AppStore>((set, get) => ({
|
||||
// Mail
|
||||
mails: [],
|
||||
mailUnread: 0,
|
||||
sseEvents: [],
|
||||
officialsData: null,
|
||||
agentsStatusData: null,
|
||||
morningBrief: null,
|
||||
|
||||
Reference in New Issue
Block a user