返回 DeepSeek-Reasonix
rewindTypes.ts
根目录 / desktop / frontend / src / lib / rewindTypes.ts
1 export interface RewindPlanView {
2 planId?: string;
3 turn?: number;
4 scope?: string;
5 coverage?: string;
6 coverageGaps?: string[];
7 legacy?: boolean;
8 expiredFilePayload?: boolean;
9 canFiles?: boolean;
10 canConversation?: boolean;
11 disabledReason?: string;
12 conflicts?: string[];
13 files?: string[];
14 fileCount?: number;
15 activeWriters?: number;
16 path?: string;
17 conversationAction?: string;
18 ok?: boolean;
19 error?: string;
20 }
21
22 export interface RewindUndoState {
23 turnDiff: number;
24 transactionId?: string;
25 undoAvailable?: boolean;
26 undoTabId?: string;
27 filesRestored?: string[];
28 filesRemoved?: string[];
29 }
30
30 lines TYPESCRIPT