@cognite/reveal 4.25.4-dev.20250820 → 4.25.4-dev.20250822

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.
@@ -13,6 +13,6 @@ export declare class GeometryBufferUtils {
13
13
  static setInstanceAttributeDescriptors(instanceAttributes: {
14
14
  name: string;
15
15
  attribute: InterleavedBufferAttribute;
16
- }[], bufferGeometry: BufferGeometry, backingBuffer: ArrayBufferLike): void;
16
+ }[], bufferGeometry: BufferGeometry, backingBuffer: ArrayBuffer): void;
17
17
  static getInstanceAttributesSharedView(geometry: BufferGeometry): TypedArray;
18
18
  }
@@ -2,4 +2,4 @@
2
2
  * Copyright 2021 Cognite AS
3
3
  */
4
4
  import * as THREE from 'three';
5
- export declare function filterPrimitivesOutsideClipBox(attributesByteValues: Uint8Array, elementSize: number, clipBox: THREE.Box3, getBoundsOfElementsCallback: (index: number, elementSize: number, attributeFloatValues: Float32Array, outBox: THREE.Box3) => void): Uint8Array;
5
+ export declare function filterPrimitivesOutsideClipBox(attributesByteValues: Uint8Array, elementSize: number, clipBox: THREE.Box3, getBoundsOfElementsCallback: (index: number, elementSize: number, attributeFloatValues: Float32Array, outBox: THREE.Box3) => void): Uint8Array<ArrayBuffer>;
@@ -31,6 +31,6 @@ export type CoreDmImage360Properties = {
31
31
  takenAt: number;
32
32
  };
33
33
  export type CoreDmImage360AnnotationProperties = {
34
- polygon: number[];
35
- formatVersion: string;
34
+ polygon?: number[];
35
+ formatVersion?: string;
36
36
  };
@@ -23,13 +23,13 @@ export declare class MetricsLogger {
23
23
  * @param nodeCount Number of nodes affected by the transform override
24
24
  * @param matrix Matrix used to override the node transform
25
25
  */
26
- static readonly trackCadNodeTransformOverridden: import("lodash").DebouncedFuncLeading<(nodeCount: number, matrix: THREE.Matrix4) => void>;
26
+ static readonly trackCadNodeTransformOverridden: import("node_modules/@types/lodash").DebouncedFuncLeading<(nodeCount: number, matrix: THREE.Matrix4) => void>;
27
27
  private static trackCadNodeTransformOverriddenImpl;
28
28
  /**
29
29
  * Track camera navigation events. Note that the metric is throttled and will only trigger
30
30
  * once per second.
31
31
  */
32
- static readonly trackCameraNavigation: import("lodash").DebouncedFuncLeading<(eventProps: EventProps) => void>;
32
+ static readonly trackCameraNavigation: import("node_modules/@types/lodash").DebouncedFuncLeading<(eventProps: EventProps) => void>;
33
33
  private static trackCameraNavigationImpl;
34
34
  static trackError(error: Error, eventProps: EventProps): void;
35
35
  }
@@ -3,4 +3,4 @@
3
3
  */
4
4
  import { SerializableStylableObject } from '../../../../data-providers';
5
5
  import type { Vector3, Box3 } from 'three';
6
- export declare function assignPointsToObjectsWithWasm(points: Float32Array, objects: SerializableStylableObject[], pointOffset: Vector3, sectorBoundingBox: Box3): Promise<Uint16Array>;
6
+ export declare function assignPointsToObjectsWithWasm(points: Float32Array, objects: SerializableStylableObject[], pointOffset: Vector3, sectorBoundingBox: Box3): Promise<Uint16Array<ArrayBuffer>>;
@@ -15,4 +15,4 @@ export type WasmSerializedPointCloudObject = {
15
15
  cylinder?: WasmSerializedCylinder | undefined;
16
16
  oriented_box?: WasmSerializedOrientedBox | undefined;
17
17
  };
18
- export declare function assignPoints(input_shapes: Array<WasmSerializedPointCloudObject>, input_points: Float32Array, input_bounding_box: AABB, input_point_offset: Vec3): Promise<Uint16Array>;
18
+ export declare function assignPoints(input_shapes: Array<WasmSerializedPointCloudObject>, input_points: Float32Array, input_bounding_box: AABB, input_point_offset: Vec3): Promise<Uint16Array<ArrayBuffer>>;
@@ -7,5 +7,5 @@
7
7
  * Note that this doesn't include BigInt64Array and BigUint64Array as
8
8
  * the type of these is not number which causes some type interference problems.
9
9
  */
10
- export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array;
10
+ export type TypedArray = Int8Array<ArrayBuffer> | Uint8Array<ArrayBuffer> | Int16Array<ArrayBuffer> | Uint16Array<ArrayBuffer> | Int32Array<ArrayBuffer> | Uint32Array<ArrayBuffer> | Uint8ClampedArray<ArrayBuffer> | Float32Array<ArrayBuffer> | Float64Array<ArrayBuffer>;
11
11
  export type TypedArrayConstructor = Int8ArrayConstructor | Uint8ArrayConstructor | Int16ArrayConstructor | Uint16ArrayConstructor | Int32ArrayConstructor | Uint32ArrayConstructor | Uint8ClampedArrayConstructor | Float32ArrayConstructor | Float64ArrayConstructor;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cognite/reveal",
3
- "version": "4.25.4-dev.20250820",
3
+ "version": "4.25.4-dev.20250822",
4
4
  "description": "WebGL based 3D viewer for CAD and point clouds processed in Cognite Data Fusion.",
5
5
  "homepage": "https://github.com/cognitedata/reveal/tree/master/viewer",
6
6
  "repository": {
@@ -129,7 +129,7 @@
129
129
  "raw-loader": "^4.0.2",
130
130
  "remove-files-webpack-plugin": "^1.5.0",
131
131
  "resize-observer-polyfill": "^1.5.1",
132
- "shx": "^0.3.4",
132
+ "shx": "^0.4.0",
133
133
  "stats.js": "^0.17.0",
134
134
  "three": "0.176.0",
135
135
  "ts-jest": "29.1.2",
@@ -156,7 +156,7 @@
156
156
  "files": [
157
157
  "dist"
158
158
  ],
159
- "packageManager": "yarn@4.5.2",
159
+ "packageManager": "yarn@4.9.2",
160
160
  "resolutions": {
161
161
  "binary-install/axios": "^0.30.0"
162
162
  }