@camunda8/sdk
    Preparing search index...

    Variable DtoConst

    Dto: {
        BigIntValue: (target: any, propertKey: string | symbol) => void;
        BigIntValueArray: (target: any, propertKey: string | symbol) => void;
        ChildDto: (
            childClass: any,
        ) => (target: any, propertyKey: string | symbol) => void;
        createDtoInstance: <T>(dtoClass: new () => T, dtoData: T) => T;
        Int64String: (target: any, propertyKey: string | symbol) => void;
        Int64StringArray: (target: any, propertyKey: string | symbol) => void;
        LosslessDto: typeof LosslessDto;
    } = ...

    These are decorators and infrastructure that are used to create Dtos for the Camunda 8 SDK. A LosslessDto is used to represent data that is sent and received by the SDK - including job variables and headers. They enable the lossless transformation of int64 number values between the SDK and the Camunda 8 API — representing the int64 numbers as either string or bigint type in the SDK.

    See the LosslessDto for more information.

    Type declaration

    • BigIntValue: (target: any, propertKey: string | symbol) => void
    • BigIntValueArray: (target: any, propertKey: string | symbol) => void
    • ChildDto: (childClass: any) => (target: any, propertyKey: string | symbol) => void
    • createDtoInstance: <T>(dtoClass: new () => T, dtoData: T) => T
    • Int64String: (target: any, propertyKey: string | symbol) => void
    • Int64StringArray: (target: any, propertyKey: string | symbol) => void
    • LosslessDto: typeof LosslessDto