@smplrspace/smplr-loader 2.62.0 → 2.62.1-beta.1

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.
@@ -533,6 +533,7 @@ declare interface Filter {
533
533
 
534
534
  declare const Floorplan: IModelType< {
535
535
  url: IMaybe<ISimpleType<string>>;
536
+ r2Key: IMaybe<ISimpleType<string>>;
536
537
  data: IMaybe<ISimpleType<string>>;
537
538
  r: IOptionalIType<ISimpleType<number>, [undefined]>;
538
539
  t: IOptionalIType<ISimpleType<number>, [undefined]>;
@@ -542,6 +543,7 @@ flipped: IOptionalIType<ISimpleType<boolean>, [undefined]>;
542
543
  isNil(): boolean;
543
544
  } & {
544
545
  setUrl(url: string): void;
546
+ setR2Key(r2Key: string | undefined): void;
545
547
  setData(data: string | undefined): void;
546
548
  moveTo({ r, t }: CanvasCoord): void;
547
549
  setScale(scale: number): void;
@@ -1879,6 +1881,7 @@ renameExtrasKey(oldKey: string, newKey: string): void;
1879
1881
  }, _NotCustomized, _NotCustomized>>;
1880
1882
  floorplan: IOptionalIType<IModelType< {
1881
1883
  url: IMaybe<ISimpleType<string>>;
1884
+ r2Key: IMaybe<ISimpleType<string>>;
1882
1885
  data: IMaybe<ISimpleType<string>>;
1883
1886
  r: IOptionalIType<ISimpleType<number>, [undefined]>;
1884
1887
  t: IOptionalIType<ISimpleType<number>, [undefined]>;
@@ -1888,6 +1891,7 @@ flipped: IOptionalIType<ISimpleType<boolean>, [undefined]>;
1888
1891
  isNil(): boolean;
1889
1892
  } & {
1890
1893
  setUrl(url: string): void;
1894
+ setR2Key(r2Key: string | undefined): void;
1891
1895
  setData(data: string | undefined): void;
1892
1896
  moveTo({ r, t }: CanvasCoord): void;
1893
1897
  setScale(scale: number): void;
@@ -2802,6 +2806,7 @@ export declare class QueryClient {
2802
2806
  project_sid: string;
2803
2807
  }[];
2804
2808
  name: string;
2809
+ thumbhash?: string | null | undefined;
2805
2810
  georeference?: {} | null | undefined;
2806
2811
  definition?: {} | null | undefined;
2807
2812
  assetmap?: {} | null | undefined;
@@ -2809,7 +2814,6 @@ export declare class QueryClient {
2809
2814
  created_at: string;
2810
2815
  modified_at: string;
2811
2816
  embed_image_id?: string | null | undefined;
2812
- thumbhash?: string | null | undefined;
2813
2817
  }>;
2814
2818
  getSpaceFromCache(spaceId: string): {
2815
2819
  sid: string;
@@ -2818,6 +2822,7 @@ export declare class QueryClient {
2818
2822
  project_sid: string;
2819
2823
  }[];
2820
2824
  name: string;
2825
+ thumbhash?: string | null | undefined;
2821
2826
  georeference?: {} | null | undefined;
2822
2827
  definition?: {} | null | undefined;
2823
2828
  assetmap?: {} | null | undefined;
@@ -2825,7 +2830,6 @@ export declare class QueryClient {
2825
2830
  created_at: string;
2826
2831
  modified_at: string;
2827
2832
  embed_image_id?: string | null | undefined;
2828
- thumbhash?: string | null | undefined;
2829
2833
  };
2830
2834
  getAllFurnitureInSpace(spaceId: string): Promise<Furniture[]>;
2831
2835
  getAllFurnitureInSpaceFromCache(spaceId: string): Furniture[];
@@ -4101,6 +4105,7 @@ renameExtrasKey(oldKey: string, newKey: string): void;
4101
4105
  }, _NotCustomized, _NotCustomized>>;
4102
4106
  floorplan: IOptionalIType<IModelType< {
4103
4107
  url: IMaybe<ISimpleType<string>>;
4108
+ r2Key: IMaybe<ISimpleType<string>>;
4104
4109
  data: IMaybe<ISimpleType<string>>;
4105
4110
  r: IOptionalIType<ISimpleType<number>, [undefined]>;
4106
4111
  t: IOptionalIType<ISimpleType<number>, [undefined]>;
@@ -4110,6 +4115,7 @@ flipped: IOptionalIType<ISimpleType<boolean>, [undefined]>;
4110
4115
  isNil(): boolean;
4111
4116
  } & {
4112
4117
  setUrl(url: string): void;
4118
+ setR2Key(r2Key: string | undefined): void;
4113
4119
  setData(data: string | undefined): void;
4114
4120
  moveTo({ r, t }: CanvasCoord): void;
4115
4121
  setScale(scale: number): void;
@@ -4679,7 +4685,7 @@ declare interface Vector3Coord extends Vector2Coord {
4679
4685
  z: number;
4680
4686
  }
4681
4687
 
4682
- export declare const version = "2.62.0";
4688
+ export declare const version = "2.62.1-beta.1";
4683
4689
 
4684
4690
  declare interface ViewerDataLayerRenderState<Definition = DataLayer<UnknownData>> {
4685
4691
  definition: Definition;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smplrspace/smplr-loader",
3
- "version": "2.62.0",
3
+ "version": "2.62.1-beta.1",
4
4
  "description": "NPM package to load a typed Smplr.js from CDN easily",
5
5
  "type": "module",
6
6
  "files": [