interface ApiFunctionMap {
    addData: ((entries) => ExternalAddResult[]);
    addLayereds: ((inputs) => ExternalAddResult[]);
    addSimplePart: ((p) => void);
    addUserDefinedTube: ((tubeId, dimX, name, processId?, importId?) => boolean);
    applyChangesToVertices: ((data) => ApplyResult);
    articleUuids: (() => string[]);
    changeProjectName: ((name) => boolean);
    clearGraph: (() => void);
    computeShippingCosts: ((kilometer, packagings) => undefined | ShippingCosts);
    computeShopPackagings: (() => ShopPackaging[]);
    createBackendBomData: (() => ShopBackendBomData);
    createProjectObject: ((nodeIdKeys) => ProjectObject);
    createShopBackendProjectData: ((config) => ShopBackendProjectData);
    deleteNodes: ((vertexKeys) => boolean);
    prepareUnsafeSession: ((nestorTimeLimit) => void);
    serializeProject: (() => string);
    setInternalPartNumbers: ((articleUuidToShopPartNumber) => void);
    shopConfiguration: (() => ShopConfig);
}

Hierarchy (view full)

Properties

addData: ((entries) => ExternalAddResult[])

Type declaration

addLayereds: ((inputs) => ExternalAddResult[])

Type declaration

addSimplePart: ((p) => void)

Type declaration

addUserDefinedTube: ((tubeId, dimX, name, processId?, importId?) => boolean)

Type declaration

    • (tubeId, dimX, name, processId?, importId?): boolean
    • Parameters

      • tubeId: string
      • dimX: number
      • name: string
      • Optional processId: string
      • Optional importId: string

      Returns boolean

applyChangesToVertices: ((data) => ApplyResult)

Type declaration

articleUuids: (() => string[])

Type declaration

    • (): string[]
    • Returns string[]

changeProjectName: ((name) => boolean)

Type declaration

    • (name): boolean
    • Parameters

      • name: string

      Returns boolean

clearGraph: (() => void)

Type declaration

    • (): void
    • Returns void

computeShippingCosts: ((kilometer, packagings) => undefined | ShippingCosts)

Type declaration

computeShopPackagings: (() => ShopPackaging[])

Type declaration

createBackendBomData: (() => ShopBackendBomData)

Type declaration

createProjectObject: ((nodeIdKeys) => ProjectObject)

Type declaration

createShopBackendProjectData: ((config) => ShopBackendProjectData)

Type declaration

deleteNodes: ((vertexKeys) => boolean)

Type declaration

    • (vertexKeys): boolean
    • Parameters

      • vertexKeys: string[]

      Returns boolean

prepareUnsafeSession: ((nestorTimeLimit) => void)

Type declaration

    • (nestorTimeLimit): void
    • Parameters

      • nestorTimeLimit: number

      Returns void

serializeProject: (() => string)

Type declaration

    • (): string
    • Returns string

setInternalPartNumbers: ((articleUuidToShopPartNumber) => void)

Type declaration

    • (articleUuidToShopPartNumber): void
    • Parameters

      • articleUuidToShopPartNumber: {
            [index: string]: string;
        }
        • [index: string]: string

      Returns void

shopConfiguration: (() => ShopConfig)

Type declaration