Skip to content

Type Alias: WorkflowStep

Makaio Framework


Makaio Framework / contracts / WorkflowStep

WorkflowStep = AgentWorkflowStep | ShellWorkflowStep | GateWorkflowStep | ForEachWorkflowStep

Defined in: ../../../packages/contracts/src/workflow/schemas.ts:282

Discriminated union of all workflow step variants.

  • WorkflowStep
    • AgentWorkflowStep | ShellWorkflowStep | GateWorkflowStep | ForEachWorkflowStep
      • AgentWorkflowStep
        • z.infer<typeof AgentWorkflowStepSchema>
          • typeof AgentWorkflowStepSchema
      • ShellWorkflowStep
        • z.infer<typeof ShellWorkflowStepSchema>
          • typeof ShellWorkflowStepSchema
      • GateWorkflowStep
        • z.infer<typeof GateWorkflowStepSchema>
          • typeof GateWorkflowStepSchema
      • ForEachWorkflowStep
        • WorkflowStepBase
type WorkflowStep = {
id: string;
type: 'agent' | 'shell' | 'gate' | 'for-each';
needs?: Array<string> | undefined;
if?: string | undefined;
};