Interface: DefinitionStageSnapshot
Defined in: packages/workflow-engine/src/core/definition-version.ts:102
The structural contract of one stage, as stored in a definition snapshot.
Properties
configSchema
readonlyconfigSchema:unknown
Defined in: packages/workflow-engine/src/core/definition-version.ts:118
Normalised JSON Schema of the stage's config schema, or null when absent.
dependencies?
readonlyoptionaldependencies?: readonlystring[]
Defined in: packages/workflow-engine/src/core/definition-version.ts:110
Declared dependencies, sorted for stability. Absent when the stage declares none.
executionGroup
readonlyexecutionGroup:number
Defined in: packages/workflow-engine/src/core/definition-version.ts:108
Parallel-group index (matches workflow_stages.executionGroup).
id
readonlyid:string
Defined in: packages/workflow-engine/src/core/definition-version.ts:104
Stage id — the key the engine writes on every stage row and step ledger entry.
inputSchema
readonlyinputSchema:unknown
Defined in: packages/workflow-engine/src/core/definition-version.ts:114
Normalised JSON Schema of the stage's input schema, or null when absent.
mode?
readonlyoptionalmode?:string
Defined in: packages/workflow-engine/src/core/definition-version.ts:112
Stage mode, when the stage declares one.
outputSchema
readonlyoutputSchema:unknown
Defined in: packages/workflow-engine/src/core/definition-version.ts:116
Normalised JSON Schema of the stage's output schema, or null when absent.
stageNumber
readonlystageNumber:number
Defined in: packages/workflow-engine/src/core/definition-version.ts:106
1-based position in definition order (matches workflow_stages.stageNumber).