Type Alias: WorkflowExecution
Makaio Framework / contracts / WorkflowExecution
Type Alias: WorkflowExecution
Section titled “Type Alias: WorkflowExecution”WorkflowExecution =
z.infer<typeofWorkflowExecutionSchema>
Defined in: ../../../packages/contracts/src/workflow/schemas.ts:482
Type Composition
Section titled “Type Composition”WorkflowExecutionz.infer<typeof WorkflowExecutionSchema>typeof WorkflowExecutionSchema
Resolved Shape
Section titled “Resolved Shape”type WorkflowExecution = { id: string; workflowId: string; status: 'completed' | 'cancelled' | 'paused' | 'running' | 'failed' | 'pending'; inputs: Record<string, unknown>; steps: Record<string, { status: 'completed' | 'running' | 'failed' | 'pending' | 'skipped' | 'waiting'; sessionId?: string | undefined; subagentId?: string | undefined; result?: string | undefined; error?: string | undefined; startedAt?: number | undefined; completedAt?: number | undefined; }>; startedAt: number; coordinatorSessionId?: string | undefined; currentStepId?: string | undefined; completedAt?: number | undefined; error?: string | undefined; triggerPayload?: Record<string, unknown> | undefined;};