interface Manager {
    changeActiveById: ((id, isActive) => string);
    changeActiveByNameVersion: ((name, version, isActive) => string);
    createFlow: ((record) => FlowCompileInfo);
    deleteById: ((id) => void);
    deleteByNameVersion: ((name, version) => void);
    getById: ((id) => FlowModel);
    getByNameVersion: ((name, version) => FlowModel);
    updateById: ((id, record, option?) => FlowCompileInfo);
    updateByNameVersion: ((name, version, record, option?) => FlowCompileInfo);
    updateExtRefById: ((id, val) => string);
    updateExtRefByNameVersion: ((name, version, val) => string);
}

Properties

changeActiveById: ((id, isActive) => string)

change flow active by id

Type declaration

    • (id, isActive): string
    • Parameters

      • id: string

        flow id

      • isActive: boolean

      Returns string

Returns

id flow id

changeActiveByNameVersion: ((name, version, isActive) => string)

change flow active by name version

Type declaration

    • (name, version, isActive): string
    • Parameters

      • name: string

        flow name

      • version: string

        flow version

      • isActive: boolean

      Returns string

Returns

id flow id

createFlow: ((record) => FlowCompileInfo)

create flow

Type declaration

Returns

FlowCompileInfo

deleteById: ((id) => void)

delete flow by id

Type declaration

    • (id): void
    • Parameters

      • id: string

        flow id

      Returns void

deleteByNameVersion: ((name, version) => void)

delete flow by name version

Type declaration

    • (name, version): void
    • Parameters

      • name: string

        flow name

      • version: string

        flow version

      Returns void

getById: ((id) => FlowModel)

get flow by id

Type declaration

getByNameVersion: ((name, version) => FlowModel)

get flow by name version

Type declaration

    • (name, version): FlowModel
    • Parameters

      • name: string

        flow name

      • version: string

        flow version

      Returns FlowModel

updateById: ((id, record, option?) => FlowCompileInfo)

update flow by id

Type declaration

Returns

FlowCompileInfo

updateByNameVersion: ((name, version, record, option?) => FlowCompileInfo)

update flow by name version

Type declaration

Returns

FlowCompileInfo

updateExtRefById: ((id, val) => string)

update extRef by id

Type declaration

    • (id, val): string
    • Parameters

      • id: string

        flow id

      • val: string

      Returns string

Returns

id flow id

updateExtRefByNameVersion: ((name, version, val) => string)

update extRef by name version

Type declaration

    • (name, version, val): string
    • Parameters

      • name: string

        flow name

      • version: string

        flow version

      • val: string

      Returns string

Returns

id flow id