IFClite TypeScript API
    Preparing search index...

    Type Alias PropertyExtractor

    PropertyExtractor: (
        entityId: number,
    ) => {
        globalId?: string;
        name: string;
        properties: {
            dataType?: string;
            name: string;
            structure?: Property["structure"];
            type: number;
            unit?: string;
            unitSiOffset?: number;
            unitSiScale?: number;
            value: unknown;
            values?: string[];
        }[];
    }[]

    Function type for on-demand property extraction Allows globalId to be optional to match extractPropertiesOnDemand return type

    Type Declaration

      • (
            entityId: number,
        ): {
            globalId?: string;
            name: string;
            properties: {
                dataType?: string;
                name: string;
                structure?: Property["structure"];
                type: number;
                unit?: string;
                unitSiOffset?: number;
                unitSiScale?: number;
                value: unknown;
                values?: string[];
            }[];
        }[]
      • Parameters

        • entityId: number

        Returns {
            globalId?: string;
            name: string;
            properties: {
                dataType?: string;
                name: string;
                structure?: Property["structure"];
                type: number;
                unit?: string;
                unitSiOffset?: number;
                unitSiScale?: number;
                value: unknown;
                values?: string[];
            }[];
        }[]