@vertexvis/stream-api 0.16.0-canary.0 → 0.16.0-canary.2

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.
@@ -7170,7 +7170,6 @@ const vertexvis = $root.vertexvis = (() => {
7170
7170
  * Properties of a SelectionQuery.
7171
7171
  * @memberof vertexvis.protobuf.stream
7172
7172
  * @interface ISelectionQuery
7173
- * @property {vertexvis.protobuf.core.IColorMaterial|null} [material] SelectionQuery material
7174
7173
  */
7175
7174
 
7176
7175
  /**
@@ -7188,14 +7187,6 @@ const vertexvis = $root.vertexvis = (() => {
7188
7187
  this[keys[i]] = properties[keys[i]];
7189
7188
  }
7190
7189
 
7191
- /**
7192
- * SelectionQuery material.
7193
- * @member {vertexvis.protobuf.core.IColorMaterial|null|undefined} material
7194
- * @memberof vertexvis.protobuf.stream.SelectionQuery
7195
- * @instance
7196
- */
7197
- SelectionQuery.prototype.material = null;
7198
-
7199
7190
  /**
7200
7191
  * Creates a new SelectionQuery instance using the specified properties.
7201
7192
  * @function create
@@ -7220,8 +7211,6 @@ const vertexvis = $root.vertexvis = (() => {
7220
7211
  SelectionQuery.encode = function encode(message, writer) {
7221
7212
  if (!writer)
7222
7213
  writer = $Writer.create();
7223
- if (message.material != null && Object.hasOwnProperty.call(message, "material"))
7224
- $root.vertexvis.protobuf.core.ColorMaterial.encode(message.material, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
7225
7214
  return writer;
7226
7215
  };
7227
7216
 
@@ -7256,9 +7245,6 @@ const vertexvis = $root.vertexvis = (() => {
7256
7245
  while (reader.pos < end) {
7257
7246
  let tag = reader.uint32();
7258
7247
  switch (tag >>> 3) {
7259
- case 1:
7260
- message.material = $root.vertexvis.protobuf.core.ColorMaterial.decode(reader, reader.uint32());
7261
- break;
7262
7248
  default:
7263
7249
  reader.skipType(tag & 7);
7264
7250
  break;
@@ -7294,11 +7280,6 @@ const vertexvis = $root.vertexvis = (() => {
7294
7280
  SelectionQuery.verify = function verify(message) {
7295
7281
  if (typeof message !== "object" || message === null)
7296
7282
  return "object expected";
7297
- if (message.material != null && message.hasOwnProperty("material")) {
7298
- let error = $root.vertexvis.protobuf.core.ColorMaterial.verify(message.material);
7299
- if (error)
7300
- return "material." + error;
7301
- }
7302
7283
  return null;
7303
7284
  };
7304
7285
 
@@ -7313,13 +7294,7 @@ const vertexvis = $root.vertexvis = (() => {
7313
7294
  SelectionQuery.fromObject = function fromObject(object) {
7314
7295
  if (object instanceof $root.vertexvis.protobuf.stream.SelectionQuery)
7315
7296
  return object;
7316
- let message = new $root.vertexvis.protobuf.stream.SelectionQuery();
7317
- if (object.material != null) {
7318
- if (typeof object.material !== "object")
7319
- throw TypeError(".vertexvis.protobuf.stream.SelectionQuery.material: object expected");
7320
- message.material = $root.vertexvis.protobuf.core.ColorMaterial.fromObject(object.material);
7321
- }
7322
- return message;
7297
+ return new $root.vertexvis.protobuf.stream.SelectionQuery();
7323
7298
  };
7324
7299
 
7325
7300
  /**
@@ -7331,15 +7306,8 @@ const vertexvis = $root.vertexvis = (() => {
7331
7306
  * @param {$protobuf.IConversionOptions} [options] Conversion options
7332
7307
  * @returns {Object.<string,*>} Plain object
7333
7308
  */
7334
- SelectionQuery.toObject = function toObject(message, options) {
7335
- if (!options)
7336
- options = {};
7337
- let object = {};
7338
- if (options.defaults)
7339
- object.material = null;
7340
- if (message.material != null && message.hasOwnProperty("material"))
7341
- object.material = $root.vertexvis.protobuf.core.ColorMaterial.toObject(message.material, options);
7342
- return object;
7309
+ SelectionQuery.toObject = function toObject() {
7310
+ return {};
7343
7311
  };
7344
7312
 
7345
7313
  /**
@@ -8143,6 +8111,7 @@ const vertexvis = $root.vertexvis = (() => {
8143
8111
  * @memberof vertexvis.protobuf.stream
8144
8112
  * @interface IChangeSelectionOperation
8145
8113
  * @property {vertexvis.protobuf.core.IColorMaterial|null} [material] ChangeSelectionOperation material
8114
+ * @property {boolean|null} [selected] ChangeSelectionOperation selected
8146
8115
  */
8147
8116
 
8148
8117
  /**
@@ -8168,6 +8137,14 @@ const vertexvis = $root.vertexvis = (() => {
8168
8137
  */
8169
8138
  ChangeSelectionOperation.prototype.material = null;
8170
8139
 
8140
+ /**
8141
+ * ChangeSelectionOperation selected.
8142
+ * @member {boolean} selected
8143
+ * @memberof vertexvis.protobuf.stream.ChangeSelectionOperation
8144
+ * @instance
8145
+ */
8146
+ ChangeSelectionOperation.prototype.selected = false;
8147
+
8171
8148
  /**
8172
8149
  * Creates a new ChangeSelectionOperation instance using the specified properties.
8173
8150
  * @function create
@@ -8194,6 +8171,8 @@ const vertexvis = $root.vertexvis = (() => {
8194
8171
  writer = $Writer.create();
8195
8172
  if (message.material != null && Object.hasOwnProperty.call(message, "material"))
8196
8173
  $root.vertexvis.protobuf.core.ColorMaterial.encode(message.material, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
8174
+ if (message.selected != null && Object.hasOwnProperty.call(message, "selected"))
8175
+ writer.uint32(/* id 2, wireType 0 =*/16).bool(message.selected);
8197
8176
  return writer;
8198
8177
  };
8199
8178
 
@@ -8231,6 +8210,9 @@ const vertexvis = $root.vertexvis = (() => {
8231
8210
  case 1:
8232
8211
  message.material = $root.vertexvis.protobuf.core.ColorMaterial.decode(reader, reader.uint32());
8233
8212
  break;
8213
+ case 2:
8214
+ message.selected = reader.bool();
8215
+ break;
8234
8216
  default:
8235
8217
  reader.skipType(tag & 7);
8236
8218
  break;
@@ -8271,6 +8253,9 @@ const vertexvis = $root.vertexvis = (() => {
8271
8253
  if (error)
8272
8254
  return "material." + error;
8273
8255
  }
8256
+ if (message.selected != null && message.hasOwnProperty("selected"))
8257
+ if (typeof message.selected !== "boolean")
8258
+ return "selected: boolean expected";
8274
8259
  return null;
8275
8260
  };
8276
8261
 
@@ -8291,6 +8276,8 @@ const vertexvis = $root.vertexvis = (() => {
8291
8276
  throw TypeError(".vertexvis.protobuf.stream.ChangeSelectionOperation.material: object expected");
8292
8277
  message.material = $root.vertexvis.protobuf.core.ColorMaterial.fromObject(object.material);
8293
8278
  }
8279
+ if (object.selected != null)
8280
+ message.selected = Boolean(object.selected);
8294
8281
  return message;
8295
8282
  };
8296
8283
 
@@ -8307,10 +8294,14 @@ const vertexvis = $root.vertexvis = (() => {
8307
8294
  if (!options)
8308
8295
  options = {};
8309
8296
  let object = {};
8310
- if (options.defaults)
8297
+ if (options.defaults) {
8311
8298
  object.material = null;
8299
+ object.selected = false;
8300
+ }
8312
8301
  if (message.material != null && message.hasOwnProperty("material"))
8313
8302
  object.material = $root.vertexvis.protobuf.core.ColorMaterial.toObject(message.material, options);
8303
+ if (message.selected != null && message.hasOwnProperty("selected"))
8304
+ object.selected = message.selected;
8314
8305
  return object;
8315
8306
  };
8316
8307