Skip to content

SqlFlowDefinitionsStore

  • FlowDefinitionsStore
new SqlFlowDefinitionsStore(sql): SqlFlowDefinitionsStore;
Parameter Type

sql

SqlExecutor

SqlFlowDefinitionsStore

archive(name): Promise<void>;
Parameter Type

name

string

Promise<void>

FlowDefinitionsStore.archive

createVersion(def, options?): Promise<FlowDefinitionVersion>;
Parameter Type

def

FlowDefinition

options?

CreateVersionOptions

Promise<FlowDefinitionVersion>

FlowDefinitionsStore.createVersion

getActive(name): Promise<FlowDefinitionVersion | null>;
Parameter Type

name

string

Promise<FlowDefinitionVersion | null>

FlowDefinitionsStore.getActive

getVersion(versionId): Promise<FlowDefinitionVersion | null>;
Parameter Type

versionId

string

Promise<FlowDefinitionVersion | null>

FlowDefinitionsStore.getVersion

list(filter?): Promise<FlowDefinitionVersion[]>;
Parameter Type

filter?

FlowDefinitionListFilter

Promise<FlowDefinitionVersion[]>

FlowDefinitionsStore.list

setActive(name, versionId): Promise<FlowDefinitionVersion>;
Parameter Type

name

string

versionId

string

Promise<FlowDefinitionVersion>

FlowDefinitionsStore.setActive