@vertexvis/stream-api 0.15.2-canary.11 → 0.15.2-canary.12

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.
@@ -8690,6 +8690,7 @@ const vertexvis = $root.vertexvis = (() => {
8690
8690
  * @property {vertexvis.protobuf.stream.IMetadataFilterQuery|null} [metadata] SceneOperation metadata
8691
8691
  * @property {vertexvis.protobuf.stream.IOverrideQuery|null} [override] SceneOperation override
8692
8692
  * @property {vertexvis.protobuf.stream.IVolumeIntersectionQuery|null} [volume] SceneOperation volume
8693
+ * @property {vertexvis.protobuf.stream.IQueryCollection|null} [not] SceneOperation not
8693
8694
  * @property {Array.<vertexvis.protobuf.stream.IOperationType>|null} [operationTypes] SceneOperation operationTypes
8694
8695
  */
8695
8696
 
@@ -8781,6 +8782,14 @@ const vertexvis = $root.vertexvis = (() => {
8781
8782
  */
8782
8783
  SceneOperation.prototype.volume = null;
8783
8784
 
8785
+ /**
8786
+ * SceneOperation not.
8787
+ * @member {vertexvis.protobuf.stream.IQueryCollection|null|undefined} not
8788
+ * @memberof vertexvis.protobuf.stream.SceneOperation
8789
+ * @instance
8790
+ */
8791
+ SceneOperation.prototype.not = null;
8792
+
8784
8793
  /**
8785
8794
  * SceneOperation operationTypes.
8786
8795
  * @member {Array.<vertexvis.protobuf.stream.IOperationType>} operationTypes
@@ -8794,12 +8803,12 @@ const vertexvis = $root.vertexvis = (() => {
8794
8803
 
8795
8804
  /**
8796
8805
  * SceneOperation query.
8797
- * @member {"item"|"or"|"and"|"all"|"point"|"sceneTreeRange"|"metadata"|"override"|"volume"|undefined} query
8806
+ * @member {"item"|"or"|"and"|"all"|"point"|"sceneTreeRange"|"metadata"|"override"|"volume"|"not"|undefined} query
8798
8807
  * @memberof vertexvis.protobuf.stream.SceneOperation
8799
8808
  * @instance
8800
8809
  */
8801
8810
  Object.defineProperty(SceneOperation.prototype, "query", {
8802
- get: $util.oneOfGetter($oneOfFields = ["item", "or", "and", "all", "point", "sceneTreeRange", "metadata", "override", "volume"]),
8811
+ get: $util.oneOfGetter($oneOfFields = ["item", "or", "and", "all", "point", "sceneTreeRange", "metadata", "override", "volume", "not"]),
8803
8812
  set: $util.oneOfSetter($oneOfFields)
8804
8813
  });
8805
8814
 
@@ -8848,6 +8857,8 @@ const vertexvis = $root.vertexvis = (() => {
8848
8857
  $root.vertexvis.protobuf.stream.OverrideQuery.encode(message.override, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
8849
8858
  if (message.volume != null && Object.hasOwnProperty.call(message, "volume"))
8850
8859
  $root.vertexvis.protobuf.stream.VolumeIntersectionQuery.encode(message.volume, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
8860
+ if (message.not != null && Object.hasOwnProperty.call(message, "not"))
8861
+ $root.vertexvis.protobuf.stream.QueryCollection.encode(message.not, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
8851
8862
  return writer;
8852
8863
  };
8853
8864
 
@@ -8909,6 +8920,9 @@ const vertexvis = $root.vertexvis = (() => {
8909
8920
  case 10:
8910
8921
  message.volume = $root.vertexvis.protobuf.stream.VolumeIntersectionQuery.decode(reader, reader.uint32());
8911
8922
  break;
8923
+ case 11:
8924
+ message.not = $root.vertexvis.protobuf.stream.QueryCollection.decode(reader, reader.uint32());
8925
+ break;
8912
8926
  case 4:
8913
8927
  if (!(message.operationTypes && message.operationTypes.length))
8914
8928
  message.operationTypes = [];
@@ -9038,6 +9052,16 @@ const vertexvis = $root.vertexvis = (() => {
9038
9052
  return "volume." + error;
9039
9053
  }
9040
9054
  }
9055
+ if (message.not != null && message.hasOwnProperty("not")) {
9056
+ if (properties.query === 1)
9057
+ return "query: multiple values";
9058
+ properties.query = 1;
9059
+ {
9060
+ let error = $root.vertexvis.protobuf.stream.QueryCollection.verify(message.not);
9061
+ if (error)
9062
+ return "not." + error;
9063
+ }
9064
+ }
9041
9065
  if (message.operationTypes != null && message.hasOwnProperty("operationTypes")) {
9042
9066
  if (!Array.isArray(message.operationTypes))
9043
9067
  return "operationTypes: array expected";
@@ -9107,6 +9131,11 @@ const vertexvis = $root.vertexvis = (() => {
9107
9131
  throw TypeError(".vertexvis.protobuf.stream.SceneOperation.volume: object expected");
9108
9132
  message.volume = $root.vertexvis.protobuf.stream.VolumeIntersectionQuery.fromObject(object.volume);
9109
9133
  }
9134
+ if (object.not != null) {
9135
+ if (typeof object.not !== "object")
9136
+ throw TypeError(".vertexvis.protobuf.stream.SceneOperation.not: object expected");
9137
+ message.not = $root.vertexvis.protobuf.stream.QueryCollection.fromObject(object.not);
9138
+ }
9110
9139
  if (object.operationTypes) {
9111
9140
  if (!Array.isArray(object.operationTypes))
9112
9141
  throw TypeError(".vertexvis.protobuf.stream.SceneOperation.operationTypes: array expected");
@@ -9185,6 +9214,11 @@ const vertexvis = $root.vertexvis = (() => {
9185
9214
  if (options.oneofs)
9186
9215
  object.query = "volume";
9187
9216
  }
9217
+ if (message.not != null && message.hasOwnProperty("not")) {
9218
+ object.not = $root.vertexvis.protobuf.stream.QueryCollection.toObject(message.not, options);
9219
+ if (options.oneofs)
9220
+ object.query = "not";
9221
+ }
9188
9222
  return object;
9189
9223
  };
9190
9224
 
@@ -14907,6 +14941,7 @@ const vertexvis = $root.vertexvis = (() => {
14907
14941
  * @property {vertexvis.protobuf.stream.IStreamAttributes|null} [streamAttributes] StartStreamPayload streamAttributes
14908
14942
  * @property {google.protobuf.IStringValue|null} [streamKey] StartStreamPayload streamKey
14909
14943
  * @property {vertexvis.protobuf.core.IUuid|null} [sceneViewStateId] StartStreamPayload sceneViewStateId
14944
+ * @property {google.protobuf.IStringValue|null} [sceneViewStateSuppliedId] StartStreamPayload sceneViewStateSuppliedId
14910
14945
  */
14911
14946
 
14912
14947
  /**
@@ -14972,6 +15007,28 @@ const vertexvis = $root.vertexvis = (() => {
14972
15007
  */
14973
15008
  StartStreamPayload.prototype.sceneViewStateId = null;
14974
15009
 
15010
+ /**
15011
+ * StartStreamPayload sceneViewStateSuppliedId.
15012
+ * @member {google.protobuf.IStringValue|null|undefined} sceneViewStateSuppliedId
15013
+ * @memberof vertexvis.protobuf.stream.StartStreamPayload
15014
+ * @instance
15015
+ */
15016
+ StartStreamPayload.prototype.sceneViewStateSuppliedId = null;
15017
+
15018
+ // OneOf field names bound to virtual getters and setters
15019
+ let $oneOfFields;
15020
+
15021
+ /**
15022
+ * StartStreamPayload sceneViewStateIdentifier.
15023
+ * @member {"sceneViewStateId"|"sceneViewStateSuppliedId"|undefined} sceneViewStateIdentifier
15024
+ * @memberof vertexvis.protobuf.stream.StartStreamPayload
15025
+ * @instance
15026
+ */
15027
+ Object.defineProperty(StartStreamPayload.prototype, "sceneViewStateIdentifier", {
15028
+ get: $util.oneOfGetter($oneOfFields = ["sceneViewStateId", "sceneViewStateSuppliedId"]),
15029
+ set: $util.oneOfSetter($oneOfFields)
15030
+ });
15031
+
14975
15032
  /**
14976
15033
  * Creates a new StartStreamPayload instance using the specified properties.
14977
15034
  * @function create
@@ -15008,6 +15065,8 @@ const vertexvis = $root.vertexvis = (() => {
15008
15065
  $root.google.protobuf.StringValue.encode(message.streamKey, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
15009
15066
  if (message.sceneViewStateId != null && Object.hasOwnProperty.call(message, "sceneViewStateId"))
15010
15067
  $root.vertexvis.protobuf.core.Uuid.encode(message.sceneViewStateId, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
15068
+ if (message.sceneViewStateSuppliedId != null && Object.hasOwnProperty.call(message, "sceneViewStateSuppliedId"))
15069
+ $root.google.protobuf.StringValue.encode(message.sceneViewStateSuppliedId, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
15011
15070
  return writer;
15012
15071
  };
15013
15072
 
@@ -15060,6 +15119,9 @@ const vertexvis = $root.vertexvis = (() => {
15060
15119
  case 6:
15061
15120
  message.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.decode(reader, reader.uint32());
15062
15121
  break;
15122
+ case 7:
15123
+ message.sceneViewStateSuppliedId = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
15124
+ break;
15063
15125
  default:
15064
15126
  reader.skipType(tag & 7);
15065
15127
  break;
@@ -15095,6 +15157,7 @@ const vertexvis = $root.vertexvis = (() => {
15095
15157
  StartStreamPayload.verify = function verify(message) {
15096
15158
  if (typeof message !== "object" || message === null)
15097
15159
  return "object expected";
15160
+ let properties = {};
15098
15161
  if (message.dimensions != null && message.hasOwnProperty("dimensions")) {
15099
15162
  let error = $root.vertexvis.protobuf.stream.Dimensions.verify(message.dimensions);
15100
15163
  if (error)
@@ -15121,9 +15184,22 @@ const vertexvis = $root.vertexvis = (() => {
15121
15184
  return "streamKey." + error;
15122
15185
  }
15123
15186
  if (message.sceneViewStateId != null && message.hasOwnProperty("sceneViewStateId")) {
15124
- let error = $root.vertexvis.protobuf.core.Uuid.verify(message.sceneViewStateId);
15125
- if (error)
15126
- return "sceneViewStateId." + error;
15187
+ properties.sceneViewStateIdentifier = 1;
15188
+ {
15189
+ let error = $root.vertexvis.protobuf.core.Uuid.verify(message.sceneViewStateId);
15190
+ if (error)
15191
+ return "sceneViewStateId." + error;
15192
+ }
15193
+ }
15194
+ if (message.sceneViewStateSuppliedId != null && message.hasOwnProperty("sceneViewStateSuppliedId")) {
15195
+ if (properties.sceneViewStateIdentifier === 1)
15196
+ return "sceneViewStateIdentifier: multiple values";
15197
+ properties.sceneViewStateIdentifier = 1;
15198
+ {
15199
+ let error = $root.google.protobuf.StringValue.verify(message.sceneViewStateSuppliedId);
15200
+ if (error)
15201
+ return "sceneViewStateSuppliedId." + error;
15202
+ }
15127
15203
  }
15128
15204
  return null;
15129
15205
  };
@@ -15170,6 +15246,11 @@ const vertexvis = $root.vertexvis = (() => {
15170
15246
  throw TypeError(".vertexvis.protobuf.stream.StartStreamPayload.sceneViewStateId: object expected");
15171
15247
  message.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.fromObject(object.sceneViewStateId);
15172
15248
  }
15249
+ if (object.sceneViewStateSuppliedId != null) {
15250
+ if (typeof object.sceneViewStateSuppliedId !== "object")
15251
+ throw TypeError(".vertexvis.protobuf.stream.StartStreamPayload.sceneViewStateSuppliedId: object expected");
15252
+ message.sceneViewStateSuppliedId = $root.google.protobuf.StringValue.fromObject(object.sceneViewStateSuppliedId);
15253
+ }
15173
15254
  return message;
15174
15255
  };
15175
15256
 
@@ -15192,7 +15273,6 @@ const vertexvis = $root.vertexvis = (() => {
15192
15273
  object.frameBackgroundColor = null;
15193
15274
  object.streamAttributes = null;
15194
15275
  object.streamKey = null;
15195
- object.sceneViewStateId = null;
15196
15276
  }
15197
15277
  if (message.dimensions != null && message.hasOwnProperty("dimensions"))
15198
15278
  object.dimensions = $root.vertexvis.protobuf.stream.Dimensions.toObject(message.dimensions, options);
@@ -15204,8 +15284,16 @@ const vertexvis = $root.vertexvis = (() => {
15204
15284
  object.streamAttributes = $root.vertexvis.protobuf.stream.StreamAttributes.toObject(message.streamAttributes, options);
15205
15285
  if (message.streamKey != null && message.hasOwnProperty("streamKey"))
15206
15286
  object.streamKey = $root.google.protobuf.StringValue.toObject(message.streamKey, options);
15207
- if (message.sceneViewStateId != null && message.hasOwnProperty("sceneViewStateId"))
15287
+ if (message.sceneViewStateId != null && message.hasOwnProperty("sceneViewStateId")) {
15208
15288
  object.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.toObject(message.sceneViewStateId, options);
15289
+ if (options.oneofs)
15290
+ object.sceneViewStateIdentifier = "sceneViewStateId";
15291
+ }
15292
+ if (message.sceneViewStateSuppliedId != null && message.hasOwnProperty("sceneViewStateSuppliedId")) {
15293
+ object.sceneViewStateSuppliedId = $root.google.protobuf.StringValue.toObject(message.sceneViewStateSuppliedId, options);
15294
+ if (options.oneofs)
15295
+ object.sceneViewStateIdentifier = "sceneViewStateSuppliedId";
15296
+ }
15209
15297
  return object;
15210
15298
  };
15211
15299
 
@@ -18523,6 +18611,7 @@ const vertexvis = $root.vertexvis = (() => {
18523
18611
  * @memberof vertexvis.protobuf.stream
18524
18612
  * @interface ILoadSceneViewStatePayload
18525
18613
  * @property {vertexvis.protobuf.core.IUuid|null} [sceneViewStateId] LoadSceneViewStatePayload sceneViewStateId
18614
+ * @property {google.protobuf.IStringValue|null} [sceneViewStateSuppliedId] LoadSceneViewStatePayload sceneViewStateSuppliedId
18526
18615
  * @property {google.protobuf.IStringValue|null} [frameCorrelationId] LoadSceneViewStatePayload frameCorrelationId
18527
18616
  * @property {Array.<vertexvis.protobuf.stream.SceneViewStateFeature>|null} [sceneViewStateFeatureSubset] LoadSceneViewStatePayload sceneViewStateFeatureSubset
18528
18617
  */
@@ -18551,6 +18640,14 @@ const vertexvis = $root.vertexvis = (() => {
18551
18640
  */
18552
18641
  LoadSceneViewStatePayload.prototype.sceneViewStateId = null;
18553
18642
 
18643
+ /**
18644
+ * LoadSceneViewStatePayload sceneViewStateSuppliedId.
18645
+ * @member {google.protobuf.IStringValue|null|undefined} sceneViewStateSuppliedId
18646
+ * @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
18647
+ * @instance
18648
+ */
18649
+ LoadSceneViewStatePayload.prototype.sceneViewStateSuppliedId = null;
18650
+
18554
18651
  /**
18555
18652
  * LoadSceneViewStatePayload frameCorrelationId.
18556
18653
  * @member {google.protobuf.IStringValue|null|undefined} frameCorrelationId
@@ -18567,6 +18664,20 @@ const vertexvis = $root.vertexvis = (() => {
18567
18664
  */
18568
18665
  LoadSceneViewStatePayload.prototype.sceneViewStateFeatureSubset = $util.emptyArray;
18569
18666
 
18667
+ // OneOf field names bound to virtual getters and setters
18668
+ let $oneOfFields;
18669
+
18670
+ /**
18671
+ * LoadSceneViewStatePayload sceneViewStateIdentifier.
18672
+ * @member {"sceneViewStateId"|"sceneViewStateSuppliedId"|undefined} sceneViewStateIdentifier
18673
+ * @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
18674
+ * @instance
18675
+ */
18676
+ Object.defineProperty(LoadSceneViewStatePayload.prototype, "sceneViewStateIdentifier", {
18677
+ get: $util.oneOfGetter($oneOfFields = ["sceneViewStateId", "sceneViewStateSuppliedId"]),
18678
+ set: $util.oneOfSetter($oneOfFields)
18679
+ });
18680
+
18570
18681
  /**
18571
18682
  * Creates a new LoadSceneViewStatePayload instance using the specified properties.
18572
18683
  * @function create
@@ -18601,6 +18712,8 @@ const vertexvis = $root.vertexvis = (() => {
18601
18712
  writer.int32(message.sceneViewStateFeatureSubset[i]);
18602
18713
  writer.ldelim();
18603
18714
  }
18715
+ if (message.sceneViewStateSuppliedId != null && Object.hasOwnProperty.call(message, "sceneViewStateSuppliedId"))
18716
+ $root.google.protobuf.StringValue.encode(message.sceneViewStateSuppliedId, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
18604
18717
  return writer;
18605
18718
  };
18606
18719
 
@@ -18638,6 +18751,9 @@ const vertexvis = $root.vertexvis = (() => {
18638
18751
  case 1:
18639
18752
  message.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.decode(reader, reader.uint32());
18640
18753
  break;
18754
+ case 4:
18755
+ message.sceneViewStateSuppliedId = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
18756
+ break;
18641
18757
  case 2:
18642
18758
  message.frameCorrelationId = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
18643
18759
  break;
@@ -18686,10 +18802,24 @@ const vertexvis = $root.vertexvis = (() => {
18686
18802
  LoadSceneViewStatePayload.verify = function verify(message) {
18687
18803
  if (typeof message !== "object" || message === null)
18688
18804
  return "object expected";
18805
+ let properties = {};
18689
18806
  if (message.sceneViewStateId != null && message.hasOwnProperty("sceneViewStateId")) {
18690
- let error = $root.vertexvis.protobuf.core.Uuid.verify(message.sceneViewStateId);
18691
- if (error)
18692
- return "sceneViewStateId." + error;
18807
+ properties.sceneViewStateIdentifier = 1;
18808
+ {
18809
+ let error = $root.vertexvis.protobuf.core.Uuid.verify(message.sceneViewStateId);
18810
+ if (error)
18811
+ return "sceneViewStateId." + error;
18812
+ }
18813
+ }
18814
+ if (message.sceneViewStateSuppliedId != null && message.hasOwnProperty("sceneViewStateSuppliedId")) {
18815
+ if (properties.sceneViewStateIdentifier === 1)
18816
+ return "sceneViewStateIdentifier: multiple values";
18817
+ properties.sceneViewStateIdentifier = 1;
18818
+ {
18819
+ let error = $root.google.protobuf.StringValue.verify(message.sceneViewStateSuppliedId);
18820
+ if (error)
18821
+ return "sceneViewStateSuppliedId." + error;
18822
+ }
18693
18823
  }
18694
18824
  if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId")) {
18695
18825
  let error = $root.google.protobuf.StringValue.verify(message.frameCorrelationId);
@@ -18733,6 +18863,11 @@ const vertexvis = $root.vertexvis = (() => {
18733
18863
  throw TypeError(".vertexvis.protobuf.stream.LoadSceneViewStatePayload.sceneViewStateId: object expected");
18734
18864
  message.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.fromObject(object.sceneViewStateId);
18735
18865
  }
18866
+ if (object.sceneViewStateSuppliedId != null) {
18867
+ if (typeof object.sceneViewStateSuppliedId !== "object")
18868
+ throw TypeError(".vertexvis.protobuf.stream.LoadSceneViewStatePayload.sceneViewStateSuppliedId: object expected");
18869
+ message.sceneViewStateSuppliedId = $root.google.protobuf.StringValue.fromObject(object.sceneViewStateSuppliedId);
18870
+ }
18736
18871
  if (object.frameCorrelationId != null) {
18737
18872
  if (typeof object.frameCorrelationId !== "object")
18738
18873
  throw TypeError(".vertexvis.protobuf.stream.LoadSceneViewStatePayload.frameCorrelationId: object expected");
@@ -18793,12 +18928,13 @@ const vertexvis = $root.vertexvis = (() => {
18793
18928
  let object = {};
18794
18929
  if (options.arrays || options.defaults)
18795
18930
  object.sceneViewStateFeatureSubset = [];
18796
- if (options.defaults) {
18797
- object.sceneViewStateId = null;
18931
+ if (options.defaults)
18798
18932
  object.frameCorrelationId = null;
18799
- }
18800
- if (message.sceneViewStateId != null && message.hasOwnProperty("sceneViewStateId"))
18933
+ if (message.sceneViewStateId != null && message.hasOwnProperty("sceneViewStateId")) {
18801
18934
  object.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.toObject(message.sceneViewStateId, options);
18935
+ if (options.oneofs)
18936
+ object.sceneViewStateIdentifier = "sceneViewStateId";
18937
+ }
18802
18938
  if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId"))
18803
18939
  object.frameCorrelationId = $root.google.protobuf.StringValue.toObject(message.frameCorrelationId, options);
18804
18940
  if (message.sceneViewStateFeatureSubset && message.sceneViewStateFeatureSubset.length) {
@@ -18806,6 +18942,11 @@ const vertexvis = $root.vertexvis = (() => {
18806
18942
  for (let j = 0; j < message.sceneViewStateFeatureSubset.length; ++j)
18807
18943
  object.sceneViewStateFeatureSubset[j] = options.enums === String ? $root.vertexvis.protobuf.stream.SceneViewStateFeature[message.sceneViewStateFeatureSubset[j]] : message.sceneViewStateFeatureSubset[j];
18808
18944
  }
18945
+ if (message.sceneViewStateSuppliedId != null && message.hasOwnProperty("sceneViewStateSuppliedId")) {
18946
+ object.sceneViewStateSuppliedId = $root.google.protobuf.StringValue.toObject(message.sceneViewStateSuppliedId, options);
18947
+ if (options.oneofs)
18948
+ object.sceneViewStateIdentifier = "sceneViewStateSuppliedId";
18949
+ }
18809
18950
  return object;
18810
18951
  };
18811
18952