bimplus-websdk 1.0.37 → 1.0.38
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/package.json +1 -1
- package/types/bimplus-websdk.d.ts +19 -4
package/package.json
CHANGED
|
@@ -281,7 +281,7 @@ declare module 'bimplus-websdk' {
|
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
export interface Slide {
|
|
284
|
-
scene: Scene;
|
|
284
|
+
scene: Scene | SceneResponse;
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
export interface Scene {
|
|
@@ -292,15 +292,25 @@ declare module 'bimplus-websdk' {
|
|
|
292
292
|
objects?: SceneObjects;
|
|
293
293
|
rotationCenter?: number[];
|
|
294
294
|
version?: number[];
|
|
295
|
-
topology?:
|
|
295
|
+
topology?: Topology[];
|
|
296
296
|
layers?: SelectionObjectLayer[];
|
|
297
297
|
[key: string]: unknown;
|
|
298
298
|
}
|
|
299
299
|
|
|
300
|
+
export type SceneResponse = string;
|
|
301
|
+
|
|
300
302
|
export interface Camera {
|
|
301
303
|
[key: string]: unknown;
|
|
302
304
|
}
|
|
303
305
|
|
|
306
|
+
export interface Topology {
|
|
307
|
+
id: string;
|
|
308
|
+
divisionTopologyId: string;
|
|
309
|
+
visible: boolean;
|
|
310
|
+
revision: number;
|
|
311
|
+
[key: string]: unknown;
|
|
312
|
+
}
|
|
313
|
+
|
|
304
314
|
export interface SceneObjects {
|
|
305
315
|
selected?: string[];
|
|
306
316
|
coloring?: Coloring;
|
|
@@ -328,6 +338,7 @@ declare module 'bimplus-websdk' {
|
|
|
328
338
|
postAttachment(objectId: string, data: FormData, uploadProgress?: () => void, documentFolderId?: string): Promise<PostAttachmentResponse>;
|
|
329
339
|
getAttachments(objectId: string): Promise<AttachmentResponse>;
|
|
330
340
|
put(objectId: string, data: string, projectId?: string): Promise<ObjectData>;
|
|
341
|
+
getInternal(objectId: string, revision?: number): Promise<ObjectData>;
|
|
331
342
|
}
|
|
332
343
|
|
|
333
344
|
export class Attachments {
|
|
@@ -353,6 +364,9 @@ declare module 'bimplus-websdk' {
|
|
|
353
364
|
opaque?: boolean;
|
|
354
365
|
opacity?: number;
|
|
355
366
|
valid?: boolean;
|
|
367
|
+
divisionTopologyId?: string;
|
|
368
|
+
revisions?: Array<number>;
|
|
369
|
+
[key: string]: unknown;
|
|
356
370
|
}
|
|
357
371
|
|
|
358
372
|
export interface SelectionObjectTopology {
|
|
@@ -362,7 +376,7 @@ declare module 'bimplus-websdk' {
|
|
|
362
376
|
|
|
363
377
|
export interface SelectionObjectTopologyStructure {
|
|
364
378
|
layers: SelectionObjectLayer[];
|
|
365
|
-
structures:
|
|
379
|
+
structures: Topology[];
|
|
366
380
|
}
|
|
367
381
|
|
|
368
382
|
export interface SelectionObject {
|
|
@@ -385,7 +399,8 @@ declare module 'bimplus-websdk' {
|
|
|
385
399
|
name: string;
|
|
386
400
|
projectId: string;
|
|
387
401
|
singleUse: boolean;
|
|
388
|
-
selection: SelectionObject
|
|
402
|
+
selection: SelectionObject;
|
|
403
|
+
[key: string]: unknown;
|
|
389
404
|
}
|
|
390
405
|
|
|
391
406
|
export class ExportService {
|