@smplrspace/smplr-loader 2.58.1-beta.16 → 2.58.1-beta.17

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.
@@ -2142,7 +2142,7 @@ declare interface Material {
2142
2142
  }
2143
2143
 
2144
2144
  declare interface MeshSmplrData {
2145
- type: string;
2145
+ type: MeshType;
2146
2146
  isInstanciated?: boolean;
2147
2147
  instances?: Instance_2[] | null;
2148
2148
  modelDimensions?: Dimensions;
@@ -2171,6 +2171,27 @@ declare interface MeshSmplrData {
2171
2171
  panelIndex?: number;
2172
2172
  }
2173
2173
 
2174
+ declare enum MeshType {
2175
+ Wall = "wall",
2176
+ Ground = "ground",
2177
+ Window = "window",
2178
+ WindowFrame = "window-frame",
2179
+ Door = "door",
2180
+ DoorFrame = "door-frame",
2181
+ SlidingDoorPanel = "sliding-door-panel",
2182
+ SlidingDoorPanelFrame = "sliding-door-panel-frame",
2183
+ Railing = "railing",
2184
+ Roof = "roof",
2185
+ Stairs = "stairs",
2186
+ Annotation = "annotation",
2187
+ Compass = "compass",
2188
+ Facade = "facade",
2189
+ Floorplan = "floorplan",
2190
+ Object = "object",
2191
+ ObjectPlaceholder = "object-placeholder",
2192
+ DataLayer = "data-layer"
2193
+ }
2194
+
2174
2195
  export declare type NoData = Record<string, never>;
2175
2196
 
2176
2197
  declare type NominalDimensionsGetter<C> = (args: {
@@ -4643,7 +4664,7 @@ declare interface Vector3Coord extends Vector2Coord {
4643
4664
  z: number;
4644
4665
  }
4645
4666
 
4646
- export declare const version = "2.58.1-beta.16";
4667
+ export declare const version = "2.58.1-beta.17";
4647
4668
 
4648
4669
  declare interface ViewerDataLayerRenderState<Definition = DataLayer<UnknownData>> {
4649
4670
  definition: Definition;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smplrspace/smplr-loader",
3
- "version": "2.58.1-beta.16",
3
+ "version": "2.58.1-beta.17",
4
4
  "description": "NPM package to load a typed Smplr.js from CDN easily",
5
5
  "type": "module",
6
6
  "files": [