@smplrspace/smplr-loader 2.50.1-beta.1 → 2.50.1-beta.10

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.
@@ -1839,6 +1839,7 @@ export declare interface MapViewerOptions {
1839
1839
  cameraPlacement?: PartialMapCameraPlacement;
1840
1840
  protectScroll?: boolean;
1841
1841
  map3dBuildings?: boolean;
1842
+ enableSatelliteButton?: boolean;
1842
1843
  }
1843
1844
 
1844
1845
  declare interface Material {
@@ -2275,11 +2276,12 @@ export declare class QueryClient {
2275
2276
  private checkOptions;
2276
2277
  checkApiConnection(): Promise<string>;
2277
2278
  getApiVersion(): Promise<string>;
2278
- createSpace({ organizationId, name, notes, tags, }: {
2279
+ createSpace({ organizationId, name, notes, tags, addToProjectId, }: {
2279
2280
  organizationId?: string;
2280
2281
  name: string;
2281
2282
  notes?: string;
2282
2283
  tags?: string[];
2284
+ addToProjectId?: string;
2283
2285
  }): Promise<{
2284
2286
  sid: string;
2285
2287
  }>;
@@ -2296,6 +2298,9 @@ export declare class QueryClient {
2296
2298
  }): Promise<{
2297
2299
  sid: string;
2298
2300
  status: string;
2301
+ projects: {
2302
+ project_sid: string;
2303
+ }[];
2299
2304
  name: string;
2300
2305
  created_at: string;
2301
2306
  deprecated_id: string;
@@ -2305,6 +2310,9 @@ export declare class QueryClient {
2305
2310
  }): Promise<{
2306
2311
  sid: string;
2307
2312
  status: string;
2313
+ projects: {
2314
+ project_sid: string;
2315
+ }[];
2308
2316
  name: string;
2309
2317
  georeference?: {} | null | undefined;
2310
2318
  definition?: {} | null | undefined;
@@ -2318,6 +2326,9 @@ export declare class QueryClient {
2318
2326
  getSpaceFromCache(spaceId: string): {
2319
2327
  sid: string;
2320
2328
  status: string;
2329
+ projects: {
2330
+ project_sid: string;
2331
+ }[];
2321
2332
  name: string;
2322
2333
  georeference?: {} | null | undefined;
2323
2334
  definition?: {} | null | undefined;
@@ -3540,6 +3551,13 @@ railingHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
3540
3551
  stairsStepSize: IOptionalIType<ISimpleType<number>, [undefined]>;
3541
3552
  annotationHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
3542
3553
  annotationSize: IOptionalIType<ISimpleType<number>, [undefined]>;
3554
+ wallLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3555
+ groundLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3556
+ doorLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3557
+ windowLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3558
+ stairsLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3559
+ objectLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3560
+ annotationLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3543
3561
  }, {
3544
3562
  setUnit(unit: string): void;
3545
3563
  setGroundThickness(groundThickness: number): void;
@@ -3558,6 +3576,13 @@ setRailingHeight(railingHeight: number): void;
3558
3576
  setStairsStepSize(stairsStepSize: number): void;
3559
3577
  setAnnotationHeight(annotationHeight: number): void;
3560
3578
  setAnnotationSize(annotationSize: number): void;
3579
+ setWallLayers(layers: string[]): void;
3580
+ setGroundLayers(layers: string[]): void;
3581
+ setDoorLayers(layers: string[]): void;
3582
+ setWindowLayers(layers: string[]): void;
3583
+ setStairsLayers(layers: string[]): void;
3584
+ setObjectLayers(layers: string[]): void;
3585
+ setAnnotationLayers(layers: string[]): void;
3561
3586
  }, _NotCustomized, _NotCustomized>, [undefined]>;
3562
3587
  }, {
3563
3588
  readonly json: JsonSpace;
@@ -3609,6 +3634,13 @@ railingHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
3609
3634
  stairsStepSize: IOptionalIType<ISimpleType<number>, [undefined]>;
3610
3635
  annotationHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
3611
3636
  annotationSize: IOptionalIType<ISimpleType<number>, [undefined]>;
3637
+ wallLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3638
+ groundLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3639
+ doorLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3640
+ windowLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3641
+ stairsLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3642
+ objectLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3643
+ annotationLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3612
3644
  }, {
3613
3645
  setUnit(unit: string): void;
3614
3646
  setGroundThickness(groundThickness: number): void;
@@ -3627,6 +3659,13 @@ setRailingHeight(railingHeight: number): void;
3627
3659
  setStairsStepSize(stairsStepSize: number): void;
3628
3660
  setAnnotationHeight(annotationHeight: number): void;
3629
3661
  setAnnotationSize(annotationSize: number): void;
3662
+ setWallLayers(layers: string[]): void;
3663
+ setGroundLayers(layers: string[]): void;
3664
+ setDoorLayers(layers: string[]): void;
3665
+ setWindowLayers(layers: string[]): void;
3666
+ setStairsLayers(layers: string[]): void;
3667
+ setObjectLayers(layers: string[]): void;
3668
+ setAnnotationLayers(layers: string[]): void;
3630
3669
  }, _NotCustomized, _NotCustomized>;
3631
3670
 
3632
3671
  export declare type SpaceNoData = NoData & {
@@ -3926,7 +3965,7 @@ declare interface Vector3Coord extends Vector2Coord {
3926
3965
  z: number;
3927
3966
  }
3928
3967
 
3929
- export declare const version = "2.50.1-beta.1";
3968
+ export declare const version = "2.50.1-beta.10";
3930
3969
 
3931
3970
  declare interface ViewerRendererHandle {
3932
3971
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smplrspace/smplr-loader",
3
- "version": "2.50.1-beta.1",
3
+ "version": "2.50.1-beta.10",
4
4
  "description": "NPM package to load a typed Smplr.js from CDN easily",
5
5
  "type": "module",
6
6
  "files": [