@thatopen/services 0.30.0 → 0.31.2

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.
package/dist/cli.js CHANGED
@@ -7437,6 +7437,10 @@ const DOCUMENT_TYPES = {
7437
7437
  bim: { label: "BIM model", icon: "tabler:building" },
7438
7438
  drawings: { label: "Drawings", icon: "tabler:layout-board" },
7439
7439
  reality: { label: "Reality capture", icon: "tabler:3d-cube-sphere" },
7440
+ // 🔴 The project's coordination record (Antonio, 22-10: «los topics sean su propio documento… no pertenecen a
7441
+ // ningún modelo, pueden hablar de varios a la vez»): its topics, as a BCF, with a history of their own. Named as a thing,
7442
+ // as a plan set is («Coordination set», Antonio 22-10).
7443
+ coordination: { label: "Coordination set", icon: "tabler:messages" },
7440
7444
  generic: { label: "Generic", icon: "tabler:file" }
7441
7445
  };
7442
7446
  const TYPE_OF_FORMAT = {
@@ -7444,6 +7448,7 @@ const TYPE_OF_FORMAT = {
7444
7448
  rfa: "bim",
7445
7449
  ifc: "bim",
7446
7450
  frag: "bim",
7451
+ tostrm: "bim",
7447
7452
  "3dm": "bim",
7448
7453
  nwd: "bim",
7449
7454
  dgn: "bim",
@@ -7456,7 +7461,9 @@ const TYPE_OF_FORMAT = {
7456
7461
  potree: "reality",
7457
7462
  splat: "reality",
7458
7463
  spz: "reality",
7459
- ksplat: "reality"
7464
+ ksplat: "reality",
7465
+ bcf: "coordination",
7466
+ bcfzip: "coordination"
7460
7467
  };
7461
7468
  function documentTypeOf(descriptor) {
7462
7469
  if (descriptor.type && descriptor.type in DOCUMENT_TYPES) {
@@ -9821,29 +9828,6 @@ return main;`);
9821
9828
  { ...expiresIn != null && { query: { expiresIn } } }
9822
9829
  );
9823
9830
  }
9824
- /**
9825
- * A short-lived presigned URL for a file's own content (one version of it),
9826
- * fetched straight from storage with HTTP `Range` requests: how a streamed
9827
- * model's bundle is read by pieces. The same as
9828
- * {@link getHiddenFileSignedUrl}, for a regular file. Storage serves ONE
9829
- * range per request: ask several pieces in parallel, not in one request.
9830
- *
9831
- * @param fileId - The file's item id.
9832
- * @param options - `versionTag` (default: the latest), `expiresIn` in
9833
- * seconds (60–3600, default 900).
9834
- * @returns `{ url, expiresAt }`.
9835
- */
9836
- async getFileSignedUrl(fileId, options) {
9837
- const query = {
9838
- ...options?.versionTag && { versionTag: options.versionTag },
9839
- ...options?.expiresIn != null && { expiresIn: options.expiresIn }
9840
- };
9841
- return await this.#requestApi(
9842
- "GET",
9843
- `${ITEM_PATH}/${encodeURIComponent(fileId)}/signed-url`,
9844
- { ...Object.keys(query).length > 0 && { query } }
9845
- );
9846
- }
9847
9831
  /**
9848
9832
  * Batch variant of {@link getHiddenFileSignedUrl}. Mints presigned URLs for
9849
9833
  * many hidden files in one request.