Skip to main content

FlowMetadata

@webda/compiler


Interface: FlowMetadata

Defined in: compiler/src/definition.ts:613

A flow compiled from a .flow.ts method: a @webda/workflow FlowDefinition plus its @Crons

Properties​

body​

body: any[]

Defined in: compiler/src/definition.ts:634

The statements of the flow (@webda/workflow Stmt[]); a typed operation call holds target: { class, method }, resolved at startup to the configured service


crons?​

optional crons?: object[]

Defined in: compiler/src/definition.ts:642

Launch schedules, from @Cron on the method

cron​

cron: string

description?​

optional description?: string

input?​

optional input?: Record<string, any>


id​

id: string

Defined in: compiler/src/definition.ts:617

Flow id <Class>.<Method>


input​

input: JSONSchema7

Defined in: compiler/src/definition.ts:629

JSON schema of the input


params​

params: string[]

Defined in: compiler/src/definition.ts:625

Names of the flow parameters, in order


source​

source: "code"

Defined in: compiler/src/definition.ts:638

Source


version​

version: string

Defined in: compiler/src/definition.ts:621

Hash of the params and the body