Type Alias: WorkflowStep
Makaio Framework / contracts / WorkflowStep
Type Alias: WorkflowStep
Section titled “Type Alias: WorkflowStep”WorkflowStep =
AgentWorkflowStep|ShellWorkflowStep|GateWorkflowStep|ForEachWorkflowStep
Defined in: ../../../packages/contracts/src/workflow/schemas.ts:282
Discriminated union of all workflow step variants.
Type Composition
Section titled “Type Composition”WorkflowStepAgentWorkflowStep | ShellWorkflowStep | GateWorkflowStep | ForEachWorkflowStepAgentWorkflowStepz.infer<typeof AgentWorkflowStepSchema>typeof AgentWorkflowStepSchema
ShellWorkflowStepz.infer<typeof ShellWorkflowStepSchema>typeof ShellWorkflowStepSchema
GateWorkflowStepz.infer<typeof GateWorkflowStepSchema>typeof GateWorkflowStepSchema
ForEachWorkflowStepWorkflowStepBase
Resolved Shape
Section titled “Resolved Shape”type WorkflowStep = { id: string; type: 'agent' | 'shell' | 'gate' | 'for-each'; needs?: Array<string> | undefined; if?: string | undefined;};