FlowDefinitionData
Interface: FlowDefinitionData
Defined in: packages/workflow/src/graph.ts:380
A FlowDefinition as models and configuration hold it
The statements are recursive: describing them in a JSON schema makes the schema generator explode, so they are plain JSON there. validateExpr checks untrusted expressions.
Extends
Omit<FlowDefinition,"body"|"version"|"source">
Properties
body
body:
any[]
Defined in: packages/workflow/src/graph.ts:384
The statements (Stmt[])
id
id:
string
Defined in: packages/workflow/src/graph.ts:343
Operation id <Class>.<Method>
Inherited from
input
input:
object
Defined in: packages/workflow/src/graph.ts:355
JSON schema of the input
Inherited from
options?
optionaloptions?:TaskOptions
Defined in: packages/workflow/src/graph.ts:367
Default options of every task
Inherited from
output?
optionaloutput?:object
Defined in: packages/workflow/src/graph.ts:359
JSON schema of the output
Inherited from
params
params:
string[]
Defined in: packages/workflow/src/graph.ts:351
Names of the flow parameters, in order
Inherited from
source?
optionalsource?:"code"|"stored"
Defined in: packages/workflow/src/graph.ts:393
Where the flow comes from
Default
"code"
version?
optionalversion?:string
Defined in: packages/workflow/src/graph.ts:388
flowVersion of the definition, computed when missing