@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.esm.js
CHANGED
|
@@ -3178,6 +3178,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3178
3178
|
* @property {vertexvis.protobuf.stream.ICamera|null} [camera] SceneAttributes camera
|
|
3179
3179
|
* @property {vertexvis.protobuf.core.IBoundingBox3f|null} [visibleBoundingBox] SceneAttributes visibleBoundingBox
|
|
3180
3180
|
* @property {vertexvis.protobuf.stream.ICrossSectioning|null} [crossSectioning] SceneAttributes crossSectioning
|
|
3181
|
+
* @property {boolean|null} [hasChanged] SceneAttributes hasChanged
|
|
3181
3182
|
*/
|
|
3182
3183
|
|
|
3183
3184
|
/**
|
|
@@ -3219,6 +3220,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3219
3220
|
*/
|
|
3220
3221
|
SceneAttributes.prototype.crossSectioning = null;
|
|
3221
3222
|
|
|
3223
|
+
/**
|
|
3224
|
+
* SceneAttributes hasChanged.
|
|
3225
|
+
* @member {boolean} hasChanged
|
|
3226
|
+
* @memberof vertexvis.protobuf.stream.SceneAttributes
|
|
3227
|
+
* @instance
|
|
3228
|
+
*/
|
|
3229
|
+
SceneAttributes.prototype.hasChanged = false;
|
|
3230
|
+
|
|
3222
3231
|
/**
|
|
3223
3232
|
* Creates a new SceneAttributes instance using the specified properties.
|
|
3224
3233
|
* @function create
|
|
@@ -3249,6 +3258,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3249
3258
|
$root.vertexvis.protobuf.core.BoundingBox3f.encode(message.visibleBoundingBox, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
3250
3259
|
if (message.crossSectioning != null && Object.hasOwnProperty.call(message, "crossSectioning"))
|
|
3251
3260
|
$root.vertexvis.protobuf.stream.CrossSectioning.encode(message.crossSectioning, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
3261
|
+
if (message.hasChanged != null && Object.hasOwnProperty.call(message, "hasChanged"))
|
|
3262
|
+
writer.uint32(/* id 4, wireType 0 =*/32).bool(message.hasChanged);
|
|
3252
3263
|
return writer;
|
|
3253
3264
|
};
|
|
3254
3265
|
|
|
@@ -3292,6 +3303,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3292
3303
|
case 3:
|
|
3293
3304
|
message.crossSectioning = $root.vertexvis.protobuf.stream.CrossSectioning.decode(reader, reader.uint32());
|
|
3294
3305
|
break;
|
|
3306
|
+
case 4:
|
|
3307
|
+
message.hasChanged = reader.bool();
|
|
3308
|
+
break;
|
|
3295
3309
|
default:
|
|
3296
3310
|
reader.skipType(tag & 7);
|
|
3297
3311
|
break;
|
|
@@ -3342,6 +3356,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3342
3356
|
if (error)
|
|
3343
3357
|
return "crossSectioning." + error;
|
|
3344
3358
|
}
|
|
3359
|
+
if (message.hasChanged != null && message.hasOwnProperty("hasChanged"))
|
|
3360
|
+
if (typeof message.hasChanged !== "boolean")
|
|
3361
|
+
return "hasChanged: boolean expected";
|
|
3345
3362
|
return null;
|
|
3346
3363
|
};
|
|
3347
3364
|
|
|
@@ -3372,6 +3389,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3372
3389
|
throw TypeError(".vertexvis.protobuf.stream.SceneAttributes.crossSectioning: object expected");
|
|
3373
3390
|
message.crossSectioning = $root.vertexvis.protobuf.stream.CrossSectioning.fromObject(object.crossSectioning);
|
|
3374
3391
|
}
|
|
3392
|
+
if (object.hasChanged != null)
|
|
3393
|
+
message.hasChanged = Boolean(object.hasChanged);
|
|
3375
3394
|
return message;
|
|
3376
3395
|
};
|
|
3377
3396
|
|
|
@@ -3392,6 +3411,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3392
3411
|
object.camera = null;
|
|
3393
3412
|
object.visibleBoundingBox = null;
|
|
3394
3413
|
object.crossSectioning = null;
|
|
3414
|
+
object.hasChanged = false;
|
|
3395
3415
|
}
|
|
3396
3416
|
if (message.camera != null && message.hasOwnProperty("camera"))
|
|
3397
3417
|
object.camera = $root.vertexvis.protobuf.stream.Camera.toObject(message.camera, options);
|
|
@@ -3399,6 +3419,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
3399
3419
|
object.visibleBoundingBox = $root.vertexvis.protobuf.core.BoundingBox3f.toObject(message.visibleBoundingBox, options);
|
|
3400
3420
|
if (message.crossSectioning != null && message.hasOwnProperty("crossSectioning"))
|
|
3401
3421
|
object.crossSectioning = $root.vertexvis.protobuf.stream.CrossSectioning.toObject(message.crossSectioning, options);
|
|
3422
|
+
if (message.hasChanged != null && message.hasOwnProperty("hasChanged"))
|
|
3423
|
+
object.hasChanged = message.hasChanged;
|
|
3402
3424
|
return object;
|
|
3403
3425
|
};
|
|
3404
3426
|
|
|
@@ -14735,6 +14757,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14735
14757
|
* @memberof vertexvis.protobuf.stream
|
|
14736
14758
|
* @interface ILoadSceneViewStatePayload
|
|
14737
14759
|
* @property {vertexvis.protobuf.core.IUuid|null} [sceneViewStateId] LoadSceneViewStatePayload sceneViewStateId
|
|
14760
|
+
* @property {google.protobuf.IStringValue|null} [frameCorrelationId] LoadSceneViewStatePayload frameCorrelationId
|
|
14738
14761
|
*/
|
|
14739
14762
|
|
|
14740
14763
|
/**
|
|
@@ -14760,6 +14783,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14760
14783
|
*/
|
|
14761
14784
|
LoadSceneViewStatePayload.prototype.sceneViewStateId = null;
|
|
14762
14785
|
|
|
14786
|
+
/**
|
|
14787
|
+
* LoadSceneViewStatePayload frameCorrelationId.
|
|
14788
|
+
* @member {google.protobuf.IStringValue|null|undefined} frameCorrelationId
|
|
14789
|
+
* @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
|
|
14790
|
+
* @instance
|
|
14791
|
+
*/
|
|
14792
|
+
LoadSceneViewStatePayload.prototype.frameCorrelationId = null;
|
|
14793
|
+
|
|
14763
14794
|
/**
|
|
14764
14795
|
* Creates a new LoadSceneViewStatePayload instance using the specified properties.
|
|
14765
14796
|
* @function create
|
|
@@ -14786,6 +14817,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14786
14817
|
writer = $Writer.create();
|
|
14787
14818
|
if (message.sceneViewStateId != null && Object.hasOwnProperty.call(message, "sceneViewStateId"))
|
|
14788
14819
|
$root.vertexvis.protobuf.core.Uuid.encode(message.sceneViewStateId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
14820
|
+
if (message.frameCorrelationId != null && Object.hasOwnProperty.call(message, "frameCorrelationId"))
|
|
14821
|
+
$root.google.protobuf.StringValue.encode(message.frameCorrelationId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
14789
14822
|
return writer;
|
|
14790
14823
|
};
|
|
14791
14824
|
|
|
@@ -14823,6 +14856,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14823
14856
|
case 1:
|
|
14824
14857
|
message.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.decode(reader, reader.uint32());
|
|
14825
14858
|
break;
|
|
14859
|
+
case 2:
|
|
14860
|
+
message.frameCorrelationId = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
|
|
14861
|
+
break;
|
|
14826
14862
|
default:
|
|
14827
14863
|
reader.skipType(tag & 7);
|
|
14828
14864
|
break;
|
|
@@ -14863,6 +14899,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14863
14899
|
if (error)
|
|
14864
14900
|
return "sceneViewStateId." + error;
|
|
14865
14901
|
}
|
|
14902
|
+
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId")) {
|
|
14903
|
+
let error = $root.google.protobuf.StringValue.verify(message.frameCorrelationId);
|
|
14904
|
+
if (error)
|
|
14905
|
+
return "frameCorrelationId." + error;
|
|
14906
|
+
}
|
|
14866
14907
|
return null;
|
|
14867
14908
|
};
|
|
14868
14909
|
|
|
@@ -14883,6 +14924,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14883
14924
|
throw TypeError(".vertexvis.protobuf.stream.LoadSceneViewStatePayload.sceneViewStateId: object expected");
|
|
14884
14925
|
message.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.fromObject(object.sceneViewStateId);
|
|
14885
14926
|
}
|
|
14927
|
+
if (object.frameCorrelationId != null) {
|
|
14928
|
+
if (typeof object.frameCorrelationId !== "object")
|
|
14929
|
+
throw TypeError(".vertexvis.protobuf.stream.LoadSceneViewStatePayload.frameCorrelationId: object expected");
|
|
14930
|
+
message.frameCorrelationId = $root.google.protobuf.StringValue.fromObject(object.frameCorrelationId);
|
|
14931
|
+
}
|
|
14886
14932
|
return message;
|
|
14887
14933
|
};
|
|
14888
14934
|
|
|
@@ -14899,10 +14945,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14899
14945
|
if (!options)
|
|
14900
14946
|
options = {};
|
|
14901
14947
|
let object = {};
|
|
14902
|
-
if (options.defaults)
|
|
14948
|
+
if (options.defaults) {
|
|
14903
14949
|
object.sceneViewStateId = null;
|
|
14950
|
+
object.frameCorrelationId = null;
|
|
14951
|
+
}
|
|
14904
14952
|
if (message.sceneViewStateId != null && message.hasOwnProperty("sceneViewStateId"))
|
|
14905
14953
|
object.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.toObject(message.sceneViewStateId, options);
|
|
14954
|
+
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId"))
|
|
14955
|
+
object.frameCorrelationId = $root.google.protobuf.StringValue.toObject(message.frameCorrelationId, options);
|
|
14906
14956
|
return object;
|
|
14907
14957
|
};
|
|
14908
14958
|
|