From 566a9d72559ec4f2c120577de08ebb2cce202eb8 Mon Sep 17 00:00:00 2001 From: lanyuanxiaoyao Date: Tue, 9 Jun 2026 10:36:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=89=A9=E5=B1=95=20DocumentConfig=20?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20depend=20=E5=AD=97=E6=AE=B5=EF=BC=8C?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=20DocumentStatus=20=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=EF=BC=8C=E6=89=A9=E5=B1=95=20ChangeStatus?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/types.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index a3e6ca3..e5f62dc 100644 --- a/src/types.ts +++ b/src/types.ts @@ -2,6 +2,13 @@ export interface DocumentConfig { name: string; prompt: string; template?: string; + depend?: string[]; +} + +export interface DocumentStatus { + name: string; + completed: boolean; + dependMet: boolean; } export interface DiscussStage { @@ -38,7 +45,9 @@ export interface TaskItem { export interface ChangeStatus { name: string; - documents: string[]; + documents: DocumentStatus[]; + planCompleted: boolean; + buildUnlocked: boolean; taskProgress: { completed: number; total: number } | null; }