@smplrspace/smplr-loader 2.37.1-beta.9 → 2.38.1-beta.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 +14 -3
- package/package.json +1 -1
|
@@ -784,11 +784,15 @@ declare interface IconLegend extends Pick<IconsSwatchesProps, 'icons'> {
|
|
|
784
784
|
type: 'icons';
|
|
785
785
|
}
|
|
786
786
|
|
|
787
|
-
export declare
|
|
787
|
+
export declare type IconSource = ({
|
|
788
788
|
url: string;
|
|
789
|
+
} | {
|
|
790
|
+
blob: Blob;
|
|
791
|
+
blobIdOrHash: string;
|
|
792
|
+
}) & {
|
|
789
793
|
width: number;
|
|
790
794
|
height: number;
|
|
791
|
-
}
|
|
795
|
+
};
|
|
792
796
|
|
|
793
797
|
declare interface IconsSwatchesProps {
|
|
794
798
|
icons: {
|
|
@@ -1885,6 +1889,13 @@ export declare class QueryClient {
|
|
|
1885
1889
|
}): Promise<{
|
|
1886
1890
|
sid: string;
|
|
1887
1891
|
}>;
|
|
1892
|
+
setSpaceStatus({ spaceId, status }: {
|
|
1893
|
+
spaceId: string;
|
|
1894
|
+
status: 'published' | 'draft' | 'archived';
|
|
1895
|
+
}): Promise<{
|
|
1896
|
+
status: string;
|
|
1897
|
+
}>;
|
|
1898
|
+
deleteSpace(spaceId: string): Promise<void>;
|
|
1888
1899
|
listSpaces(): Promise<{
|
|
1889
1900
|
sid: string;
|
|
1890
1901
|
status: string;
|
|
@@ -3307,7 +3318,7 @@ declare interface Vector3Coord extends Vector2Coord {
|
|
|
3307
3318
|
z: number;
|
|
3308
3319
|
}
|
|
3309
3320
|
|
|
3310
|
-
export declare const version = "2.
|
|
3321
|
+
export declare const version = "2.38.1-beta.0";
|
|
3311
3322
|
|
|
3312
3323
|
declare interface ViewerRendererHandle {
|
|
3313
3324
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|