@vertexvis/stream-api 0.22.1-canary.11 → 0.22.1-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.
- package/dist/bundle.cjs.js +247 -0
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +247 -0
- package/dist/bundle.esm.js.map +1 -1
- package/package.json +5 -5
package/dist/bundle.esm.js
CHANGED
|
@@ -13676,6 +13676,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13676
13676
|
* @property {vertexvis.protobuf.stream.ISelectionHighlightAttributes|null} [selectionHighlighting] StreamAttributes selectionHighlighting
|
|
13677
13677
|
* @property {vertexvis.protobuf.stream.IPhantomAttributes|null} [phantomItems] StreamAttributes phantomItems
|
|
13678
13678
|
* @property {vertexvis.protobuf.stream.IFrameAttributes|null} [frames] StreamAttributes frames
|
|
13679
|
+
* @property {vertexvis.protobuf.stream.ISceneComparisonAttributes|null} [sceneComparison] StreamAttributes sceneComparison
|
|
13679
13680
|
*/
|
|
13680
13681
|
|
|
13681
13682
|
/**
|
|
@@ -13773,6 +13774,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13773
13774
|
*/
|
|
13774
13775
|
StreamAttributes.prototype.frames = null;
|
|
13775
13776
|
|
|
13777
|
+
/**
|
|
13778
|
+
* StreamAttributes sceneComparison.
|
|
13779
|
+
* @member {vertexvis.protobuf.stream.ISceneComparisonAttributes|null|undefined} sceneComparison
|
|
13780
|
+
* @memberof vertexvis.protobuf.stream.StreamAttributes
|
|
13781
|
+
* @instance
|
|
13782
|
+
*/
|
|
13783
|
+
StreamAttributes.prototype.sceneComparison = null;
|
|
13784
|
+
|
|
13776
13785
|
/**
|
|
13777
13786
|
* Creates a new StreamAttributes instance using the specified properties.
|
|
13778
13787
|
* @function create
|
|
@@ -13817,6 +13826,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13817
13826
|
$root.vertexvis.protobuf.stream.PhantomAttributes.encode(message.phantomItems, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
|
|
13818
13827
|
if (message.frames != null && Object.hasOwnProperty.call(message, "frames"))
|
|
13819
13828
|
$root.vertexvis.protobuf.stream.FrameAttributes.encode(message.frames, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
|
|
13829
|
+
if (message.sceneComparison != null && Object.hasOwnProperty.call(message, "sceneComparison"))
|
|
13830
|
+
$root.vertexvis.protobuf.stream.SceneComparisonAttributes.encode(message.sceneComparison, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
|
|
13820
13831
|
return writer;
|
|
13821
13832
|
};
|
|
13822
13833
|
|
|
@@ -13881,6 +13892,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13881
13892
|
case 10:
|
|
13882
13893
|
message.frames = $root.vertexvis.protobuf.stream.FrameAttributes.decode(reader, reader.uint32());
|
|
13883
13894
|
break;
|
|
13895
|
+
case 11:
|
|
13896
|
+
message.sceneComparison = $root.vertexvis.protobuf.stream.SceneComparisonAttributes.decode(reader, reader.uint32());
|
|
13897
|
+
break;
|
|
13884
13898
|
default:
|
|
13885
13899
|
reader.skipType(tag & 7);
|
|
13886
13900
|
break;
|
|
@@ -13962,6 +13976,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13962
13976
|
if (error)
|
|
13963
13977
|
return "frames." + error;
|
|
13964
13978
|
}
|
|
13979
|
+
if (message.sceneComparison != null && message.hasOwnProperty("sceneComparison")) {
|
|
13980
|
+
let error = $root.vertexvis.protobuf.stream.SceneComparisonAttributes.verify(message.sceneComparison);
|
|
13981
|
+
if (error)
|
|
13982
|
+
return "sceneComparison." + error;
|
|
13983
|
+
}
|
|
13965
13984
|
return null;
|
|
13966
13985
|
};
|
|
13967
13986
|
|
|
@@ -14021,6 +14040,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14021
14040
|
throw TypeError(".vertexvis.protobuf.stream.StreamAttributes.frames: object expected");
|
|
14022
14041
|
message.frames = $root.vertexvis.protobuf.stream.FrameAttributes.fromObject(object.frames);
|
|
14023
14042
|
}
|
|
14043
|
+
if (object.sceneComparison != null) {
|
|
14044
|
+
if (typeof object.sceneComparison !== "object")
|
|
14045
|
+
throw TypeError(".vertexvis.protobuf.stream.StreamAttributes.sceneComparison: object expected");
|
|
14046
|
+
message.sceneComparison = $root.vertexvis.protobuf.stream.SceneComparisonAttributes.fromObject(object.sceneComparison);
|
|
14047
|
+
}
|
|
14024
14048
|
return message;
|
|
14025
14049
|
};
|
|
14026
14050
|
|
|
@@ -14048,6 +14072,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14048
14072
|
object.selectionHighlighting = null;
|
|
14049
14073
|
object.phantomItems = null;
|
|
14050
14074
|
object.frames = null;
|
|
14075
|
+
object.sceneComparison = null;
|
|
14051
14076
|
}
|
|
14052
14077
|
if (message.experimentalGhosting != null && message.hasOwnProperty("experimentalGhosting"))
|
|
14053
14078
|
object.experimentalGhosting = $root.vertexvis.protobuf.stream.GhostingAttributes.toObject(message.experimentalGhosting, options);
|
|
@@ -14069,6 +14094,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14069
14094
|
object.phantomItems = $root.vertexvis.protobuf.stream.PhantomAttributes.toObject(message.phantomItems, options);
|
|
14070
14095
|
if (message.frames != null && message.hasOwnProperty("frames"))
|
|
14071
14096
|
object.frames = $root.vertexvis.protobuf.stream.FrameAttributes.toObject(message.frames, options);
|
|
14097
|
+
if (message.sceneComparison != null && message.hasOwnProperty("sceneComparison"))
|
|
14098
|
+
object.sceneComparison = $root.vertexvis.protobuf.stream.SceneComparisonAttributes.toObject(message.sceneComparison, options);
|
|
14072
14099
|
return object;
|
|
14073
14100
|
};
|
|
14074
14101
|
|
|
@@ -15166,6 +15193,226 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15166
15193
|
return AnimationAttributes;
|
|
15167
15194
|
})();
|
|
15168
15195
|
|
|
15196
|
+
stream.SceneComparisonAttributes = (function() {
|
|
15197
|
+
|
|
15198
|
+
/**
|
|
15199
|
+
* Properties of a SceneComparisonAttributes.
|
|
15200
|
+
* @memberof vertexvis.protobuf.stream
|
|
15201
|
+
* @interface ISceneComparisonAttributes
|
|
15202
|
+
* @property {vertexvis.protobuf.core.IUuid2l|null} [sceneIdToCompare] SceneComparisonAttributes sceneIdToCompare
|
|
15203
|
+
* @property {google.protobuf.IStringValue|null} [streamKeyToCompare] SceneComparisonAttributes streamKeyToCompare
|
|
15204
|
+
*/
|
|
15205
|
+
|
|
15206
|
+
/**
|
|
15207
|
+
* Constructs a new SceneComparisonAttributes.
|
|
15208
|
+
* @memberof vertexvis.protobuf.stream
|
|
15209
|
+
* @classdesc Represents a SceneComparisonAttributes.
|
|
15210
|
+
* @implements ISceneComparisonAttributes
|
|
15211
|
+
* @constructor
|
|
15212
|
+
* @param {vertexvis.protobuf.stream.ISceneComparisonAttributes=} [properties] Properties to set
|
|
15213
|
+
*/
|
|
15214
|
+
function SceneComparisonAttributes(properties) {
|
|
15215
|
+
if (properties)
|
|
15216
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
15217
|
+
if (properties[keys[i]] != null)
|
|
15218
|
+
this[keys[i]] = properties[keys[i]];
|
|
15219
|
+
}
|
|
15220
|
+
|
|
15221
|
+
/**
|
|
15222
|
+
* SceneComparisonAttributes sceneIdToCompare.
|
|
15223
|
+
* @member {vertexvis.protobuf.core.IUuid2l|null|undefined} sceneIdToCompare
|
|
15224
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15225
|
+
* @instance
|
|
15226
|
+
*/
|
|
15227
|
+
SceneComparisonAttributes.prototype.sceneIdToCompare = null;
|
|
15228
|
+
|
|
15229
|
+
/**
|
|
15230
|
+
* SceneComparisonAttributes streamKeyToCompare.
|
|
15231
|
+
* @member {google.protobuf.IStringValue|null|undefined} streamKeyToCompare
|
|
15232
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15233
|
+
* @instance
|
|
15234
|
+
*/
|
|
15235
|
+
SceneComparisonAttributes.prototype.streamKeyToCompare = null;
|
|
15236
|
+
|
|
15237
|
+
/**
|
|
15238
|
+
* Creates a new SceneComparisonAttributes instance using the specified properties.
|
|
15239
|
+
* @function create
|
|
15240
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15241
|
+
* @static
|
|
15242
|
+
* @param {vertexvis.protobuf.stream.ISceneComparisonAttributes=} [properties] Properties to set
|
|
15243
|
+
* @returns {vertexvis.protobuf.stream.SceneComparisonAttributes} SceneComparisonAttributes instance
|
|
15244
|
+
*/
|
|
15245
|
+
SceneComparisonAttributes.create = function create(properties) {
|
|
15246
|
+
return new SceneComparisonAttributes(properties);
|
|
15247
|
+
};
|
|
15248
|
+
|
|
15249
|
+
/**
|
|
15250
|
+
* Encodes the specified SceneComparisonAttributes message. Does not implicitly {@link vertexvis.protobuf.stream.SceneComparisonAttributes.verify|verify} messages.
|
|
15251
|
+
* @function encode
|
|
15252
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15253
|
+
* @static
|
|
15254
|
+
* @param {vertexvis.protobuf.stream.ISceneComparisonAttributes} message SceneComparisonAttributes message or plain object to encode
|
|
15255
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15256
|
+
* @returns {$protobuf.Writer} Writer
|
|
15257
|
+
*/
|
|
15258
|
+
SceneComparisonAttributes.encode = function encode(message, writer) {
|
|
15259
|
+
if (!writer)
|
|
15260
|
+
writer = $Writer.create();
|
|
15261
|
+
if (message.sceneIdToCompare != null && Object.hasOwnProperty.call(message, "sceneIdToCompare"))
|
|
15262
|
+
$root.vertexvis.protobuf.core.Uuid2l.encode(message.sceneIdToCompare, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
15263
|
+
if (message.streamKeyToCompare != null && Object.hasOwnProperty.call(message, "streamKeyToCompare"))
|
|
15264
|
+
$root.google.protobuf.StringValue.encode(message.streamKeyToCompare, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
15265
|
+
return writer;
|
|
15266
|
+
};
|
|
15267
|
+
|
|
15268
|
+
/**
|
|
15269
|
+
* Encodes the specified SceneComparisonAttributes message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.SceneComparisonAttributes.verify|verify} messages.
|
|
15270
|
+
* @function encodeDelimited
|
|
15271
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15272
|
+
* @static
|
|
15273
|
+
* @param {vertexvis.protobuf.stream.ISceneComparisonAttributes} message SceneComparisonAttributes message or plain object to encode
|
|
15274
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15275
|
+
* @returns {$protobuf.Writer} Writer
|
|
15276
|
+
*/
|
|
15277
|
+
SceneComparisonAttributes.encodeDelimited = function encodeDelimited(message, writer) {
|
|
15278
|
+
return this.encode(message, writer).ldelim();
|
|
15279
|
+
};
|
|
15280
|
+
|
|
15281
|
+
/**
|
|
15282
|
+
* Decodes a SceneComparisonAttributes message from the specified reader or buffer.
|
|
15283
|
+
* @function decode
|
|
15284
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15285
|
+
* @static
|
|
15286
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15287
|
+
* @param {number} [length] Message length if known beforehand
|
|
15288
|
+
* @returns {vertexvis.protobuf.stream.SceneComparisonAttributes} SceneComparisonAttributes
|
|
15289
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15290
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15291
|
+
*/
|
|
15292
|
+
SceneComparisonAttributes.decode = function decode(reader, length) {
|
|
15293
|
+
if (!(reader instanceof $Reader))
|
|
15294
|
+
reader = $Reader.create(reader);
|
|
15295
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.SceneComparisonAttributes();
|
|
15296
|
+
while (reader.pos < end) {
|
|
15297
|
+
let tag = reader.uint32();
|
|
15298
|
+
switch (tag >>> 3) {
|
|
15299
|
+
case 1:
|
|
15300
|
+
message.sceneIdToCompare = $root.vertexvis.protobuf.core.Uuid2l.decode(reader, reader.uint32());
|
|
15301
|
+
break;
|
|
15302
|
+
case 2:
|
|
15303
|
+
message.streamKeyToCompare = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
|
|
15304
|
+
break;
|
|
15305
|
+
default:
|
|
15306
|
+
reader.skipType(tag & 7);
|
|
15307
|
+
break;
|
|
15308
|
+
}
|
|
15309
|
+
}
|
|
15310
|
+
return message;
|
|
15311
|
+
};
|
|
15312
|
+
|
|
15313
|
+
/**
|
|
15314
|
+
* Decodes a SceneComparisonAttributes message from the specified reader or buffer, length delimited.
|
|
15315
|
+
* @function decodeDelimited
|
|
15316
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15317
|
+
* @static
|
|
15318
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15319
|
+
* @returns {vertexvis.protobuf.stream.SceneComparisonAttributes} SceneComparisonAttributes
|
|
15320
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15321
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15322
|
+
*/
|
|
15323
|
+
SceneComparisonAttributes.decodeDelimited = function decodeDelimited(reader) {
|
|
15324
|
+
if (!(reader instanceof $Reader))
|
|
15325
|
+
reader = new $Reader(reader);
|
|
15326
|
+
return this.decode(reader, reader.uint32());
|
|
15327
|
+
};
|
|
15328
|
+
|
|
15329
|
+
/**
|
|
15330
|
+
* Verifies a SceneComparisonAttributes message.
|
|
15331
|
+
* @function verify
|
|
15332
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15333
|
+
* @static
|
|
15334
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
15335
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
15336
|
+
*/
|
|
15337
|
+
SceneComparisonAttributes.verify = function verify(message) {
|
|
15338
|
+
if (typeof message !== "object" || message === null)
|
|
15339
|
+
return "object expected";
|
|
15340
|
+
if (message.sceneIdToCompare != null && message.hasOwnProperty("sceneIdToCompare")) {
|
|
15341
|
+
let error = $root.vertexvis.protobuf.core.Uuid2l.verify(message.sceneIdToCompare);
|
|
15342
|
+
if (error)
|
|
15343
|
+
return "sceneIdToCompare." + error;
|
|
15344
|
+
}
|
|
15345
|
+
if (message.streamKeyToCompare != null && message.hasOwnProperty("streamKeyToCompare")) {
|
|
15346
|
+
let error = $root.google.protobuf.StringValue.verify(message.streamKeyToCompare);
|
|
15347
|
+
if (error)
|
|
15348
|
+
return "streamKeyToCompare." + error;
|
|
15349
|
+
}
|
|
15350
|
+
return null;
|
|
15351
|
+
};
|
|
15352
|
+
|
|
15353
|
+
/**
|
|
15354
|
+
* Creates a SceneComparisonAttributes message from a plain object. Also converts values to their respective internal types.
|
|
15355
|
+
* @function fromObject
|
|
15356
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15357
|
+
* @static
|
|
15358
|
+
* @param {Object.<string,*>} object Plain object
|
|
15359
|
+
* @returns {vertexvis.protobuf.stream.SceneComparisonAttributes} SceneComparisonAttributes
|
|
15360
|
+
*/
|
|
15361
|
+
SceneComparisonAttributes.fromObject = function fromObject(object) {
|
|
15362
|
+
if (object instanceof $root.vertexvis.protobuf.stream.SceneComparisonAttributes)
|
|
15363
|
+
return object;
|
|
15364
|
+
let message = new $root.vertexvis.protobuf.stream.SceneComparisonAttributes();
|
|
15365
|
+
if (object.sceneIdToCompare != null) {
|
|
15366
|
+
if (typeof object.sceneIdToCompare !== "object")
|
|
15367
|
+
throw TypeError(".vertexvis.protobuf.stream.SceneComparisonAttributes.sceneIdToCompare: object expected");
|
|
15368
|
+
message.sceneIdToCompare = $root.vertexvis.protobuf.core.Uuid2l.fromObject(object.sceneIdToCompare);
|
|
15369
|
+
}
|
|
15370
|
+
if (object.streamKeyToCompare != null) {
|
|
15371
|
+
if (typeof object.streamKeyToCompare !== "object")
|
|
15372
|
+
throw TypeError(".vertexvis.protobuf.stream.SceneComparisonAttributes.streamKeyToCompare: object expected");
|
|
15373
|
+
message.streamKeyToCompare = $root.google.protobuf.StringValue.fromObject(object.streamKeyToCompare);
|
|
15374
|
+
}
|
|
15375
|
+
return message;
|
|
15376
|
+
};
|
|
15377
|
+
|
|
15378
|
+
/**
|
|
15379
|
+
* Creates a plain object from a SceneComparisonAttributes message. Also converts values to other types if specified.
|
|
15380
|
+
* @function toObject
|
|
15381
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15382
|
+
* @static
|
|
15383
|
+
* @param {vertexvis.protobuf.stream.SceneComparisonAttributes} message SceneComparisonAttributes
|
|
15384
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
15385
|
+
* @returns {Object.<string,*>} Plain object
|
|
15386
|
+
*/
|
|
15387
|
+
SceneComparisonAttributes.toObject = function toObject(message, options) {
|
|
15388
|
+
if (!options)
|
|
15389
|
+
options = {};
|
|
15390
|
+
let object = {};
|
|
15391
|
+
if (options.defaults) {
|
|
15392
|
+
object.sceneIdToCompare = null;
|
|
15393
|
+
object.streamKeyToCompare = null;
|
|
15394
|
+
}
|
|
15395
|
+
if (message.sceneIdToCompare != null && message.hasOwnProperty("sceneIdToCompare"))
|
|
15396
|
+
object.sceneIdToCompare = $root.vertexvis.protobuf.core.Uuid2l.toObject(message.sceneIdToCompare, options);
|
|
15397
|
+
if (message.streamKeyToCompare != null && message.hasOwnProperty("streamKeyToCompare"))
|
|
15398
|
+
object.streamKeyToCompare = $root.google.protobuf.StringValue.toObject(message.streamKeyToCompare, options);
|
|
15399
|
+
return object;
|
|
15400
|
+
};
|
|
15401
|
+
|
|
15402
|
+
/**
|
|
15403
|
+
* Converts this SceneComparisonAttributes to JSON.
|
|
15404
|
+
* @function toJSON
|
|
15405
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15406
|
+
* @instance
|
|
15407
|
+
* @returns {Object.<string,*>} JSON object
|
|
15408
|
+
*/
|
|
15409
|
+
SceneComparisonAttributes.prototype.toJSON = function toJSON() {
|
|
15410
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
15411
|
+
};
|
|
15412
|
+
|
|
15413
|
+
return SceneComparisonAttributes;
|
|
15414
|
+
})();
|
|
15415
|
+
|
|
15169
15416
|
stream.FrameAttributes = (function() {
|
|
15170
15417
|
|
|
15171
15418
|
/**
|