Interface: WorkflowOptions<TInput>
Defined in: packages/workflow-engine/src/core/workflow.ts:951
Options accepted by defineWorkflow's (id, options?) form.
Type Parameters
TInput
TInput extends z.ZodTypeAny
Properties
description?
optionaldescription?:string
Defined in: packages/workflow-engine/src/core/workflow.ts:954
input?
optionalinput?:TInput
Defined in: packages/workflow-engine/src/core/workflow.ts:956
Zod schema for the workflow's input. Defaults to z.unknown().
name?
optionalname?:string
Defined in: packages/workflow-engine/src/core/workflow.ts:953
Human-readable name. Defaults to the id.