@smplrspace/smplr-loader 2.37.1-beta.7 → 2.38.0
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/generated/smplr.d.ts +13 -1
- package/package.json +1 -1
|
@@ -1885,6 +1885,13 @@ export declare class QueryClient {
|
|
|
1885
1885
|
}): Promise<{
|
|
1886
1886
|
sid: string;
|
|
1887
1887
|
}>;
|
|
1888
|
+
setSpaceStatus({ spaceId, status }: {
|
|
1889
|
+
spaceId: string;
|
|
1890
|
+
status: 'published' | 'draft' | 'archived';
|
|
1891
|
+
}): Promise<{
|
|
1892
|
+
status: string;
|
|
1893
|
+
}>;
|
|
1894
|
+
deleteSpace(spaceId: string): Promise<void>;
|
|
1888
1895
|
listSpaces(): Promise<{
|
|
1889
1896
|
sid: string;
|
|
1890
1897
|
status: string;
|
|
@@ -1905,6 +1912,7 @@ export declare class QueryClient {
|
|
|
1905
1912
|
created_at: string;
|
|
1906
1913
|
modified_at: string;
|
|
1907
1914
|
embed_image?: string | null | undefined;
|
|
1915
|
+
embed_image_id?: string | null | undefined;
|
|
1908
1916
|
}>;
|
|
1909
1917
|
getSpaceFromCache(spaceId: string): {
|
|
1910
1918
|
sid: string;
|
|
@@ -1917,6 +1925,7 @@ export declare class QueryClient {
|
|
|
1917
1925
|
created_at: string;
|
|
1918
1926
|
modified_at: string;
|
|
1919
1927
|
embed_image?: string | null | undefined;
|
|
1928
|
+
embed_image_id?: string | null | undefined;
|
|
1920
1929
|
};
|
|
1921
1930
|
getAllFurnitureInSpace(spaceId: string): Promise<Furniture[]>;
|
|
1922
1931
|
getAllFurnitureInSpaceFromCache(spaceId: string): Furniture[];
|
|
@@ -2404,6 +2413,9 @@ export declare class Space {
|
|
|
2404
2413
|
takeScreenshotToString(args: TakeScreenshotArgs & {
|
|
2405
2414
|
mode: '3d-scene' | 'full-viewer';
|
|
2406
2415
|
}): Promise<string>;
|
|
2416
|
+
takeScreenshotToFile(args: TakeScreenshotArgs & {
|
|
2417
|
+
mode: '3d-scene' | 'full-viewer';
|
|
2418
|
+
}): Promise<File>;
|
|
2407
2419
|
}
|
|
2408
2420
|
|
|
2409
2421
|
declare const Space_2: IModelType< {
|
|
@@ -3302,7 +3314,7 @@ declare interface Vector3Coord extends Vector2Coord {
|
|
|
3302
3314
|
z: number;
|
|
3303
3315
|
}
|
|
3304
3316
|
|
|
3305
|
-
export declare const version = "2.
|
|
3317
|
+
export declare const version = "2.38.0";
|
|
3306
3318
|
|
|
3307
3319
|
declare interface ViewerRendererHandle {
|
|
3308
3320
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|