acebase/dist/types/node-value-types.d.ts
Ewout Stortenbeker ece3bc3e87 chore: build
2022-11-21 18:05:59 +01:00

15 lines
No EOL
565 B
TypeScript

export declare const VALUE_TYPES: Readonly<{
OBJECT: 1;
ARRAY: 2;
NUMBER: 3;
BOOLEAN: 4;
STRING: 5;
BIGINT: 7;
DATETIME: 6;
BINARY: 8;
REFERENCE: 9;
}>;
export declare function getValueTypeName(valueType: number): "object" | "binary" | "array" | "boolean" | "date" | "number" | "reference" | "string" | "bigint";
export declare function getNodeValueType(value: unknown): 1 | 2 | 5 | 7 | 8 | 9;
export declare function getValueType(value: unknown): 1 | 2 | 3 | 4 | 5 | 7 | 6 | 8 | 9;
//# sourceMappingURL=node-value-types.d.ts.map