@pilotdev/pilot-bim-dataprovider 24.12.0 → 24.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/lib/src/file-system/IFileSystemCache.d.ts +4 -1
  2. package/lib/src/file-system/IFileSystemCache.js +2 -2
  3. package/lib/src/file-system/IFileSystemCache.js.map +1 -1
  4. package/lib/src/file-system/OPFS.d.ts +1 -1
  5. package/lib/src/file-system/OPFS.js +1 -0
  6. package/lib/src/file-system/OPFS.js.map +1 -1
  7. package/lib/src/model/BimDataPart.d.ts +2 -0
  8. package/lib/src/model/BimDataPart.js +38 -6
  9. package/lib/src/model/BimDataPart.js.map +1 -1
  10. package/lib/src/model/BimDataProvider.js +3 -5
  11. package/lib/src/model/BimDataProvider.js.map +1 -1
  12. package/lib/src/model/BimDataTessellation.d.ts +1 -0
  13. package/lib/src/model/BimDataTessellation.js.map +1 -1
  14. package/lib/src/utils/ViewerTools.d.ts +8 -4
  15. package/lib/src/utils/ViewerTools.js +65 -40
  16. package/lib/src/utils/ViewerTools.js.map +1 -1
  17. package/lib/src/utils/WasmTools.d.ts +0 -1
  18. package/lib/src/utils/WasmTools.js +10 -16
  19. package/lib/src/utils/WasmTools.js.map +1 -1
  20. package/lib/src/wasm/pilot_bim_dataprovider.d.ts +2 -1
  21. package/lib/src/wasm/pilot_bim_dataprovider.js +1 -1
  22. package/lib/src/wasm/wasm.worker-node.cjs +1 -0
  23. package/lib/src/wasm/wasm.worker-web.cjs +1 -0
  24. package/lib/src/wasm/wasm.worker.d.ts +12 -13
  25. package/lib/src/wasm/wasm.worker.js +32 -31
  26. package/lib/src/wasm/wasm.worker.js.map +1 -1
  27. package/lib/src/wasm/worker-node.d.ts +3 -0
  28. package/lib/src/wasm/worker-node.js +38 -0
  29. package/lib/src/wasm/worker-node.js.map +1 -0
  30. package/lib/src/wasm/worker-web.d.ts +2 -0
  31. package/lib/src/wasm/worker-web.js +15 -0
  32. package/lib/src/wasm/worker-web.js.map +1 -0
  33. package/lib/src/wasm/worker.d.ts +10 -0
  34. package/lib/src/wasm/worker.js +26 -0
  35. package/lib/src/wasm/worker.js.map +1 -0
  36. package/package.json +9 -3
@@ -1,6 +1,6 @@
1
1
  /// <reference types="emscripten" />
2
2
  export interface IWasmBimModule extends EmscriptenModule {
3
- get FS(): typeof FS;
3
+ get FS(): FS;
4
4
  getAllTessellations(filename: string): VectorOf<WasmTessellation>;
5
5
  getAllNodes(filename: string): VectorOf<WasmIfcNode>;
6
6
  getAllAttributes(filename: string): VectorOf<WasmElementPropertySet>;
@@ -283,6 +283,7 @@ export interface FS {
283
283
  writeFile(path: string, data: string | ArrayBufferView, opts?: { flags?: string | undefined }): void;
284
284
  createDataFile(parent: string | FSNode, name: string, data: ArrayBufferView, canRead: boolean, canWrite: boolean, canOwn: boolean): FSNode;
285
285
 
286
+ mkdir(path: string, mode?: number): void;
286
287
  createNode(parent: string | FSNode, name: string, mode: number, dev: number): FSNode;
287
288
  createStream(stream: FSStream, fd: number): FSStream;
288
289
  }