@smplrspace/smplr-loader 2.4.1-beta.9 → 2.5.2-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.
- package/dist/generated/smplr.d.ts +27 -1
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
|
@@ -7,6 +7,11 @@ declare interface BaseDataLayer<T, D extends UnknownData> {
|
|
|
7
7
|
|
|
8
8
|
declare type CameraMode = '2d' | '3d'
|
|
9
9
|
|
|
10
|
+
declare interface ClientOptions {
|
|
11
|
+
organizationId: string;
|
|
12
|
+
clientToken: string;
|
|
13
|
+
}
|
|
14
|
+
|
|
10
15
|
declare type DataLayer<D extends UnknownData = NoData> = PointDataLayer<D> | IconDataLayer<D> | PolygonDataLayer<D> | PolylineDataLayer<D> | FurnitureDataLayer<D>;
|
|
11
16
|
|
|
12
17
|
declare interface DeprecatedPreviewProps {
|
|
@@ -218,6 +223,27 @@ declare interface PolylineDataLayer<D extends UnknownData = NoData> extends Base
|
|
|
218
223
|
reshapeBoxColor?: string;
|
|
219
224
|
}
|
|
220
225
|
|
|
226
|
+
export declare class QueryClient {
|
|
227
|
+
private options;
|
|
228
|
+
private client;
|
|
229
|
+
constructor(options: ClientOptions);
|
|
230
|
+
private checkOptions;
|
|
231
|
+
checkApiConnection(): Promise<string>;
|
|
232
|
+
getApiVersion(): Promise<string>;
|
|
233
|
+
getSpace(id: string): Promise<{
|
|
234
|
+
status: string;
|
|
235
|
+
name: string;
|
|
236
|
+
id: string;
|
|
237
|
+
created_at: string;
|
|
238
|
+
modified_at: string;
|
|
239
|
+
definition?: {} | null | undefined;
|
|
240
|
+
embed_image?: string | null | undefined;
|
|
241
|
+
short_code?: string | null | undefined;
|
|
242
|
+
public_link_enabled: boolean;
|
|
243
|
+
assetmap?: {} | null | undefined;
|
|
244
|
+
}>;
|
|
245
|
+
}
|
|
246
|
+
|
|
221
247
|
declare interface RenderOptions {
|
|
222
248
|
compass?: boolean
|
|
223
249
|
annotations?: boolean
|
|
@@ -292,7 +318,7 @@ declare interface Vector3Coord extends Vector2Coord {
|
|
|
292
318
|
z: number;
|
|
293
319
|
}
|
|
294
320
|
|
|
295
|
-
export declare const version = "2.
|
|
321
|
+
export declare const version = "2.5.2-beta.1";
|
|
296
322
|
|
|
297
323
|
declare interface ViewerOptions {
|
|
298
324
|
mode?: CameraMode;
|
package/dist/types.d.ts
CHANGED