@vertexvis/stream-api 0.22.1-canary.10 → 0.22.1-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.
- package/dist/bundle.cjs.js +219 -0
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +219 -0
- package/dist/bundle.esm.js.map +1 -1
- package/package.json +5 -5
package/dist/bundle.cjs.js
CHANGED
|
@@ -13680,6 +13680,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13680
13680
|
* @property {vertexvis.protobuf.stream.ISelectionHighlightAttributes|null} [selectionHighlighting] StreamAttributes selectionHighlighting
|
|
13681
13681
|
* @property {vertexvis.protobuf.stream.IPhantomAttributes|null} [phantomItems] StreamAttributes phantomItems
|
|
13682
13682
|
* @property {vertexvis.protobuf.stream.IFrameAttributes|null} [frames] StreamAttributes frames
|
|
13683
|
+
* @property {vertexvis.protobuf.stream.ISceneComparisonAttributes|null} [sceneComparison] StreamAttributes sceneComparison
|
|
13683
13684
|
*/
|
|
13684
13685
|
|
|
13685
13686
|
/**
|
|
@@ -13777,6 +13778,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13777
13778
|
*/
|
|
13778
13779
|
StreamAttributes.prototype.frames = null;
|
|
13779
13780
|
|
|
13781
|
+
/**
|
|
13782
|
+
* StreamAttributes sceneComparison.
|
|
13783
|
+
* @member {vertexvis.protobuf.stream.ISceneComparisonAttributes|null|undefined} sceneComparison
|
|
13784
|
+
* @memberof vertexvis.protobuf.stream.StreamAttributes
|
|
13785
|
+
* @instance
|
|
13786
|
+
*/
|
|
13787
|
+
StreamAttributes.prototype.sceneComparison = null;
|
|
13788
|
+
|
|
13780
13789
|
/**
|
|
13781
13790
|
* Creates a new StreamAttributes instance using the specified properties.
|
|
13782
13791
|
* @function create
|
|
@@ -13821,6 +13830,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13821
13830
|
$root.vertexvis.protobuf.stream.PhantomAttributes.encode(message.phantomItems, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
|
|
13822
13831
|
if (message.frames != null && Object.hasOwnProperty.call(message, "frames"))
|
|
13823
13832
|
$root.vertexvis.protobuf.stream.FrameAttributes.encode(message.frames, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
|
|
13833
|
+
if (message.sceneComparison != null && Object.hasOwnProperty.call(message, "sceneComparison"))
|
|
13834
|
+
$root.vertexvis.protobuf.stream.SceneComparisonAttributes.encode(message.sceneComparison, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
|
|
13824
13835
|
return writer;
|
|
13825
13836
|
};
|
|
13826
13837
|
|
|
@@ -13885,6 +13896,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13885
13896
|
case 10:
|
|
13886
13897
|
message.frames = $root.vertexvis.protobuf.stream.FrameAttributes.decode(reader, reader.uint32());
|
|
13887
13898
|
break;
|
|
13899
|
+
case 11:
|
|
13900
|
+
message.sceneComparison = $root.vertexvis.protobuf.stream.SceneComparisonAttributes.decode(reader, reader.uint32());
|
|
13901
|
+
break;
|
|
13888
13902
|
default:
|
|
13889
13903
|
reader.skipType(tag & 7);
|
|
13890
13904
|
break;
|
|
@@ -13966,6 +13980,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13966
13980
|
if (error)
|
|
13967
13981
|
return "frames." + error;
|
|
13968
13982
|
}
|
|
13983
|
+
if (message.sceneComparison != null && message.hasOwnProperty("sceneComparison")) {
|
|
13984
|
+
let error = $root.vertexvis.protobuf.stream.SceneComparisonAttributes.verify(message.sceneComparison);
|
|
13985
|
+
if (error)
|
|
13986
|
+
return "sceneComparison." + error;
|
|
13987
|
+
}
|
|
13969
13988
|
return null;
|
|
13970
13989
|
};
|
|
13971
13990
|
|
|
@@ -14025,6 +14044,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14025
14044
|
throw TypeError(".vertexvis.protobuf.stream.StreamAttributes.frames: object expected");
|
|
14026
14045
|
message.frames = $root.vertexvis.protobuf.stream.FrameAttributes.fromObject(object.frames);
|
|
14027
14046
|
}
|
|
14047
|
+
if (object.sceneComparison != null) {
|
|
14048
|
+
if (typeof object.sceneComparison !== "object")
|
|
14049
|
+
throw TypeError(".vertexvis.protobuf.stream.StreamAttributes.sceneComparison: object expected");
|
|
14050
|
+
message.sceneComparison = $root.vertexvis.protobuf.stream.SceneComparisonAttributes.fromObject(object.sceneComparison);
|
|
14051
|
+
}
|
|
14028
14052
|
return message;
|
|
14029
14053
|
};
|
|
14030
14054
|
|
|
@@ -14052,6 +14076,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14052
14076
|
object.selectionHighlighting = null;
|
|
14053
14077
|
object.phantomItems = null;
|
|
14054
14078
|
object.frames = null;
|
|
14079
|
+
object.sceneComparison = null;
|
|
14055
14080
|
}
|
|
14056
14081
|
if (message.experimentalGhosting != null && message.hasOwnProperty("experimentalGhosting"))
|
|
14057
14082
|
object.experimentalGhosting = $root.vertexvis.protobuf.stream.GhostingAttributes.toObject(message.experimentalGhosting, options);
|
|
@@ -14073,6 +14098,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14073
14098
|
object.phantomItems = $root.vertexvis.protobuf.stream.PhantomAttributes.toObject(message.phantomItems, options);
|
|
14074
14099
|
if (message.frames != null && message.hasOwnProperty("frames"))
|
|
14075
14100
|
object.frames = $root.vertexvis.protobuf.stream.FrameAttributes.toObject(message.frames, options);
|
|
14101
|
+
if (message.sceneComparison != null && message.hasOwnProperty("sceneComparison"))
|
|
14102
|
+
object.sceneComparison = $root.vertexvis.protobuf.stream.SceneComparisonAttributes.toObject(message.sceneComparison, options);
|
|
14076
14103
|
return object;
|
|
14077
14104
|
};
|
|
14078
14105
|
|
|
@@ -15170,6 +15197,198 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15170
15197
|
return AnimationAttributes;
|
|
15171
15198
|
})();
|
|
15172
15199
|
|
|
15200
|
+
stream.SceneComparisonAttributes = (function() {
|
|
15201
|
+
|
|
15202
|
+
/**
|
|
15203
|
+
* Properties of a SceneComparisonAttributes.
|
|
15204
|
+
* @memberof vertexvis.protobuf.stream
|
|
15205
|
+
* @interface ISceneComparisonAttributes
|
|
15206
|
+
* @property {vertexvis.protobuf.core.IUuid2l|null} [sceneIdToCompare] SceneComparisonAttributes sceneIdToCompare
|
|
15207
|
+
*/
|
|
15208
|
+
|
|
15209
|
+
/**
|
|
15210
|
+
* Constructs a new SceneComparisonAttributes.
|
|
15211
|
+
* @memberof vertexvis.protobuf.stream
|
|
15212
|
+
* @classdesc Represents a SceneComparisonAttributes.
|
|
15213
|
+
* @implements ISceneComparisonAttributes
|
|
15214
|
+
* @constructor
|
|
15215
|
+
* @param {vertexvis.protobuf.stream.ISceneComparisonAttributes=} [properties] Properties to set
|
|
15216
|
+
*/
|
|
15217
|
+
function SceneComparisonAttributes(properties) {
|
|
15218
|
+
if (properties)
|
|
15219
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
15220
|
+
if (properties[keys[i]] != null)
|
|
15221
|
+
this[keys[i]] = properties[keys[i]];
|
|
15222
|
+
}
|
|
15223
|
+
|
|
15224
|
+
/**
|
|
15225
|
+
* SceneComparisonAttributes sceneIdToCompare.
|
|
15226
|
+
* @member {vertexvis.protobuf.core.IUuid2l|null|undefined} sceneIdToCompare
|
|
15227
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15228
|
+
* @instance
|
|
15229
|
+
*/
|
|
15230
|
+
SceneComparisonAttributes.prototype.sceneIdToCompare = null;
|
|
15231
|
+
|
|
15232
|
+
/**
|
|
15233
|
+
* Creates a new SceneComparisonAttributes instance using the specified properties.
|
|
15234
|
+
* @function create
|
|
15235
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15236
|
+
* @static
|
|
15237
|
+
* @param {vertexvis.protobuf.stream.ISceneComparisonAttributes=} [properties] Properties to set
|
|
15238
|
+
* @returns {vertexvis.protobuf.stream.SceneComparisonAttributes} SceneComparisonAttributes instance
|
|
15239
|
+
*/
|
|
15240
|
+
SceneComparisonAttributes.create = function create(properties) {
|
|
15241
|
+
return new SceneComparisonAttributes(properties);
|
|
15242
|
+
};
|
|
15243
|
+
|
|
15244
|
+
/**
|
|
15245
|
+
* Encodes the specified SceneComparisonAttributes message. Does not implicitly {@link vertexvis.protobuf.stream.SceneComparisonAttributes.verify|verify} messages.
|
|
15246
|
+
* @function encode
|
|
15247
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15248
|
+
* @static
|
|
15249
|
+
* @param {vertexvis.protobuf.stream.ISceneComparisonAttributes} message SceneComparisonAttributes message or plain object to encode
|
|
15250
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15251
|
+
* @returns {$protobuf.Writer} Writer
|
|
15252
|
+
*/
|
|
15253
|
+
SceneComparisonAttributes.encode = function encode(message, writer) {
|
|
15254
|
+
if (!writer)
|
|
15255
|
+
writer = $Writer.create();
|
|
15256
|
+
if (message.sceneIdToCompare != null && Object.hasOwnProperty.call(message, "sceneIdToCompare"))
|
|
15257
|
+
$root.vertexvis.protobuf.core.Uuid2l.encode(message.sceneIdToCompare, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
15258
|
+
return writer;
|
|
15259
|
+
};
|
|
15260
|
+
|
|
15261
|
+
/**
|
|
15262
|
+
* Encodes the specified SceneComparisonAttributes message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.SceneComparisonAttributes.verify|verify} messages.
|
|
15263
|
+
* @function encodeDelimited
|
|
15264
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15265
|
+
* @static
|
|
15266
|
+
* @param {vertexvis.protobuf.stream.ISceneComparisonAttributes} message SceneComparisonAttributes message or plain object to encode
|
|
15267
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15268
|
+
* @returns {$protobuf.Writer} Writer
|
|
15269
|
+
*/
|
|
15270
|
+
SceneComparisonAttributes.encodeDelimited = function encodeDelimited(message, writer) {
|
|
15271
|
+
return this.encode(message, writer).ldelim();
|
|
15272
|
+
};
|
|
15273
|
+
|
|
15274
|
+
/**
|
|
15275
|
+
* Decodes a SceneComparisonAttributes message from the specified reader or buffer.
|
|
15276
|
+
* @function decode
|
|
15277
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15278
|
+
* @static
|
|
15279
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15280
|
+
* @param {number} [length] Message length if known beforehand
|
|
15281
|
+
* @returns {vertexvis.protobuf.stream.SceneComparisonAttributes} SceneComparisonAttributes
|
|
15282
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15283
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15284
|
+
*/
|
|
15285
|
+
SceneComparisonAttributes.decode = function decode(reader, length) {
|
|
15286
|
+
if (!(reader instanceof $Reader))
|
|
15287
|
+
reader = $Reader.create(reader);
|
|
15288
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.SceneComparisonAttributes();
|
|
15289
|
+
while (reader.pos < end) {
|
|
15290
|
+
let tag = reader.uint32();
|
|
15291
|
+
switch (tag >>> 3) {
|
|
15292
|
+
case 1:
|
|
15293
|
+
message.sceneIdToCompare = $root.vertexvis.protobuf.core.Uuid2l.decode(reader, reader.uint32());
|
|
15294
|
+
break;
|
|
15295
|
+
default:
|
|
15296
|
+
reader.skipType(tag & 7);
|
|
15297
|
+
break;
|
|
15298
|
+
}
|
|
15299
|
+
}
|
|
15300
|
+
return message;
|
|
15301
|
+
};
|
|
15302
|
+
|
|
15303
|
+
/**
|
|
15304
|
+
* Decodes a SceneComparisonAttributes message from the specified reader or buffer, length delimited.
|
|
15305
|
+
* @function decodeDelimited
|
|
15306
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15307
|
+
* @static
|
|
15308
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15309
|
+
* @returns {vertexvis.protobuf.stream.SceneComparisonAttributes} SceneComparisonAttributes
|
|
15310
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15311
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15312
|
+
*/
|
|
15313
|
+
SceneComparisonAttributes.decodeDelimited = function decodeDelimited(reader) {
|
|
15314
|
+
if (!(reader instanceof $Reader))
|
|
15315
|
+
reader = new $Reader(reader);
|
|
15316
|
+
return this.decode(reader, reader.uint32());
|
|
15317
|
+
};
|
|
15318
|
+
|
|
15319
|
+
/**
|
|
15320
|
+
* Verifies a SceneComparisonAttributes message.
|
|
15321
|
+
* @function verify
|
|
15322
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15323
|
+
* @static
|
|
15324
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
15325
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
15326
|
+
*/
|
|
15327
|
+
SceneComparisonAttributes.verify = function verify(message) {
|
|
15328
|
+
if (typeof message !== "object" || message === null)
|
|
15329
|
+
return "object expected";
|
|
15330
|
+
if (message.sceneIdToCompare != null && message.hasOwnProperty("sceneIdToCompare")) {
|
|
15331
|
+
let error = $root.vertexvis.protobuf.core.Uuid2l.verify(message.sceneIdToCompare);
|
|
15332
|
+
if (error)
|
|
15333
|
+
return "sceneIdToCompare." + error;
|
|
15334
|
+
}
|
|
15335
|
+
return null;
|
|
15336
|
+
};
|
|
15337
|
+
|
|
15338
|
+
/**
|
|
15339
|
+
* Creates a SceneComparisonAttributes message from a plain object. Also converts values to their respective internal types.
|
|
15340
|
+
* @function fromObject
|
|
15341
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15342
|
+
* @static
|
|
15343
|
+
* @param {Object.<string,*>} object Plain object
|
|
15344
|
+
* @returns {vertexvis.protobuf.stream.SceneComparisonAttributes} SceneComparisonAttributes
|
|
15345
|
+
*/
|
|
15346
|
+
SceneComparisonAttributes.fromObject = function fromObject(object) {
|
|
15347
|
+
if (object instanceof $root.vertexvis.protobuf.stream.SceneComparisonAttributes)
|
|
15348
|
+
return object;
|
|
15349
|
+
let message = new $root.vertexvis.protobuf.stream.SceneComparisonAttributes();
|
|
15350
|
+
if (object.sceneIdToCompare != null) {
|
|
15351
|
+
if (typeof object.sceneIdToCompare !== "object")
|
|
15352
|
+
throw TypeError(".vertexvis.protobuf.stream.SceneComparisonAttributes.sceneIdToCompare: object expected");
|
|
15353
|
+
message.sceneIdToCompare = $root.vertexvis.protobuf.core.Uuid2l.fromObject(object.sceneIdToCompare);
|
|
15354
|
+
}
|
|
15355
|
+
return message;
|
|
15356
|
+
};
|
|
15357
|
+
|
|
15358
|
+
/**
|
|
15359
|
+
* Creates a plain object from a SceneComparisonAttributes message. Also converts values to other types if specified.
|
|
15360
|
+
* @function toObject
|
|
15361
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15362
|
+
* @static
|
|
15363
|
+
* @param {vertexvis.protobuf.stream.SceneComparisonAttributes} message SceneComparisonAttributes
|
|
15364
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
15365
|
+
* @returns {Object.<string,*>} Plain object
|
|
15366
|
+
*/
|
|
15367
|
+
SceneComparisonAttributes.toObject = function toObject(message, options) {
|
|
15368
|
+
if (!options)
|
|
15369
|
+
options = {};
|
|
15370
|
+
let object = {};
|
|
15371
|
+
if (options.defaults)
|
|
15372
|
+
object.sceneIdToCompare = null;
|
|
15373
|
+
if (message.sceneIdToCompare != null && message.hasOwnProperty("sceneIdToCompare"))
|
|
15374
|
+
object.sceneIdToCompare = $root.vertexvis.protobuf.core.Uuid2l.toObject(message.sceneIdToCompare, options);
|
|
15375
|
+
return object;
|
|
15376
|
+
};
|
|
15377
|
+
|
|
15378
|
+
/**
|
|
15379
|
+
* Converts this SceneComparisonAttributes to JSON.
|
|
15380
|
+
* @function toJSON
|
|
15381
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15382
|
+
* @instance
|
|
15383
|
+
* @returns {Object.<string,*>} JSON object
|
|
15384
|
+
*/
|
|
15385
|
+
SceneComparisonAttributes.prototype.toJSON = function toJSON() {
|
|
15386
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
15387
|
+
};
|
|
15388
|
+
|
|
15389
|
+
return SceneComparisonAttributes;
|
|
15390
|
+
})();
|
|
15391
|
+
|
|
15173
15392
|
stream.FrameAttributes = (function() {
|
|
15174
15393
|
|
|
15175
15394
|
/**
|