@speckle/objectsender
Version:
Simple API helper to serialize and send objects to the server.
12 lines (11 loc) • 517 B
TypeScript
export declare function Detach(): {
(target: Function): void;
(target: Object, propertyKey: string | symbol): void;
};
export declare function Chunkable(size: number): {
(target: Function): void;
(target: Object, propertyKey: string | symbol): void;
};
export declare function isDetached(target: object, propertyKey: string): boolean;
export declare function isChunkable(target: object, propertyKey: string): boolean;
export declare function getChunkSize(target: object, propertyKey: string): number;