StoredFlowDefinition
@forge/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
readonlycreatedAt:string
Defined in: backend/src/persistence/index.ts:1826
createdBy?
readonlyoptionalcreatedBy?:PrincipalId
Defined in: backend/src/persistence/index.ts:1827
definition
readonlydefinition:unknown
Defined in: backend/src/persistence/index.ts:1825
flowId
readonlyflowId:string
Defined in: backend/src/persistence/index.ts:1821
kind
readonlykind:"flow"|"team"
Defined in: backend/src/persistence/index.ts:1824
name
readonlyname:string
Defined in: backend/src/persistence/index.ts:1823
version
readonlyversion:number
Defined in: backend/src/persistence/index.ts:1822