Skip to main content

StoredFlowDefinition

@retinue/monorepo


@retinue/monorepo / backend/src / StoredFlowDefinition

Type Alias: StoredFlowDefinition

StoredFlowDefinition = object

Defined in: backend/src/persistence/index.ts:1820

The definition as stored: the shape is the flows layer's, kept opaque here.

unknown rather than an import, deliberately — persistence is a ports layer and importing flows would make the storage contract depend on the interpreter's types. An adapter stores and returns JSON; the flows layer parses it. The same reasoning as SessionState.data.

Properties​

createdAt​

readonly createdAt: string

Defined in: backend/src/persistence/index.ts:1826


createdBy?​

readonly optional createdBy?: PrincipalId

Defined in: backend/src/persistence/index.ts:1827


definition​

readonly definition: unknown

Defined in: backend/src/persistence/index.ts:1825


flowId​

readonly flowId: string

Defined in: backend/src/persistence/index.ts:1821


kind​

readonly kind: "flow" | "team"

Defined in: backend/src/persistence/index.ts:1824


name​

readonly name: string

Defined in: backend/src/persistence/index.ts:1823


version​

readonly version: number

Defined in: backend/src/persistence/index.ts:1822