MemoryFlowDefinitionsStore
Immutable versioned catalog of flow definitions.
Publishing is two steps: createVersion inserts a row and does not
change the active pointer; setActive(name, version.versionId) is what
publishes. status and digest are server-computed — callers cannot
supply them. authorId is stored metadata, never an authorization check.
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new MemoryFlowDefinitionsStore(): MemoryFlowDefinitionsStore;Returns
Section titled “Returns”MemoryFlowDefinitionsStore
Methods
Section titled “Methods”archive()
Section titled “archive()”archive(name): Promise<void>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”Promise<void>
Implementation of
Section titled “Implementation of”createVersion()
Section titled “createVersion()”createVersion(def, options?): Promise<FlowDefinitionVersion>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
Returns
Section titled “Returns”Promise<FlowDefinitionVersion>
Implementation of
Section titled “Implementation of”FlowDefinitionsStore.createVersion
getActive()
Section titled “getActive()”getActive(name): Promise< | FlowDefinitionVersion| null>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”Promise<
| FlowDefinitionVersion
| null>
Implementation of
Section titled “Implementation of”FlowDefinitionsStore.getActive
getVersion()
Section titled “getVersion()”getVersion(versionId): Promise< | FlowDefinitionVersion| null>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”Promise<
| FlowDefinitionVersion
| null>
Implementation of
Section titled “Implementation of”FlowDefinitionsStore.getVersion
list()
Section titled “list()”list(filter?): Promise<FlowDefinitionVersion[]>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
Returns
Section titled “Returns”Promise<FlowDefinitionVersion[]>
Implementation of
Section titled “Implementation of”setActive()
Section titled “setActive()”setActive(name, versionId): Promise<FlowDefinitionVersion>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
|
Returns
Section titled “Returns”Promise<FlowDefinitionVersion>