@vertexvis/stream-api 0.10.2-canary.12 → 0.10.2-canary.16
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/bundle.cjs.js +51 -1
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +51 -1
- package/dist/bundle.esm.js.map +1 -1
- package/package.json +5 -5
package/dist/bundle.cjs.js
CHANGED
|
@@ -3182,6 +3182,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3182
3182
|
* @property {vertexvis.protobuf.stream.ICamera|null} [camera] SceneAttributes camera
|
|
3183
3183
|
* @property {vertexvis.protobuf.core.IBoundingBox3f|null} [visibleBoundingBox] SceneAttributes visibleBoundingBox
|
|
3184
3184
|
* @property {vertexvis.protobuf.stream.ICrossSectioning|null} [crossSectioning] SceneAttributes crossSectioning
|
|
3185
|
+
* @property {boolean|null} [hasChanged] SceneAttributes hasChanged
|
|
3185
3186
|
*/
|
|
3186
3187
|
|
|
3187
3188
|
/**
|
|
@@ -3223,6 +3224,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3223
3224
|
*/
|
|
3224
3225
|
SceneAttributes.prototype.crossSectioning = null;
|
|
3225
3226
|
|
|
3227
|
+
/**
|
|
3228
|
+
* SceneAttributes hasChanged.
|
|
3229
|
+
* @member {boolean} hasChanged
|
|
3230
|
+
* @memberof vertexvis.protobuf.stream.SceneAttributes
|
|
3231
|
+
* @instance
|
|
3232
|
+
*/
|
|
3233
|
+
SceneAttributes.prototype.hasChanged = false;
|
|
3234
|
+
|
|
3226
3235
|
/**
|
|
3227
3236
|
* Creates a new SceneAttributes instance using the specified properties.
|
|
3228
3237
|
* @function create
|
|
@@ -3253,6 +3262,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3253
3262
|
$root.vertexvis.protobuf.core.BoundingBox3f.encode(message.visibleBoundingBox, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
3254
3263
|
if (message.crossSectioning != null && Object.hasOwnProperty.call(message, "crossSectioning"))
|
|
3255
3264
|
$root.vertexvis.protobuf.stream.CrossSectioning.encode(message.crossSectioning, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
3265
|
+
if (message.hasChanged != null && Object.hasOwnProperty.call(message, "hasChanged"))
|
|
3266
|
+
writer.uint32(/* id 4, wireType 0 =*/32).bool(message.hasChanged);
|
|
3256
3267
|
return writer;
|
|
3257
3268
|
};
|
|
3258
3269
|
|
|
@@ -3296,6 +3307,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3296
3307
|
case 3:
|
|
3297
3308
|
message.crossSectioning = $root.vertexvis.protobuf.stream.CrossSectioning.decode(reader, reader.uint32());
|
|
3298
3309
|
break;
|
|
3310
|
+
case 4:
|
|
3311
|
+
message.hasChanged = reader.bool();
|
|
3312
|
+
break;
|
|
3299
3313
|
default:
|
|
3300
3314
|
reader.skipType(tag & 7);
|
|
3301
3315
|
break;
|
|
@@ -3346,6 +3360,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3346
3360
|
if (error)
|
|
3347
3361
|
return "crossSectioning." + error;
|
|
3348
3362
|
}
|
|
3363
|
+
if (message.hasChanged != null && message.hasOwnProperty("hasChanged"))
|
|
3364
|
+
if (typeof message.hasChanged !== "boolean")
|
|
3365
|
+
return "hasChanged: boolean expected";
|
|
3349
3366
|
return null;
|
|
3350
3367
|
};
|
|
3351
3368
|
|
|
@@ -3376,6 +3393,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3376
3393
|
throw TypeError(".vertexvis.protobuf.stream.SceneAttributes.crossSectioning: object expected");
|
|
3377
3394
|
message.crossSectioning = $root.vertexvis.protobuf.stream.CrossSectioning.fromObject(object.crossSectioning);
|
|
3378
3395
|
}
|
|
3396
|
+
if (object.hasChanged != null)
|
|
3397
|
+
message.hasChanged = Boolean(object.hasChanged);
|
|
3379
3398
|
return message;
|
|
3380
3399
|
};
|
|
3381
3400
|
|
|
@@ -3396,6 +3415,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3396
3415
|
object.camera = null;
|
|
3397
3416
|
object.visibleBoundingBox = null;
|
|
3398
3417
|
object.crossSectioning = null;
|
|
3418
|
+
object.hasChanged = false;
|
|
3399
3419
|
}
|
|
3400
3420
|
if (message.camera != null && message.hasOwnProperty("camera"))
|
|
3401
3421
|
object.camera = $root.vertexvis.protobuf.stream.Camera.toObject(message.camera, options);
|
|
@@ -3403,6 +3423,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3403
3423
|
object.visibleBoundingBox = $root.vertexvis.protobuf.core.BoundingBox3f.toObject(message.visibleBoundingBox, options);
|
|
3404
3424
|
if (message.crossSectioning != null && message.hasOwnProperty("crossSectioning"))
|
|
3405
3425
|
object.crossSectioning = $root.vertexvis.protobuf.stream.CrossSectioning.toObject(message.crossSectioning, options);
|
|
3426
|
+
if (message.hasChanged != null && message.hasOwnProperty("hasChanged"))
|
|
3427
|
+
object.hasChanged = message.hasChanged;
|
|
3406
3428
|
return object;
|
|
3407
3429
|
};
|
|
3408
3430
|
|
|
@@ -14739,6 +14761,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14739
14761
|
* @memberof vertexvis.protobuf.stream
|
|
14740
14762
|
* @interface ILoadSceneViewStatePayload
|
|
14741
14763
|
* @property {vertexvis.protobuf.core.IUuid|null} [sceneViewStateId] LoadSceneViewStatePayload sceneViewStateId
|
|
14764
|
+
* @property {google.protobuf.IStringValue|null} [frameCorrelationId] LoadSceneViewStatePayload frameCorrelationId
|
|
14742
14765
|
*/
|
|
14743
14766
|
|
|
14744
14767
|
/**
|
|
@@ -14764,6 +14787,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14764
14787
|
*/
|
|
14765
14788
|
LoadSceneViewStatePayload.prototype.sceneViewStateId = null;
|
|
14766
14789
|
|
|
14790
|
+
/**
|
|
14791
|
+
* LoadSceneViewStatePayload frameCorrelationId.
|
|
14792
|
+
* @member {google.protobuf.IStringValue|null|undefined} frameCorrelationId
|
|
14793
|
+
* @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
|
|
14794
|
+
* @instance
|
|
14795
|
+
*/
|
|
14796
|
+
LoadSceneViewStatePayload.prototype.frameCorrelationId = null;
|
|
14797
|
+
|
|
14767
14798
|
/**
|
|
14768
14799
|
* Creates a new LoadSceneViewStatePayload instance using the specified properties.
|
|
14769
14800
|
* @function create
|
|
@@ -14790,6 +14821,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14790
14821
|
writer = $Writer.create();
|
|
14791
14822
|
if (message.sceneViewStateId != null && Object.hasOwnProperty.call(message, "sceneViewStateId"))
|
|
14792
14823
|
$root.vertexvis.protobuf.core.Uuid.encode(message.sceneViewStateId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
14824
|
+
if (message.frameCorrelationId != null && Object.hasOwnProperty.call(message, "frameCorrelationId"))
|
|
14825
|
+
$root.google.protobuf.StringValue.encode(message.frameCorrelationId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
14793
14826
|
return writer;
|
|
14794
14827
|
};
|
|
14795
14828
|
|
|
@@ -14827,6 +14860,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14827
14860
|
case 1:
|
|
14828
14861
|
message.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.decode(reader, reader.uint32());
|
|
14829
14862
|
break;
|
|
14863
|
+
case 2:
|
|
14864
|
+
message.frameCorrelationId = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
|
|
14865
|
+
break;
|
|
14830
14866
|
default:
|
|
14831
14867
|
reader.skipType(tag & 7);
|
|
14832
14868
|
break;
|
|
@@ -14867,6 +14903,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14867
14903
|
if (error)
|
|
14868
14904
|
return "sceneViewStateId." + error;
|
|
14869
14905
|
}
|
|
14906
|
+
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId")) {
|
|
14907
|
+
let error = $root.google.protobuf.StringValue.verify(message.frameCorrelationId);
|
|
14908
|
+
if (error)
|
|
14909
|
+
return "frameCorrelationId." + error;
|
|
14910
|
+
}
|
|
14870
14911
|
return null;
|
|
14871
14912
|
};
|
|
14872
14913
|
|
|
@@ -14887,6 +14928,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14887
14928
|
throw TypeError(".vertexvis.protobuf.stream.LoadSceneViewStatePayload.sceneViewStateId: object expected");
|
|
14888
14929
|
message.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.fromObject(object.sceneViewStateId);
|
|
14889
14930
|
}
|
|
14931
|
+
if (object.frameCorrelationId != null) {
|
|
14932
|
+
if (typeof object.frameCorrelationId !== "object")
|
|
14933
|
+
throw TypeError(".vertexvis.protobuf.stream.LoadSceneViewStatePayload.frameCorrelationId: object expected");
|
|
14934
|
+
message.frameCorrelationId = $root.google.protobuf.StringValue.fromObject(object.frameCorrelationId);
|
|
14935
|
+
}
|
|
14890
14936
|
return message;
|
|
14891
14937
|
};
|
|
14892
14938
|
|
|
@@ -14903,10 +14949,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14903
14949
|
if (!options)
|
|
14904
14950
|
options = {};
|
|
14905
14951
|
let object = {};
|
|
14906
|
-
if (options.defaults)
|
|
14952
|
+
if (options.defaults) {
|
|
14907
14953
|
object.sceneViewStateId = null;
|
|
14954
|
+
object.frameCorrelationId = null;
|
|
14955
|
+
}
|
|
14908
14956
|
if (message.sceneViewStateId != null && message.hasOwnProperty("sceneViewStateId"))
|
|
14909
14957
|
object.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.toObject(message.sceneViewStateId, options);
|
|
14958
|
+
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId"))
|
|
14959
|
+
object.frameCorrelationId = $root.google.protobuf.StringValue.toObject(message.frameCorrelationId, options);
|
|
14910
14960
|
return object;
|
|
14911
14961
|
};
|
|
14912
14962
|
|