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

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.
@@ -8686,6 +8686,7 @@ const vertexvis = $root.vertexvis = (() => {
8686
8686
  * @property {vertexvis.protobuf.stream.IMetadataFilterQuery|null} [metadata] SceneOperation metadata
8687
8687
  * @property {vertexvis.protobuf.stream.IOverrideQuery|null} [override] SceneOperation override
8688
8688
  * @property {vertexvis.protobuf.stream.IVolumeIntersectionQuery|null} [volume] SceneOperation volume
8689
+ * @property {vertexvis.protobuf.stream.IQueryCollection|null} [not] SceneOperation not
8689
8690
  * @property {Array.<vertexvis.protobuf.stream.IOperationType>|null} [operationTypes] SceneOperation operationTypes
8690
8691
  */
8691
8692
 
@@ -8777,6 +8778,14 @@ const vertexvis = $root.vertexvis = (() => {
8777
8778
  */
8778
8779
  SceneOperation.prototype.volume = null;
8779
8780
 
8781
+ /**
8782
+ * SceneOperation not.
8783
+ * @member {vertexvis.protobuf.stream.IQueryCollection|null|undefined} not
8784
+ * @memberof vertexvis.protobuf.stream.SceneOperation
8785
+ * @instance
8786
+ */
8787
+ SceneOperation.prototype.not = null;
8788
+
8780
8789
  /**
8781
8790
  * SceneOperation operationTypes.
8782
8791
  * @member {Array.<vertexvis.protobuf.stream.IOperationType>} operationTypes
@@ -8790,12 +8799,12 @@ const vertexvis = $root.vertexvis = (() => {
8790
8799
 
8791
8800
  /**
8792
8801
  * SceneOperation query.
8793
- * @member {"item"|"or"|"and"|"all"|"point"|"sceneTreeRange"|"metadata"|"override"|"volume"|undefined} query
8802
+ * @member {"item"|"or"|"and"|"all"|"point"|"sceneTreeRange"|"metadata"|"override"|"volume"|"not"|undefined} query
8794
8803
  * @memberof vertexvis.protobuf.stream.SceneOperation
8795
8804
  * @instance
8796
8805
  */
8797
8806
  Object.defineProperty(SceneOperation.prototype, "query", {
8798
- get: $util.oneOfGetter($oneOfFields = ["item", "or", "and", "all", "point", "sceneTreeRange", "metadata", "override", "volume"]),
8807
+ get: $util.oneOfGetter($oneOfFields = ["item", "or", "and", "all", "point", "sceneTreeRange", "metadata", "override", "volume", "not"]),
8799
8808
  set: $util.oneOfSetter($oneOfFields)
8800
8809
  });
8801
8810
 
@@ -8844,6 +8853,8 @@ const vertexvis = $root.vertexvis = (() => {
8844
8853
  $root.vertexvis.protobuf.stream.OverrideQuery.encode(message.override, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
8845
8854
  if (message.volume != null && Object.hasOwnProperty.call(message, "volume"))
8846
8855
  $root.vertexvis.protobuf.stream.VolumeIntersectionQuery.encode(message.volume, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
8856
+ if (message.not != null && Object.hasOwnProperty.call(message, "not"))
8857
+ $root.vertexvis.protobuf.stream.QueryCollection.encode(message.not, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
8847
8858
  return writer;
8848
8859
  };
8849
8860
 
@@ -8905,6 +8916,9 @@ const vertexvis = $root.vertexvis = (() => {
8905
8916
  case 10:
8906
8917
  message.volume = $root.vertexvis.protobuf.stream.VolumeIntersectionQuery.decode(reader, reader.uint32());
8907
8918
  break;
8919
+ case 11:
8920
+ message.not = $root.vertexvis.protobuf.stream.QueryCollection.decode(reader, reader.uint32());
8921
+ break;
8908
8922
  case 4:
8909
8923
  if (!(message.operationTypes && message.operationTypes.length))
8910
8924
  message.operationTypes = [];
@@ -9034,6 +9048,16 @@ const vertexvis = $root.vertexvis = (() => {
9034
9048
  return "volume." + error;
9035
9049
  }
9036
9050
  }
9051
+ if (message.not != null && message.hasOwnProperty("not")) {
9052
+ if (properties.query === 1)
9053
+ return "query: multiple values";
9054
+ properties.query = 1;
9055
+ {
9056
+ let error = $root.vertexvis.protobuf.stream.QueryCollection.verify(message.not);
9057
+ if (error)
9058
+ return "not." + error;
9059
+ }
9060
+ }
9037
9061
  if (message.operationTypes != null && message.hasOwnProperty("operationTypes")) {
9038
9062
  if (!Array.isArray(message.operationTypes))
9039
9063
  return "operationTypes: array expected";
@@ -9103,6 +9127,11 @@ const vertexvis = $root.vertexvis = (() => {
9103
9127
  throw TypeError(".vertexvis.protobuf.stream.SceneOperation.volume: object expected");
9104
9128
  message.volume = $root.vertexvis.protobuf.stream.VolumeIntersectionQuery.fromObject(object.volume);
9105
9129
  }
9130
+ if (object.not != null) {
9131
+ if (typeof object.not !== "object")
9132
+ throw TypeError(".vertexvis.protobuf.stream.SceneOperation.not: object expected");
9133
+ message.not = $root.vertexvis.protobuf.stream.QueryCollection.fromObject(object.not);
9134
+ }
9106
9135
  if (object.operationTypes) {
9107
9136
  if (!Array.isArray(object.operationTypes))
9108
9137
  throw TypeError(".vertexvis.protobuf.stream.SceneOperation.operationTypes: array expected");
@@ -9181,6 +9210,11 @@ const vertexvis = $root.vertexvis = (() => {
9181
9210
  if (options.oneofs)
9182
9211
  object.query = "volume";
9183
9212
  }
9213
+ if (message.not != null && message.hasOwnProperty("not")) {
9214
+ object.not = $root.vertexvis.protobuf.stream.QueryCollection.toObject(message.not, options);
9215
+ if (options.oneofs)
9216
+ object.query = "not";
9217
+ }
9184
9218
  return object;
9185
9219
  };
9186
9220
 
@@ -14903,6 +14937,7 @@ const vertexvis = $root.vertexvis = (() => {
14903
14937
  * @property {vertexvis.protobuf.stream.IStreamAttributes|null} [streamAttributes] StartStreamPayload streamAttributes
14904
14938
  * @property {google.protobuf.IStringValue|null} [streamKey] StartStreamPayload streamKey
14905
14939
  * @property {vertexvis.protobuf.core.IUuid|null} [sceneViewStateId] StartStreamPayload sceneViewStateId
14940
+ * @property {google.protobuf.IStringValue|null} [sceneViewStateSuppliedId] StartStreamPayload sceneViewStateSuppliedId
14906
14941
  */
14907
14942
 
14908
14943
  /**
@@ -14968,6 +15003,28 @@ const vertexvis = $root.vertexvis = (() => {
14968
15003
  */
14969
15004
  StartStreamPayload.prototype.sceneViewStateId = null;
14970
15005
 
15006
+ /**
15007
+ * StartStreamPayload sceneViewStateSuppliedId.
15008
+ * @member {google.protobuf.IStringValue|null|undefined} sceneViewStateSuppliedId
15009
+ * @memberof vertexvis.protobuf.stream.StartStreamPayload
15010
+ * @instance
15011
+ */
15012
+ StartStreamPayload.prototype.sceneViewStateSuppliedId = null;
15013
+
15014
+ // OneOf field names bound to virtual getters and setters
15015
+ let $oneOfFields;
15016
+
15017
+ /**
15018
+ * StartStreamPayload sceneViewStateIdentifier.
15019
+ * @member {"sceneViewStateId"|"sceneViewStateSuppliedId"|undefined} sceneViewStateIdentifier
15020
+ * @memberof vertexvis.protobuf.stream.StartStreamPayload
15021
+ * @instance
15022
+ */
15023
+ Object.defineProperty(StartStreamPayload.prototype, "sceneViewStateIdentifier", {
15024
+ get: $util.oneOfGetter($oneOfFields = ["sceneViewStateId", "sceneViewStateSuppliedId"]),
15025
+ set: $util.oneOfSetter($oneOfFields)
15026
+ });
15027
+
14971
15028
  /**
14972
15029
  * Creates a new StartStreamPayload instance using the specified properties.
14973
15030
  * @function create
@@ -15004,6 +15061,8 @@ const vertexvis = $root.vertexvis = (() => {
15004
15061
  $root.google.protobuf.StringValue.encode(message.streamKey, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
15005
15062
  if (message.sceneViewStateId != null && Object.hasOwnProperty.call(message, "sceneViewStateId"))
15006
15063
  $root.vertexvis.protobuf.core.Uuid.encode(message.sceneViewStateId, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
15064
+ if (message.sceneViewStateSuppliedId != null && Object.hasOwnProperty.call(message, "sceneViewStateSuppliedId"))
15065
+ $root.google.protobuf.StringValue.encode(message.sceneViewStateSuppliedId, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
15007
15066
  return writer;
15008
15067
  };
15009
15068
 
@@ -15056,6 +15115,9 @@ const vertexvis = $root.vertexvis = (() => {
15056
15115
  case 6:
15057
15116
  message.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.decode(reader, reader.uint32());
15058
15117
  break;
15118
+ case 7:
15119
+ message.sceneViewStateSuppliedId = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
15120
+ break;
15059
15121
  default:
15060
15122
  reader.skipType(tag & 7);
15061
15123
  break;
@@ -15091,6 +15153,7 @@ const vertexvis = $root.vertexvis = (() => {
15091
15153
  StartStreamPayload.verify = function verify(message) {
15092
15154
  if (typeof message !== "object" || message === null)
15093
15155
  return "object expected";
15156
+ let properties = {};
15094
15157
  if (message.dimensions != null && message.hasOwnProperty("dimensions")) {
15095
15158
  let error = $root.vertexvis.protobuf.stream.Dimensions.verify(message.dimensions);
15096
15159
  if (error)
@@ -15117,9 +15180,22 @@ const vertexvis = $root.vertexvis = (() => {
15117
15180
  return "streamKey." + error;
15118
15181
  }
15119
15182
  if (message.sceneViewStateId != null && message.hasOwnProperty("sceneViewStateId")) {
15120
- let error = $root.vertexvis.protobuf.core.Uuid.verify(message.sceneViewStateId);
15121
- if (error)
15122
- return "sceneViewStateId." + error;
15183
+ properties.sceneViewStateIdentifier = 1;
15184
+ {
15185
+ let error = $root.vertexvis.protobuf.core.Uuid.verify(message.sceneViewStateId);
15186
+ if (error)
15187
+ return "sceneViewStateId." + error;
15188
+ }
15189
+ }
15190
+ if (message.sceneViewStateSuppliedId != null && message.hasOwnProperty("sceneViewStateSuppliedId")) {
15191
+ if (properties.sceneViewStateIdentifier === 1)
15192
+ return "sceneViewStateIdentifier: multiple values";
15193
+ properties.sceneViewStateIdentifier = 1;
15194
+ {
15195
+ let error = $root.google.protobuf.StringValue.verify(message.sceneViewStateSuppliedId);
15196
+ if (error)
15197
+ return "sceneViewStateSuppliedId." + error;
15198
+ }
15123
15199
  }
15124
15200
  return null;
15125
15201
  };
@@ -15166,6 +15242,11 @@ const vertexvis = $root.vertexvis = (() => {
15166
15242
  throw TypeError(".vertexvis.protobuf.stream.StartStreamPayload.sceneViewStateId: object expected");
15167
15243
  message.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.fromObject(object.sceneViewStateId);
15168
15244
  }
15245
+ if (object.sceneViewStateSuppliedId != null) {
15246
+ if (typeof object.sceneViewStateSuppliedId !== "object")
15247
+ throw TypeError(".vertexvis.protobuf.stream.StartStreamPayload.sceneViewStateSuppliedId: object expected");
15248
+ message.sceneViewStateSuppliedId = $root.google.protobuf.StringValue.fromObject(object.sceneViewStateSuppliedId);
15249
+ }
15169
15250
  return message;
15170
15251
  };
15171
15252
 
@@ -15188,7 +15269,6 @@ const vertexvis = $root.vertexvis = (() => {
15188
15269
  object.frameBackgroundColor = null;
15189
15270
  object.streamAttributes = null;
15190
15271
  object.streamKey = null;
15191
- object.sceneViewStateId = null;
15192
15272
  }
15193
15273
  if (message.dimensions != null && message.hasOwnProperty("dimensions"))
15194
15274
  object.dimensions = $root.vertexvis.protobuf.stream.Dimensions.toObject(message.dimensions, options);
@@ -15200,8 +15280,16 @@ const vertexvis = $root.vertexvis = (() => {
15200
15280
  object.streamAttributes = $root.vertexvis.protobuf.stream.StreamAttributes.toObject(message.streamAttributes, options);
15201
15281
  if (message.streamKey != null && message.hasOwnProperty("streamKey"))
15202
15282
  object.streamKey = $root.google.protobuf.StringValue.toObject(message.streamKey, options);
15203
- if (message.sceneViewStateId != null && message.hasOwnProperty("sceneViewStateId"))
15283
+ if (message.sceneViewStateId != null && message.hasOwnProperty("sceneViewStateId")) {
15204
15284
  object.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.toObject(message.sceneViewStateId, options);
15285
+ if (options.oneofs)
15286
+ object.sceneViewStateIdentifier = "sceneViewStateId";
15287
+ }
15288
+ if (message.sceneViewStateSuppliedId != null && message.hasOwnProperty("sceneViewStateSuppliedId")) {
15289
+ object.sceneViewStateSuppliedId = $root.google.protobuf.StringValue.toObject(message.sceneViewStateSuppliedId, options);
15290
+ if (options.oneofs)
15291
+ object.sceneViewStateIdentifier = "sceneViewStateSuppliedId";
15292
+ }
15205
15293
  return object;
15206
15294
  };
15207
15295
 
@@ -18519,6 +18607,7 @@ const vertexvis = $root.vertexvis = (() => {
18519
18607
  * @memberof vertexvis.protobuf.stream
18520
18608
  * @interface ILoadSceneViewStatePayload
18521
18609
  * @property {vertexvis.protobuf.core.IUuid|null} [sceneViewStateId] LoadSceneViewStatePayload sceneViewStateId
18610
+ * @property {google.protobuf.IStringValue|null} [sceneViewStateSuppliedId] LoadSceneViewStatePayload sceneViewStateSuppliedId
18522
18611
  * @property {google.protobuf.IStringValue|null} [frameCorrelationId] LoadSceneViewStatePayload frameCorrelationId
18523
18612
  * @property {Array.<vertexvis.protobuf.stream.SceneViewStateFeature>|null} [sceneViewStateFeatureSubset] LoadSceneViewStatePayload sceneViewStateFeatureSubset
18524
18613
  */
@@ -18547,6 +18636,14 @@ const vertexvis = $root.vertexvis = (() => {
18547
18636
  */
18548
18637
  LoadSceneViewStatePayload.prototype.sceneViewStateId = null;
18549
18638
 
18639
+ /**
18640
+ * LoadSceneViewStatePayload sceneViewStateSuppliedId.
18641
+ * @member {google.protobuf.IStringValue|null|undefined} sceneViewStateSuppliedId
18642
+ * @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
18643
+ * @instance
18644
+ */
18645
+ LoadSceneViewStatePayload.prototype.sceneViewStateSuppliedId = null;
18646
+
18550
18647
  /**
18551
18648
  * LoadSceneViewStatePayload frameCorrelationId.
18552
18649
  * @member {google.protobuf.IStringValue|null|undefined} frameCorrelationId
@@ -18563,6 +18660,20 @@ const vertexvis = $root.vertexvis = (() => {
18563
18660
  */
18564
18661
  LoadSceneViewStatePayload.prototype.sceneViewStateFeatureSubset = $util.emptyArray;
18565
18662
 
18663
+ // OneOf field names bound to virtual getters and setters
18664
+ let $oneOfFields;
18665
+
18666
+ /**
18667
+ * LoadSceneViewStatePayload sceneViewStateIdentifier.
18668
+ * @member {"sceneViewStateId"|"sceneViewStateSuppliedId"|undefined} sceneViewStateIdentifier
18669
+ * @memberof vertexvis.protobuf.stream.LoadSceneViewStatePayload
18670
+ * @instance
18671
+ */
18672
+ Object.defineProperty(LoadSceneViewStatePayload.prototype, "sceneViewStateIdentifier", {
18673
+ get: $util.oneOfGetter($oneOfFields = ["sceneViewStateId", "sceneViewStateSuppliedId"]),
18674
+ set: $util.oneOfSetter($oneOfFields)
18675
+ });
18676
+
18566
18677
  /**
18567
18678
  * Creates a new LoadSceneViewStatePayload instance using the specified properties.
18568
18679
  * @function create
@@ -18597,6 +18708,8 @@ const vertexvis = $root.vertexvis = (() => {
18597
18708
  writer.int32(message.sceneViewStateFeatureSubset[i]);
18598
18709
  writer.ldelim();
18599
18710
  }
18711
+ if (message.sceneViewStateSuppliedId != null && Object.hasOwnProperty.call(message, "sceneViewStateSuppliedId"))
18712
+ $root.google.protobuf.StringValue.encode(message.sceneViewStateSuppliedId, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
18600
18713
  return writer;
18601
18714
  };
18602
18715
 
@@ -18634,6 +18747,9 @@ const vertexvis = $root.vertexvis = (() => {
18634
18747
  case 1:
18635
18748
  message.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.decode(reader, reader.uint32());
18636
18749
  break;
18750
+ case 4:
18751
+ message.sceneViewStateSuppliedId = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
18752
+ break;
18637
18753
  case 2:
18638
18754
  message.frameCorrelationId = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
18639
18755
  break;
@@ -18682,10 +18798,24 @@ const vertexvis = $root.vertexvis = (() => {
18682
18798
  LoadSceneViewStatePayload.verify = function verify(message) {
18683
18799
  if (typeof message !== "object" || message === null)
18684
18800
  return "object expected";
18801
+ let properties = {};
18685
18802
  if (message.sceneViewStateId != null && message.hasOwnProperty("sceneViewStateId")) {
18686
- let error = $root.vertexvis.protobuf.core.Uuid.verify(message.sceneViewStateId);
18687
- if (error)
18688
- return "sceneViewStateId." + error;
18803
+ properties.sceneViewStateIdentifier = 1;
18804
+ {
18805
+ let error = $root.vertexvis.protobuf.core.Uuid.verify(message.sceneViewStateId);
18806
+ if (error)
18807
+ return "sceneViewStateId." + error;
18808
+ }
18809
+ }
18810
+ if (message.sceneViewStateSuppliedId != null && message.hasOwnProperty("sceneViewStateSuppliedId")) {
18811
+ if (properties.sceneViewStateIdentifier === 1)
18812
+ return "sceneViewStateIdentifier: multiple values";
18813
+ properties.sceneViewStateIdentifier = 1;
18814
+ {
18815
+ let error = $root.google.protobuf.StringValue.verify(message.sceneViewStateSuppliedId);
18816
+ if (error)
18817
+ return "sceneViewStateSuppliedId." + error;
18818
+ }
18689
18819
  }
18690
18820
  if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId")) {
18691
18821
  let error = $root.google.protobuf.StringValue.verify(message.frameCorrelationId);
@@ -18729,6 +18859,11 @@ const vertexvis = $root.vertexvis = (() => {
18729
18859
  throw TypeError(".vertexvis.protobuf.stream.LoadSceneViewStatePayload.sceneViewStateId: object expected");
18730
18860
  message.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.fromObject(object.sceneViewStateId);
18731
18861
  }
18862
+ if (object.sceneViewStateSuppliedId != null) {
18863
+ if (typeof object.sceneViewStateSuppliedId !== "object")
18864
+ throw TypeError(".vertexvis.protobuf.stream.LoadSceneViewStatePayload.sceneViewStateSuppliedId: object expected");
18865
+ message.sceneViewStateSuppliedId = $root.google.protobuf.StringValue.fromObject(object.sceneViewStateSuppliedId);
18866
+ }
18732
18867
  if (object.frameCorrelationId != null) {
18733
18868
  if (typeof object.frameCorrelationId !== "object")
18734
18869
  throw TypeError(".vertexvis.protobuf.stream.LoadSceneViewStatePayload.frameCorrelationId: object expected");
@@ -18789,12 +18924,13 @@ const vertexvis = $root.vertexvis = (() => {
18789
18924
  let object = {};
18790
18925
  if (options.arrays || options.defaults)
18791
18926
  object.sceneViewStateFeatureSubset = [];
18792
- if (options.defaults) {
18793
- object.sceneViewStateId = null;
18927
+ if (options.defaults)
18794
18928
  object.frameCorrelationId = null;
18795
- }
18796
- if (message.sceneViewStateId != null && message.hasOwnProperty("sceneViewStateId"))
18929
+ if (message.sceneViewStateId != null && message.hasOwnProperty("sceneViewStateId")) {
18797
18930
  object.sceneViewStateId = $root.vertexvis.protobuf.core.Uuid.toObject(message.sceneViewStateId, options);
18931
+ if (options.oneofs)
18932
+ object.sceneViewStateIdentifier = "sceneViewStateId";
18933
+ }
18798
18934
  if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId"))
18799
18935
  object.frameCorrelationId = $root.google.protobuf.StringValue.toObject(message.frameCorrelationId, options);
18800
18936
  if (message.sceneViewStateFeatureSubset && message.sceneViewStateFeatureSubset.length) {
@@ -18802,6 +18938,11 @@ const vertexvis = $root.vertexvis = (() => {
18802
18938
  for (let j = 0; j < message.sceneViewStateFeatureSubset.length; ++j)
18803
18939
  object.sceneViewStateFeatureSubset[j] = options.enums === String ? $root.vertexvis.protobuf.stream.SceneViewStateFeature[message.sceneViewStateFeatureSubset[j]] : message.sceneViewStateFeatureSubset[j];
18804
18940
  }
18941
+ if (message.sceneViewStateSuppliedId != null && message.hasOwnProperty("sceneViewStateSuppliedId")) {
18942
+ object.sceneViewStateSuppliedId = $root.google.protobuf.StringValue.toObject(message.sceneViewStateSuppliedId, options);
18943
+ if (options.oneofs)
18944
+ object.sceneViewStateIdentifier = "sceneViewStateSuppliedId";
18945
+ }
18805
18946
  return object;
18806
18947
  };
18807
18948