Skip to main content

Interface: DefinitionSnapshot

Defined in: packages/workflow-engine/src/core/definition-version.ts:122

The full structural contract of a workflow definition.

Properties​

format​

readonly format: number

Defined in: packages/workflow-engine/src/core/definition-version.ts:124

DEFINITION_SNAPSHOT_FORMAT at the time the snapshot was written.


inputSchema​

readonly inputSchema: unknown

Defined in: packages/workflow-engine/src/core/definition-version.ts:128

Normalised JSON Schema of the workflow's input schema.


outputSchema​

readonly outputSchema: unknown

Defined in: packages/workflow-engine/src/core/definition-version.ts:130

Normalised JSON Schema of the workflow's output schema.


stages​

readonly stages: readonly DefinitionStageSnapshot[]

Defined in: packages/workflow-engine/src/core/definition-version.ts:132

Every stage, in definition order.


workflowId​

readonly workflowId: string

Defined in: packages/workflow-engine/src/core/definition-version.ts:126

The workflow id the snapshot belongs to.