web-ifc-three
Version:
This library is the implementation of [web-ifc](https://github.com/tomvandig/web-ifc) for [THREE.js](https://github.com/mrdoob/three.js/). This is the official IFCLoader of Three.js.
15 lines (14 loc) • 401 B
TypeScript
export declare enum DBOperation {
transferIfcModel = 0,
transferIndividualItems = 1
}
export declare class IndexedDatabase {
save(item: any, id: DBOperation): Promise<any>;
load(id: number): Promise<any>;
private createSchema;
private saveItem;
private loadItem;
private static getDBItems;
private static openOrCreateDB;
private static closeDB;
}