diff options
| author | soryu <soryu@soryu.co> | 2026-02-07 16:58:38 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-02-07 16:58:38 +0000 |
| commit | 8f757f561eeb397aaea70d7c10d41445cc5e50b5 (patch) | |
| tree | db64ab219594f069a9f0e11ff0cba10eeb80f862 /makima/frontend/src/lib/api.ts | |
| parent | 1b72449496ce3a057a43d002c8042d5e7a1d6576 (diff) | |
| download | soryu-8f757f561eeb397aaea70d7c10d41445cc5e50b5.tar.gz soryu-8f757f561eeb397aaea70d7c10d41445cc5e50b5.zip | |
Show directive init on frontend
Diffstat (limited to 'makima/frontend/src/lib/api.ts')
| -rw-r--r-- | makima/frontend/src/lib/api.ts | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/makima/frontend/src/lib/api.ts b/makima/frontend/src/lib/api.ts index 2187c34..ccc7156 100644 --- a/makima/frontend/src/lib/api.ts +++ b/makima/frontend/src/lib/api.ts @@ -3075,8 +3075,31 @@ export interface DirectiveChain { updatedAt: string; } +export interface ChainStep { + id: string; + chainId: string; + name: string; + description: string | null; + stepType: string; + contractType: string; + initialPhase: string | null; + taskPlan: string | null; + dependsOn: string[] | null; + status: string; + contractId: string | null; + supervisorTaskId: string | null; + orderIndex: number; + startedAt: string | null; + completedAt: string | null; + createdAt: string; +} + +export interface ChainWithSteps extends DirectiveChain { + steps: ChainStep[]; +} + export interface DirectiveWithChains extends Directive { - chains: DirectiveChain[]; + chains: ChainWithSteps[]; } export interface DirectiveListResponse { |
