@vertexvis/stream-api 0.19.2-canary.1 → 0.19.2-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.
- package/dist/bundle.cjs.js +690 -2
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +690 -2
- package/dist/bundle.esm.js.map +1 -1
- package/package.json +5 -5
package/dist/bundle.cjs.js
CHANGED
|
@@ -9396,6 +9396,565 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
9396
9396
|
return ChangeEndItemOperation;
|
|
9397
9397
|
})();
|
|
9398
9398
|
|
|
9399
|
+
stream.ViewRenditionOperation = (function() {
|
|
9400
|
+
|
|
9401
|
+
/**
|
|
9402
|
+
* Properties of a ViewRenditionOperation.
|
|
9403
|
+
* @memberof vertexvis.protobuf.stream
|
|
9404
|
+
* @interface IViewRenditionOperation
|
|
9405
|
+
* @property {vertexvis.protobuf.core.IUuid|null} [id] ViewRenditionOperation id
|
|
9406
|
+
* @property {string|null} [suppliedId] ViewRenditionOperation suppliedId
|
|
9407
|
+
*/
|
|
9408
|
+
|
|
9409
|
+
/**
|
|
9410
|
+
* Constructs a new ViewRenditionOperation.
|
|
9411
|
+
* @memberof vertexvis.protobuf.stream
|
|
9412
|
+
* @classdesc Represents a ViewRenditionOperation.
|
|
9413
|
+
* @implements IViewRenditionOperation
|
|
9414
|
+
* @constructor
|
|
9415
|
+
* @param {vertexvis.protobuf.stream.IViewRenditionOperation=} [properties] Properties to set
|
|
9416
|
+
*/
|
|
9417
|
+
function ViewRenditionOperation(properties) {
|
|
9418
|
+
if (properties)
|
|
9419
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
9420
|
+
if (properties[keys[i]] != null)
|
|
9421
|
+
this[keys[i]] = properties[keys[i]];
|
|
9422
|
+
}
|
|
9423
|
+
|
|
9424
|
+
/**
|
|
9425
|
+
* ViewRenditionOperation id.
|
|
9426
|
+
* @member {vertexvis.protobuf.core.IUuid|null|undefined} id
|
|
9427
|
+
* @memberof vertexvis.protobuf.stream.ViewRenditionOperation
|
|
9428
|
+
* @instance
|
|
9429
|
+
*/
|
|
9430
|
+
ViewRenditionOperation.prototype.id = null;
|
|
9431
|
+
|
|
9432
|
+
/**
|
|
9433
|
+
* ViewRenditionOperation suppliedId.
|
|
9434
|
+
* @member {string|null|undefined} suppliedId
|
|
9435
|
+
* @memberof vertexvis.protobuf.stream.ViewRenditionOperation
|
|
9436
|
+
* @instance
|
|
9437
|
+
*/
|
|
9438
|
+
ViewRenditionOperation.prototype.suppliedId = null;
|
|
9439
|
+
|
|
9440
|
+
// OneOf field names bound to virtual getters and setters
|
|
9441
|
+
let $oneOfFields;
|
|
9442
|
+
|
|
9443
|
+
/**
|
|
9444
|
+
* ViewRenditionOperation rendition.
|
|
9445
|
+
* @member {"id"|"suppliedId"|undefined} rendition
|
|
9446
|
+
* @memberof vertexvis.protobuf.stream.ViewRenditionOperation
|
|
9447
|
+
* @instance
|
|
9448
|
+
*/
|
|
9449
|
+
Object.defineProperty(ViewRenditionOperation.prototype, "rendition", {
|
|
9450
|
+
get: $util.oneOfGetter($oneOfFields = ["id", "suppliedId"]),
|
|
9451
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
9452
|
+
});
|
|
9453
|
+
|
|
9454
|
+
/**
|
|
9455
|
+
* Creates a new ViewRenditionOperation instance using the specified properties.
|
|
9456
|
+
* @function create
|
|
9457
|
+
* @memberof vertexvis.protobuf.stream.ViewRenditionOperation
|
|
9458
|
+
* @static
|
|
9459
|
+
* @param {vertexvis.protobuf.stream.IViewRenditionOperation=} [properties] Properties to set
|
|
9460
|
+
* @returns {vertexvis.protobuf.stream.ViewRenditionOperation} ViewRenditionOperation instance
|
|
9461
|
+
*/
|
|
9462
|
+
ViewRenditionOperation.create = function create(properties) {
|
|
9463
|
+
return new ViewRenditionOperation(properties);
|
|
9464
|
+
};
|
|
9465
|
+
|
|
9466
|
+
/**
|
|
9467
|
+
* Encodes the specified ViewRenditionOperation message. Does not implicitly {@link vertexvis.protobuf.stream.ViewRenditionOperation.verify|verify} messages.
|
|
9468
|
+
* @function encode
|
|
9469
|
+
* @memberof vertexvis.protobuf.stream.ViewRenditionOperation
|
|
9470
|
+
* @static
|
|
9471
|
+
* @param {vertexvis.protobuf.stream.IViewRenditionOperation} message ViewRenditionOperation message or plain object to encode
|
|
9472
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
9473
|
+
* @returns {$protobuf.Writer} Writer
|
|
9474
|
+
*/
|
|
9475
|
+
ViewRenditionOperation.encode = function encode(message, writer) {
|
|
9476
|
+
if (!writer)
|
|
9477
|
+
writer = $Writer.create();
|
|
9478
|
+
if (message.id != null && Object.hasOwnProperty.call(message, "id"))
|
|
9479
|
+
$root.vertexvis.protobuf.core.Uuid.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
9480
|
+
if (message.suppliedId != null && Object.hasOwnProperty.call(message, "suppliedId"))
|
|
9481
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.suppliedId);
|
|
9482
|
+
return writer;
|
|
9483
|
+
};
|
|
9484
|
+
|
|
9485
|
+
/**
|
|
9486
|
+
* Encodes the specified ViewRenditionOperation message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.ViewRenditionOperation.verify|verify} messages.
|
|
9487
|
+
* @function encodeDelimited
|
|
9488
|
+
* @memberof vertexvis.protobuf.stream.ViewRenditionOperation
|
|
9489
|
+
* @static
|
|
9490
|
+
* @param {vertexvis.protobuf.stream.IViewRenditionOperation} message ViewRenditionOperation message or plain object to encode
|
|
9491
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
9492
|
+
* @returns {$protobuf.Writer} Writer
|
|
9493
|
+
*/
|
|
9494
|
+
ViewRenditionOperation.encodeDelimited = function encodeDelimited(message, writer) {
|
|
9495
|
+
return this.encode(message, writer).ldelim();
|
|
9496
|
+
};
|
|
9497
|
+
|
|
9498
|
+
/**
|
|
9499
|
+
* Decodes a ViewRenditionOperation message from the specified reader or buffer.
|
|
9500
|
+
* @function decode
|
|
9501
|
+
* @memberof vertexvis.protobuf.stream.ViewRenditionOperation
|
|
9502
|
+
* @static
|
|
9503
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
9504
|
+
* @param {number} [length] Message length if known beforehand
|
|
9505
|
+
* @returns {vertexvis.protobuf.stream.ViewRenditionOperation} ViewRenditionOperation
|
|
9506
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9507
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9508
|
+
*/
|
|
9509
|
+
ViewRenditionOperation.decode = function decode(reader, length) {
|
|
9510
|
+
if (!(reader instanceof $Reader))
|
|
9511
|
+
reader = $Reader.create(reader);
|
|
9512
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.ViewRenditionOperation();
|
|
9513
|
+
while (reader.pos < end) {
|
|
9514
|
+
let tag = reader.uint32();
|
|
9515
|
+
switch (tag >>> 3) {
|
|
9516
|
+
case 1:
|
|
9517
|
+
message.id = $root.vertexvis.protobuf.core.Uuid.decode(reader, reader.uint32());
|
|
9518
|
+
break;
|
|
9519
|
+
case 2:
|
|
9520
|
+
message.suppliedId = reader.string();
|
|
9521
|
+
break;
|
|
9522
|
+
default:
|
|
9523
|
+
reader.skipType(tag & 7);
|
|
9524
|
+
break;
|
|
9525
|
+
}
|
|
9526
|
+
}
|
|
9527
|
+
return message;
|
|
9528
|
+
};
|
|
9529
|
+
|
|
9530
|
+
/**
|
|
9531
|
+
* Decodes a ViewRenditionOperation message from the specified reader or buffer, length delimited.
|
|
9532
|
+
* @function decodeDelimited
|
|
9533
|
+
* @memberof vertexvis.protobuf.stream.ViewRenditionOperation
|
|
9534
|
+
* @static
|
|
9535
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
9536
|
+
* @returns {vertexvis.protobuf.stream.ViewRenditionOperation} ViewRenditionOperation
|
|
9537
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9538
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9539
|
+
*/
|
|
9540
|
+
ViewRenditionOperation.decodeDelimited = function decodeDelimited(reader) {
|
|
9541
|
+
if (!(reader instanceof $Reader))
|
|
9542
|
+
reader = new $Reader(reader);
|
|
9543
|
+
return this.decode(reader, reader.uint32());
|
|
9544
|
+
};
|
|
9545
|
+
|
|
9546
|
+
/**
|
|
9547
|
+
* Verifies a ViewRenditionOperation message.
|
|
9548
|
+
* @function verify
|
|
9549
|
+
* @memberof vertexvis.protobuf.stream.ViewRenditionOperation
|
|
9550
|
+
* @static
|
|
9551
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
9552
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
9553
|
+
*/
|
|
9554
|
+
ViewRenditionOperation.verify = function verify(message) {
|
|
9555
|
+
if (typeof message !== "object" || message === null)
|
|
9556
|
+
return "object expected";
|
|
9557
|
+
let properties = {};
|
|
9558
|
+
if (message.id != null && message.hasOwnProperty("id")) {
|
|
9559
|
+
properties.rendition = 1;
|
|
9560
|
+
{
|
|
9561
|
+
let error = $root.vertexvis.protobuf.core.Uuid.verify(message.id);
|
|
9562
|
+
if (error)
|
|
9563
|
+
return "id." + error;
|
|
9564
|
+
}
|
|
9565
|
+
}
|
|
9566
|
+
if (message.suppliedId != null && message.hasOwnProperty("suppliedId")) {
|
|
9567
|
+
if (properties.rendition === 1)
|
|
9568
|
+
return "rendition: multiple values";
|
|
9569
|
+
properties.rendition = 1;
|
|
9570
|
+
if (!$util.isString(message.suppliedId))
|
|
9571
|
+
return "suppliedId: string expected";
|
|
9572
|
+
}
|
|
9573
|
+
return null;
|
|
9574
|
+
};
|
|
9575
|
+
|
|
9576
|
+
/**
|
|
9577
|
+
* Creates a ViewRenditionOperation message from a plain object. Also converts values to their respective internal types.
|
|
9578
|
+
* @function fromObject
|
|
9579
|
+
* @memberof vertexvis.protobuf.stream.ViewRenditionOperation
|
|
9580
|
+
* @static
|
|
9581
|
+
* @param {Object.<string,*>} object Plain object
|
|
9582
|
+
* @returns {vertexvis.protobuf.stream.ViewRenditionOperation} ViewRenditionOperation
|
|
9583
|
+
*/
|
|
9584
|
+
ViewRenditionOperation.fromObject = function fromObject(object) {
|
|
9585
|
+
if (object instanceof $root.vertexvis.protobuf.stream.ViewRenditionOperation)
|
|
9586
|
+
return object;
|
|
9587
|
+
let message = new $root.vertexvis.protobuf.stream.ViewRenditionOperation();
|
|
9588
|
+
if (object.id != null) {
|
|
9589
|
+
if (typeof object.id !== "object")
|
|
9590
|
+
throw TypeError(".vertexvis.protobuf.stream.ViewRenditionOperation.id: object expected");
|
|
9591
|
+
message.id = $root.vertexvis.protobuf.core.Uuid.fromObject(object.id);
|
|
9592
|
+
}
|
|
9593
|
+
if (object.suppliedId != null)
|
|
9594
|
+
message.suppliedId = String(object.suppliedId);
|
|
9595
|
+
return message;
|
|
9596
|
+
};
|
|
9597
|
+
|
|
9598
|
+
/**
|
|
9599
|
+
* Creates a plain object from a ViewRenditionOperation message. Also converts values to other types if specified.
|
|
9600
|
+
* @function toObject
|
|
9601
|
+
* @memberof vertexvis.protobuf.stream.ViewRenditionOperation
|
|
9602
|
+
* @static
|
|
9603
|
+
* @param {vertexvis.protobuf.stream.ViewRenditionOperation} message ViewRenditionOperation
|
|
9604
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
9605
|
+
* @returns {Object.<string,*>} Plain object
|
|
9606
|
+
*/
|
|
9607
|
+
ViewRenditionOperation.toObject = function toObject(message, options) {
|
|
9608
|
+
if (!options)
|
|
9609
|
+
options = {};
|
|
9610
|
+
let object = {};
|
|
9611
|
+
if (message.id != null && message.hasOwnProperty("id")) {
|
|
9612
|
+
object.id = $root.vertexvis.protobuf.core.Uuid.toObject(message.id, options);
|
|
9613
|
+
if (options.oneofs)
|
|
9614
|
+
object.rendition = "id";
|
|
9615
|
+
}
|
|
9616
|
+
if (message.suppliedId != null && message.hasOwnProperty("suppliedId")) {
|
|
9617
|
+
object.suppliedId = message.suppliedId;
|
|
9618
|
+
if (options.oneofs)
|
|
9619
|
+
object.rendition = "suppliedId";
|
|
9620
|
+
}
|
|
9621
|
+
return object;
|
|
9622
|
+
};
|
|
9623
|
+
|
|
9624
|
+
/**
|
|
9625
|
+
* Converts this ViewRenditionOperation to JSON.
|
|
9626
|
+
* @function toJSON
|
|
9627
|
+
* @memberof vertexvis.protobuf.stream.ViewRenditionOperation
|
|
9628
|
+
* @instance
|
|
9629
|
+
* @returns {Object.<string,*>} JSON object
|
|
9630
|
+
*/
|
|
9631
|
+
ViewRenditionOperation.prototype.toJSON = function toJSON() {
|
|
9632
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
9633
|
+
};
|
|
9634
|
+
|
|
9635
|
+
return ViewRenditionOperation;
|
|
9636
|
+
})();
|
|
9637
|
+
|
|
9638
|
+
stream.ViewDefaultRenditionOperation = (function() {
|
|
9639
|
+
|
|
9640
|
+
/**
|
|
9641
|
+
* Properties of a ViewDefaultRenditionOperation.
|
|
9642
|
+
* @memberof vertexvis.protobuf.stream
|
|
9643
|
+
* @interface IViewDefaultRenditionOperation
|
|
9644
|
+
*/
|
|
9645
|
+
|
|
9646
|
+
/**
|
|
9647
|
+
* Constructs a new ViewDefaultRenditionOperation.
|
|
9648
|
+
* @memberof vertexvis.protobuf.stream
|
|
9649
|
+
* @classdesc Represents a ViewDefaultRenditionOperation.
|
|
9650
|
+
* @implements IViewDefaultRenditionOperation
|
|
9651
|
+
* @constructor
|
|
9652
|
+
* @param {vertexvis.protobuf.stream.IViewDefaultRenditionOperation=} [properties] Properties to set
|
|
9653
|
+
*/
|
|
9654
|
+
function ViewDefaultRenditionOperation(properties) {
|
|
9655
|
+
if (properties)
|
|
9656
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
9657
|
+
if (properties[keys[i]] != null)
|
|
9658
|
+
this[keys[i]] = properties[keys[i]];
|
|
9659
|
+
}
|
|
9660
|
+
|
|
9661
|
+
/**
|
|
9662
|
+
* Creates a new ViewDefaultRenditionOperation instance using the specified properties.
|
|
9663
|
+
* @function create
|
|
9664
|
+
* @memberof vertexvis.protobuf.stream.ViewDefaultRenditionOperation
|
|
9665
|
+
* @static
|
|
9666
|
+
* @param {vertexvis.protobuf.stream.IViewDefaultRenditionOperation=} [properties] Properties to set
|
|
9667
|
+
* @returns {vertexvis.protobuf.stream.ViewDefaultRenditionOperation} ViewDefaultRenditionOperation instance
|
|
9668
|
+
*/
|
|
9669
|
+
ViewDefaultRenditionOperation.create = function create(properties) {
|
|
9670
|
+
return new ViewDefaultRenditionOperation(properties);
|
|
9671
|
+
};
|
|
9672
|
+
|
|
9673
|
+
/**
|
|
9674
|
+
* Encodes the specified ViewDefaultRenditionOperation message. Does not implicitly {@link vertexvis.protobuf.stream.ViewDefaultRenditionOperation.verify|verify} messages.
|
|
9675
|
+
* @function encode
|
|
9676
|
+
* @memberof vertexvis.protobuf.stream.ViewDefaultRenditionOperation
|
|
9677
|
+
* @static
|
|
9678
|
+
* @param {vertexvis.protobuf.stream.IViewDefaultRenditionOperation} message ViewDefaultRenditionOperation message or plain object to encode
|
|
9679
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
9680
|
+
* @returns {$protobuf.Writer} Writer
|
|
9681
|
+
*/
|
|
9682
|
+
ViewDefaultRenditionOperation.encode = function encode(message, writer) {
|
|
9683
|
+
if (!writer)
|
|
9684
|
+
writer = $Writer.create();
|
|
9685
|
+
return writer;
|
|
9686
|
+
};
|
|
9687
|
+
|
|
9688
|
+
/**
|
|
9689
|
+
* Encodes the specified ViewDefaultRenditionOperation message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.ViewDefaultRenditionOperation.verify|verify} messages.
|
|
9690
|
+
* @function encodeDelimited
|
|
9691
|
+
* @memberof vertexvis.protobuf.stream.ViewDefaultRenditionOperation
|
|
9692
|
+
* @static
|
|
9693
|
+
* @param {vertexvis.protobuf.stream.IViewDefaultRenditionOperation} message ViewDefaultRenditionOperation message or plain object to encode
|
|
9694
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
9695
|
+
* @returns {$protobuf.Writer} Writer
|
|
9696
|
+
*/
|
|
9697
|
+
ViewDefaultRenditionOperation.encodeDelimited = function encodeDelimited(message, writer) {
|
|
9698
|
+
return this.encode(message, writer).ldelim();
|
|
9699
|
+
};
|
|
9700
|
+
|
|
9701
|
+
/**
|
|
9702
|
+
* Decodes a ViewDefaultRenditionOperation message from the specified reader or buffer.
|
|
9703
|
+
* @function decode
|
|
9704
|
+
* @memberof vertexvis.protobuf.stream.ViewDefaultRenditionOperation
|
|
9705
|
+
* @static
|
|
9706
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
9707
|
+
* @param {number} [length] Message length if known beforehand
|
|
9708
|
+
* @returns {vertexvis.protobuf.stream.ViewDefaultRenditionOperation} ViewDefaultRenditionOperation
|
|
9709
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9710
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9711
|
+
*/
|
|
9712
|
+
ViewDefaultRenditionOperation.decode = function decode(reader, length) {
|
|
9713
|
+
if (!(reader instanceof $Reader))
|
|
9714
|
+
reader = $Reader.create(reader);
|
|
9715
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.ViewDefaultRenditionOperation();
|
|
9716
|
+
while (reader.pos < end) {
|
|
9717
|
+
let tag = reader.uint32();
|
|
9718
|
+
switch (tag >>> 3) {
|
|
9719
|
+
default:
|
|
9720
|
+
reader.skipType(tag & 7);
|
|
9721
|
+
break;
|
|
9722
|
+
}
|
|
9723
|
+
}
|
|
9724
|
+
return message;
|
|
9725
|
+
};
|
|
9726
|
+
|
|
9727
|
+
/**
|
|
9728
|
+
* Decodes a ViewDefaultRenditionOperation message from the specified reader or buffer, length delimited.
|
|
9729
|
+
* @function decodeDelimited
|
|
9730
|
+
* @memberof vertexvis.protobuf.stream.ViewDefaultRenditionOperation
|
|
9731
|
+
* @static
|
|
9732
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
9733
|
+
* @returns {vertexvis.protobuf.stream.ViewDefaultRenditionOperation} ViewDefaultRenditionOperation
|
|
9734
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9735
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9736
|
+
*/
|
|
9737
|
+
ViewDefaultRenditionOperation.decodeDelimited = function decodeDelimited(reader) {
|
|
9738
|
+
if (!(reader instanceof $Reader))
|
|
9739
|
+
reader = new $Reader(reader);
|
|
9740
|
+
return this.decode(reader, reader.uint32());
|
|
9741
|
+
};
|
|
9742
|
+
|
|
9743
|
+
/**
|
|
9744
|
+
* Verifies a ViewDefaultRenditionOperation message.
|
|
9745
|
+
* @function verify
|
|
9746
|
+
* @memberof vertexvis.protobuf.stream.ViewDefaultRenditionOperation
|
|
9747
|
+
* @static
|
|
9748
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
9749
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
9750
|
+
*/
|
|
9751
|
+
ViewDefaultRenditionOperation.verify = function verify(message) {
|
|
9752
|
+
if (typeof message !== "object" || message === null)
|
|
9753
|
+
return "object expected";
|
|
9754
|
+
return null;
|
|
9755
|
+
};
|
|
9756
|
+
|
|
9757
|
+
/**
|
|
9758
|
+
* Creates a ViewDefaultRenditionOperation message from a plain object. Also converts values to their respective internal types.
|
|
9759
|
+
* @function fromObject
|
|
9760
|
+
* @memberof vertexvis.protobuf.stream.ViewDefaultRenditionOperation
|
|
9761
|
+
* @static
|
|
9762
|
+
* @param {Object.<string,*>} object Plain object
|
|
9763
|
+
* @returns {vertexvis.protobuf.stream.ViewDefaultRenditionOperation} ViewDefaultRenditionOperation
|
|
9764
|
+
*/
|
|
9765
|
+
ViewDefaultRenditionOperation.fromObject = function fromObject(object) {
|
|
9766
|
+
if (object instanceof $root.vertexvis.protobuf.stream.ViewDefaultRenditionOperation)
|
|
9767
|
+
return object;
|
|
9768
|
+
return new $root.vertexvis.protobuf.stream.ViewDefaultRenditionOperation();
|
|
9769
|
+
};
|
|
9770
|
+
|
|
9771
|
+
/**
|
|
9772
|
+
* Creates a plain object from a ViewDefaultRenditionOperation message. Also converts values to other types if specified.
|
|
9773
|
+
* @function toObject
|
|
9774
|
+
* @memberof vertexvis.protobuf.stream.ViewDefaultRenditionOperation
|
|
9775
|
+
* @static
|
|
9776
|
+
* @param {vertexvis.protobuf.stream.ViewDefaultRenditionOperation} message ViewDefaultRenditionOperation
|
|
9777
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
9778
|
+
* @returns {Object.<string,*>} Plain object
|
|
9779
|
+
*/
|
|
9780
|
+
ViewDefaultRenditionOperation.toObject = function toObject() {
|
|
9781
|
+
return {};
|
|
9782
|
+
};
|
|
9783
|
+
|
|
9784
|
+
/**
|
|
9785
|
+
* Converts this ViewDefaultRenditionOperation to JSON.
|
|
9786
|
+
* @function toJSON
|
|
9787
|
+
* @memberof vertexvis.protobuf.stream.ViewDefaultRenditionOperation
|
|
9788
|
+
* @instance
|
|
9789
|
+
* @returns {Object.<string,*>} JSON object
|
|
9790
|
+
*/
|
|
9791
|
+
ViewDefaultRenditionOperation.prototype.toJSON = function toJSON() {
|
|
9792
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
9793
|
+
};
|
|
9794
|
+
|
|
9795
|
+
return ViewDefaultRenditionOperation;
|
|
9796
|
+
})();
|
|
9797
|
+
|
|
9798
|
+
stream.ClearRenditionOperation = (function() {
|
|
9799
|
+
|
|
9800
|
+
/**
|
|
9801
|
+
* Properties of a ClearRenditionOperation.
|
|
9802
|
+
* @memberof vertexvis.protobuf.stream
|
|
9803
|
+
* @interface IClearRenditionOperation
|
|
9804
|
+
*/
|
|
9805
|
+
|
|
9806
|
+
/**
|
|
9807
|
+
* Constructs a new ClearRenditionOperation.
|
|
9808
|
+
* @memberof vertexvis.protobuf.stream
|
|
9809
|
+
* @classdesc Represents a ClearRenditionOperation.
|
|
9810
|
+
* @implements IClearRenditionOperation
|
|
9811
|
+
* @constructor
|
|
9812
|
+
* @param {vertexvis.protobuf.stream.IClearRenditionOperation=} [properties] Properties to set
|
|
9813
|
+
*/
|
|
9814
|
+
function ClearRenditionOperation(properties) {
|
|
9815
|
+
if (properties)
|
|
9816
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
9817
|
+
if (properties[keys[i]] != null)
|
|
9818
|
+
this[keys[i]] = properties[keys[i]];
|
|
9819
|
+
}
|
|
9820
|
+
|
|
9821
|
+
/**
|
|
9822
|
+
* Creates a new ClearRenditionOperation instance using the specified properties.
|
|
9823
|
+
* @function create
|
|
9824
|
+
* @memberof vertexvis.protobuf.stream.ClearRenditionOperation
|
|
9825
|
+
* @static
|
|
9826
|
+
* @param {vertexvis.protobuf.stream.IClearRenditionOperation=} [properties] Properties to set
|
|
9827
|
+
* @returns {vertexvis.protobuf.stream.ClearRenditionOperation} ClearRenditionOperation instance
|
|
9828
|
+
*/
|
|
9829
|
+
ClearRenditionOperation.create = function create(properties) {
|
|
9830
|
+
return new ClearRenditionOperation(properties);
|
|
9831
|
+
};
|
|
9832
|
+
|
|
9833
|
+
/**
|
|
9834
|
+
* Encodes the specified ClearRenditionOperation message. Does not implicitly {@link vertexvis.protobuf.stream.ClearRenditionOperation.verify|verify} messages.
|
|
9835
|
+
* @function encode
|
|
9836
|
+
* @memberof vertexvis.protobuf.stream.ClearRenditionOperation
|
|
9837
|
+
* @static
|
|
9838
|
+
* @param {vertexvis.protobuf.stream.IClearRenditionOperation} message ClearRenditionOperation message or plain object to encode
|
|
9839
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
9840
|
+
* @returns {$protobuf.Writer} Writer
|
|
9841
|
+
*/
|
|
9842
|
+
ClearRenditionOperation.encode = function encode(message, writer) {
|
|
9843
|
+
if (!writer)
|
|
9844
|
+
writer = $Writer.create();
|
|
9845
|
+
return writer;
|
|
9846
|
+
};
|
|
9847
|
+
|
|
9848
|
+
/**
|
|
9849
|
+
* Encodes the specified ClearRenditionOperation message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.ClearRenditionOperation.verify|verify} messages.
|
|
9850
|
+
* @function encodeDelimited
|
|
9851
|
+
* @memberof vertexvis.protobuf.stream.ClearRenditionOperation
|
|
9852
|
+
* @static
|
|
9853
|
+
* @param {vertexvis.protobuf.stream.IClearRenditionOperation} message ClearRenditionOperation message or plain object to encode
|
|
9854
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
9855
|
+
* @returns {$protobuf.Writer} Writer
|
|
9856
|
+
*/
|
|
9857
|
+
ClearRenditionOperation.encodeDelimited = function encodeDelimited(message, writer) {
|
|
9858
|
+
return this.encode(message, writer).ldelim();
|
|
9859
|
+
};
|
|
9860
|
+
|
|
9861
|
+
/**
|
|
9862
|
+
* Decodes a ClearRenditionOperation message from the specified reader or buffer.
|
|
9863
|
+
* @function decode
|
|
9864
|
+
* @memberof vertexvis.protobuf.stream.ClearRenditionOperation
|
|
9865
|
+
* @static
|
|
9866
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
9867
|
+
* @param {number} [length] Message length if known beforehand
|
|
9868
|
+
* @returns {vertexvis.protobuf.stream.ClearRenditionOperation} ClearRenditionOperation
|
|
9869
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9870
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9871
|
+
*/
|
|
9872
|
+
ClearRenditionOperation.decode = function decode(reader, length) {
|
|
9873
|
+
if (!(reader instanceof $Reader))
|
|
9874
|
+
reader = $Reader.create(reader);
|
|
9875
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.ClearRenditionOperation();
|
|
9876
|
+
while (reader.pos < end) {
|
|
9877
|
+
let tag = reader.uint32();
|
|
9878
|
+
switch (tag >>> 3) {
|
|
9879
|
+
default:
|
|
9880
|
+
reader.skipType(tag & 7);
|
|
9881
|
+
break;
|
|
9882
|
+
}
|
|
9883
|
+
}
|
|
9884
|
+
return message;
|
|
9885
|
+
};
|
|
9886
|
+
|
|
9887
|
+
/**
|
|
9888
|
+
* Decodes a ClearRenditionOperation message from the specified reader or buffer, length delimited.
|
|
9889
|
+
* @function decodeDelimited
|
|
9890
|
+
* @memberof vertexvis.protobuf.stream.ClearRenditionOperation
|
|
9891
|
+
* @static
|
|
9892
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
9893
|
+
* @returns {vertexvis.protobuf.stream.ClearRenditionOperation} ClearRenditionOperation
|
|
9894
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9895
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9896
|
+
*/
|
|
9897
|
+
ClearRenditionOperation.decodeDelimited = function decodeDelimited(reader) {
|
|
9898
|
+
if (!(reader instanceof $Reader))
|
|
9899
|
+
reader = new $Reader(reader);
|
|
9900
|
+
return this.decode(reader, reader.uint32());
|
|
9901
|
+
};
|
|
9902
|
+
|
|
9903
|
+
/**
|
|
9904
|
+
* Verifies a ClearRenditionOperation message.
|
|
9905
|
+
* @function verify
|
|
9906
|
+
* @memberof vertexvis.protobuf.stream.ClearRenditionOperation
|
|
9907
|
+
* @static
|
|
9908
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
9909
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
9910
|
+
*/
|
|
9911
|
+
ClearRenditionOperation.verify = function verify(message) {
|
|
9912
|
+
if (typeof message !== "object" || message === null)
|
|
9913
|
+
return "object expected";
|
|
9914
|
+
return null;
|
|
9915
|
+
};
|
|
9916
|
+
|
|
9917
|
+
/**
|
|
9918
|
+
* Creates a ClearRenditionOperation message from a plain object. Also converts values to their respective internal types.
|
|
9919
|
+
* @function fromObject
|
|
9920
|
+
* @memberof vertexvis.protobuf.stream.ClearRenditionOperation
|
|
9921
|
+
* @static
|
|
9922
|
+
* @param {Object.<string,*>} object Plain object
|
|
9923
|
+
* @returns {vertexvis.protobuf.stream.ClearRenditionOperation} ClearRenditionOperation
|
|
9924
|
+
*/
|
|
9925
|
+
ClearRenditionOperation.fromObject = function fromObject(object) {
|
|
9926
|
+
if (object instanceof $root.vertexvis.protobuf.stream.ClearRenditionOperation)
|
|
9927
|
+
return object;
|
|
9928
|
+
return new $root.vertexvis.protobuf.stream.ClearRenditionOperation();
|
|
9929
|
+
};
|
|
9930
|
+
|
|
9931
|
+
/**
|
|
9932
|
+
* Creates a plain object from a ClearRenditionOperation message. Also converts values to other types if specified.
|
|
9933
|
+
* @function toObject
|
|
9934
|
+
* @memberof vertexvis.protobuf.stream.ClearRenditionOperation
|
|
9935
|
+
* @static
|
|
9936
|
+
* @param {vertexvis.protobuf.stream.ClearRenditionOperation} message ClearRenditionOperation
|
|
9937
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
9938
|
+
* @returns {Object.<string,*>} Plain object
|
|
9939
|
+
*/
|
|
9940
|
+
ClearRenditionOperation.toObject = function toObject() {
|
|
9941
|
+
return {};
|
|
9942
|
+
};
|
|
9943
|
+
|
|
9944
|
+
/**
|
|
9945
|
+
* Converts this ClearRenditionOperation to JSON.
|
|
9946
|
+
* @function toJSON
|
|
9947
|
+
* @memberof vertexvis.protobuf.stream.ClearRenditionOperation
|
|
9948
|
+
* @instance
|
|
9949
|
+
* @returns {Object.<string,*>} JSON object
|
|
9950
|
+
*/
|
|
9951
|
+
ClearRenditionOperation.prototype.toJSON = function toJSON() {
|
|
9952
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
9953
|
+
};
|
|
9954
|
+
|
|
9955
|
+
return ClearRenditionOperation;
|
|
9956
|
+
})();
|
|
9957
|
+
|
|
9399
9958
|
stream.OperationType = (function() {
|
|
9400
9959
|
|
|
9401
9960
|
/**
|
|
@@ -9409,6 +9968,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
9409
9968
|
* @property {vertexvis.protobuf.stream.IClearTransformOperation|null} [clearTransform] OperationType clearTransform
|
|
9410
9969
|
* @property {vertexvis.protobuf.stream.IChangePhantomOperation|null} [changePhantom] OperationType changePhantom
|
|
9411
9970
|
* @property {vertexvis.protobuf.stream.IChangeEndItemOperation|null} [changeEndItem] OperationType changeEndItem
|
|
9971
|
+
* @property {vertexvis.protobuf.stream.IViewRenditionOperation|null} [viewRendition] OperationType viewRendition
|
|
9972
|
+
* @property {vertexvis.protobuf.stream.IViewDefaultRenditionOperation|null} [viewDefaultRendition] OperationType viewDefaultRendition
|
|
9973
|
+
* @property {vertexvis.protobuf.stream.IClearRenditionOperation|null} [clearRendition] OperationType clearRendition
|
|
9412
9974
|
*/
|
|
9413
9975
|
|
|
9414
9976
|
/**
|
|
@@ -9482,17 +10044,41 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
9482
10044
|
*/
|
|
9483
10045
|
OperationType.prototype.changeEndItem = null;
|
|
9484
10046
|
|
|
10047
|
+
/**
|
|
10048
|
+
* OperationType viewRendition.
|
|
10049
|
+
* @member {vertexvis.protobuf.stream.IViewRenditionOperation|null|undefined} viewRendition
|
|
10050
|
+
* @memberof vertexvis.protobuf.stream.OperationType
|
|
10051
|
+
* @instance
|
|
10052
|
+
*/
|
|
10053
|
+
OperationType.prototype.viewRendition = null;
|
|
10054
|
+
|
|
10055
|
+
/**
|
|
10056
|
+
* OperationType viewDefaultRendition.
|
|
10057
|
+
* @member {vertexvis.protobuf.stream.IViewDefaultRenditionOperation|null|undefined} viewDefaultRendition
|
|
10058
|
+
* @memberof vertexvis.protobuf.stream.OperationType
|
|
10059
|
+
* @instance
|
|
10060
|
+
*/
|
|
10061
|
+
OperationType.prototype.viewDefaultRendition = null;
|
|
10062
|
+
|
|
10063
|
+
/**
|
|
10064
|
+
* OperationType clearRendition.
|
|
10065
|
+
* @member {vertexvis.protobuf.stream.IClearRenditionOperation|null|undefined} clearRendition
|
|
10066
|
+
* @memberof vertexvis.protobuf.stream.OperationType
|
|
10067
|
+
* @instance
|
|
10068
|
+
*/
|
|
10069
|
+
OperationType.prototype.clearRendition = null;
|
|
10070
|
+
|
|
9485
10071
|
// OneOf field names bound to virtual getters and setters
|
|
9486
10072
|
let $oneOfFields;
|
|
9487
10073
|
|
|
9488
10074
|
/**
|
|
9489
10075
|
* OperationType value.
|
|
9490
|
-
* @member {"changeMaterial"|"changeVisibility"|"changeTransform"|"changeSelection"|"clearTransform"|"changePhantom"|"changeEndItem"|undefined} value
|
|
10076
|
+
* @member {"changeMaterial"|"changeVisibility"|"changeTransform"|"changeSelection"|"clearTransform"|"changePhantom"|"changeEndItem"|"viewRendition"|"viewDefaultRendition"|"clearRendition"|undefined} value
|
|
9491
10077
|
* @memberof vertexvis.protobuf.stream.OperationType
|
|
9492
10078
|
* @instance
|
|
9493
10079
|
*/
|
|
9494
10080
|
Object.defineProperty(OperationType.prototype, "value", {
|
|
9495
|
-
get: $util.oneOfGetter($oneOfFields = ["changeMaterial", "changeVisibility", "changeTransform", "changeSelection", "clearTransform", "changePhantom", "changeEndItem"]),
|
|
10081
|
+
get: $util.oneOfGetter($oneOfFields = ["changeMaterial", "changeVisibility", "changeTransform", "changeSelection", "clearTransform", "changePhantom", "changeEndItem", "viewRendition", "viewDefaultRendition", "clearRendition"]),
|
|
9496
10082
|
set: $util.oneOfSetter($oneOfFields)
|
|
9497
10083
|
});
|
|
9498
10084
|
|
|
@@ -9534,6 +10120,12 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
9534
10120
|
$root.vertexvis.protobuf.stream.ChangePhantomOperation.encode(message.changePhantom, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
9535
10121
|
if (message.changeEndItem != null && Object.hasOwnProperty.call(message, "changeEndItem"))
|
|
9536
10122
|
$root.vertexvis.protobuf.stream.ChangeEndItemOperation.encode(message.changeEndItem, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
10123
|
+
if (message.viewRendition != null && Object.hasOwnProperty.call(message, "viewRendition"))
|
|
10124
|
+
$root.vertexvis.protobuf.stream.ViewRenditionOperation.encode(message.viewRendition, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
|
|
10125
|
+
if (message.viewDefaultRendition != null && Object.hasOwnProperty.call(message, "viewDefaultRendition"))
|
|
10126
|
+
$root.vertexvis.protobuf.stream.ViewDefaultRenditionOperation.encode(message.viewDefaultRendition, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
|
|
10127
|
+
if (message.clearRendition != null && Object.hasOwnProperty.call(message, "clearRendition"))
|
|
10128
|
+
$root.vertexvis.protobuf.stream.ClearRenditionOperation.encode(message.clearRendition, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
|
|
9537
10129
|
return writer;
|
|
9538
10130
|
};
|
|
9539
10131
|
|
|
@@ -9589,6 +10181,15 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
9589
10181
|
case 7:
|
|
9590
10182
|
message.changeEndItem = $root.vertexvis.protobuf.stream.ChangeEndItemOperation.decode(reader, reader.uint32());
|
|
9591
10183
|
break;
|
|
10184
|
+
case 8:
|
|
10185
|
+
message.viewRendition = $root.vertexvis.protobuf.stream.ViewRenditionOperation.decode(reader, reader.uint32());
|
|
10186
|
+
break;
|
|
10187
|
+
case 9:
|
|
10188
|
+
message.viewDefaultRendition = $root.vertexvis.protobuf.stream.ViewDefaultRenditionOperation.decode(reader, reader.uint32());
|
|
10189
|
+
break;
|
|
10190
|
+
case 10:
|
|
10191
|
+
message.clearRendition = $root.vertexvis.protobuf.stream.ClearRenditionOperation.decode(reader, reader.uint32());
|
|
10192
|
+
break;
|
|
9592
10193
|
default:
|
|
9593
10194
|
reader.skipType(tag & 7);
|
|
9594
10195
|
break;
|
|
@@ -9693,6 +10294,36 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
9693
10294
|
return "changeEndItem." + error;
|
|
9694
10295
|
}
|
|
9695
10296
|
}
|
|
10297
|
+
if (message.viewRendition != null && message.hasOwnProperty("viewRendition")) {
|
|
10298
|
+
if (properties.value === 1)
|
|
10299
|
+
return "value: multiple values";
|
|
10300
|
+
properties.value = 1;
|
|
10301
|
+
{
|
|
10302
|
+
let error = $root.vertexvis.protobuf.stream.ViewRenditionOperation.verify(message.viewRendition);
|
|
10303
|
+
if (error)
|
|
10304
|
+
return "viewRendition." + error;
|
|
10305
|
+
}
|
|
10306
|
+
}
|
|
10307
|
+
if (message.viewDefaultRendition != null && message.hasOwnProperty("viewDefaultRendition")) {
|
|
10308
|
+
if (properties.value === 1)
|
|
10309
|
+
return "value: multiple values";
|
|
10310
|
+
properties.value = 1;
|
|
10311
|
+
{
|
|
10312
|
+
let error = $root.vertexvis.protobuf.stream.ViewDefaultRenditionOperation.verify(message.viewDefaultRendition);
|
|
10313
|
+
if (error)
|
|
10314
|
+
return "viewDefaultRendition." + error;
|
|
10315
|
+
}
|
|
10316
|
+
}
|
|
10317
|
+
if (message.clearRendition != null && message.hasOwnProperty("clearRendition")) {
|
|
10318
|
+
if (properties.value === 1)
|
|
10319
|
+
return "value: multiple values";
|
|
10320
|
+
properties.value = 1;
|
|
10321
|
+
{
|
|
10322
|
+
let error = $root.vertexvis.protobuf.stream.ClearRenditionOperation.verify(message.clearRendition);
|
|
10323
|
+
if (error)
|
|
10324
|
+
return "clearRendition." + error;
|
|
10325
|
+
}
|
|
10326
|
+
}
|
|
9696
10327
|
return null;
|
|
9697
10328
|
};
|
|
9698
10329
|
|
|
@@ -9743,6 +10374,21 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
9743
10374
|
throw TypeError(".vertexvis.protobuf.stream.OperationType.changeEndItem: object expected");
|
|
9744
10375
|
message.changeEndItem = $root.vertexvis.protobuf.stream.ChangeEndItemOperation.fromObject(object.changeEndItem);
|
|
9745
10376
|
}
|
|
10377
|
+
if (object.viewRendition != null) {
|
|
10378
|
+
if (typeof object.viewRendition !== "object")
|
|
10379
|
+
throw TypeError(".vertexvis.protobuf.stream.OperationType.viewRendition: object expected");
|
|
10380
|
+
message.viewRendition = $root.vertexvis.protobuf.stream.ViewRenditionOperation.fromObject(object.viewRendition);
|
|
10381
|
+
}
|
|
10382
|
+
if (object.viewDefaultRendition != null) {
|
|
10383
|
+
if (typeof object.viewDefaultRendition !== "object")
|
|
10384
|
+
throw TypeError(".vertexvis.protobuf.stream.OperationType.viewDefaultRendition: object expected");
|
|
10385
|
+
message.viewDefaultRendition = $root.vertexvis.protobuf.stream.ViewDefaultRenditionOperation.fromObject(object.viewDefaultRendition);
|
|
10386
|
+
}
|
|
10387
|
+
if (object.clearRendition != null) {
|
|
10388
|
+
if (typeof object.clearRendition !== "object")
|
|
10389
|
+
throw TypeError(".vertexvis.protobuf.stream.OperationType.clearRendition: object expected");
|
|
10390
|
+
message.clearRendition = $root.vertexvis.protobuf.stream.ClearRenditionOperation.fromObject(object.clearRendition);
|
|
10391
|
+
}
|
|
9746
10392
|
return message;
|
|
9747
10393
|
};
|
|
9748
10394
|
|
|
@@ -9794,6 +10440,21 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
9794
10440
|
if (options.oneofs)
|
|
9795
10441
|
object.value = "changeEndItem";
|
|
9796
10442
|
}
|
|
10443
|
+
if (message.viewRendition != null && message.hasOwnProperty("viewRendition")) {
|
|
10444
|
+
object.viewRendition = $root.vertexvis.protobuf.stream.ViewRenditionOperation.toObject(message.viewRendition, options);
|
|
10445
|
+
if (options.oneofs)
|
|
10446
|
+
object.value = "viewRendition";
|
|
10447
|
+
}
|
|
10448
|
+
if (message.viewDefaultRendition != null && message.hasOwnProperty("viewDefaultRendition")) {
|
|
10449
|
+
object.viewDefaultRendition = $root.vertexvis.protobuf.stream.ViewDefaultRenditionOperation.toObject(message.viewDefaultRendition, options);
|
|
10450
|
+
if (options.oneofs)
|
|
10451
|
+
object.value = "viewDefaultRendition";
|
|
10452
|
+
}
|
|
10453
|
+
if (message.clearRendition != null && message.hasOwnProperty("clearRendition")) {
|
|
10454
|
+
object.clearRendition = $root.vertexvis.protobuf.stream.ClearRenditionOperation.toObject(message.clearRendition, options);
|
|
10455
|
+
if (options.oneofs)
|
|
10456
|
+
object.value = "clearRendition";
|
|
10457
|
+
}
|
|
9797
10458
|
return object;
|
|
9798
10459
|
};
|
|
9799
10460
|
|
|
@@ -21522,6 +22183,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
21522
22183
|
* @property {string|null} [itemSuppliedId] FlyToPayload itemSuppliedId
|
|
21523
22184
|
* @property {vertexvis.protobuf.core.IBoundingBox3f|null} [boundingBox] FlyToPayload boundingBox
|
|
21524
22185
|
* @property {vertexvis.protobuf.stream.ICamera|null} [camera] FlyToPayload camera
|
|
22186
|
+
* @property {vertexvis.protobuf.stream.ICamera|null} [baseCamera] FlyToPayload baseCamera
|
|
21525
22187
|
*/
|
|
21526
22188
|
|
|
21527
22189
|
/**
|
|
@@ -21587,6 +22249,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
21587
22249
|
*/
|
|
21588
22250
|
FlyToPayload.prototype.camera = null;
|
|
21589
22251
|
|
|
22252
|
+
/**
|
|
22253
|
+
* FlyToPayload baseCamera.
|
|
22254
|
+
* @member {vertexvis.protobuf.stream.ICamera|null|undefined} baseCamera
|
|
22255
|
+
* @memberof vertexvis.protobuf.stream.FlyToPayload
|
|
22256
|
+
* @instance
|
|
22257
|
+
*/
|
|
22258
|
+
FlyToPayload.prototype.baseCamera = null;
|
|
22259
|
+
|
|
21590
22260
|
// OneOf field names bound to virtual getters and setters
|
|
21591
22261
|
let $oneOfFields;
|
|
21592
22262
|
|
|
@@ -21637,6 +22307,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
21637
22307
|
$root.vertexvis.protobuf.core.BoundingBox3f.encode(message.boundingBox, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
21638
22308
|
if (message.camera != null && Object.hasOwnProperty.call(message, "camera"))
|
|
21639
22309
|
$root.vertexvis.protobuf.stream.Camera.encode(message.camera, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
22310
|
+
if (message.baseCamera != null && Object.hasOwnProperty.call(message, "baseCamera"))
|
|
22311
|
+
$root.vertexvis.protobuf.stream.Camera.encode(message.baseCamera, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
21640
22312
|
return writer;
|
|
21641
22313
|
};
|
|
21642
22314
|
|
|
@@ -21689,6 +22361,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
21689
22361
|
case 6:
|
|
21690
22362
|
message.camera = $root.vertexvis.protobuf.stream.Camera.decode(reader, reader.uint32());
|
|
21691
22363
|
break;
|
|
22364
|
+
case 7:
|
|
22365
|
+
message.baseCamera = $root.vertexvis.protobuf.stream.Camera.decode(reader, reader.uint32());
|
|
22366
|
+
break;
|
|
21692
22367
|
default:
|
|
21693
22368
|
reader.skipType(tag & 7);
|
|
21694
22369
|
break;
|
|
@@ -21770,6 +22445,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
21770
22445
|
return "camera." + error;
|
|
21771
22446
|
}
|
|
21772
22447
|
}
|
|
22448
|
+
if (message.baseCamera != null && message.hasOwnProperty("baseCamera")) {
|
|
22449
|
+
let error = $root.vertexvis.protobuf.stream.Camera.verify(message.baseCamera);
|
|
22450
|
+
if (error)
|
|
22451
|
+
return "baseCamera." + error;
|
|
22452
|
+
}
|
|
21773
22453
|
return null;
|
|
21774
22454
|
};
|
|
21775
22455
|
|
|
@@ -21812,6 +22492,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
21812
22492
|
throw TypeError(".vertexvis.protobuf.stream.FlyToPayload.camera: object expected");
|
|
21813
22493
|
message.camera = $root.vertexvis.protobuf.stream.Camera.fromObject(object.camera);
|
|
21814
22494
|
}
|
|
22495
|
+
if (object.baseCamera != null) {
|
|
22496
|
+
if (typeof object.baseCamera !== "object")
|
|
22497
|
+
throw TypeError(".vertexvis.protobuf.stream.FlyToPayload.baseCamera: object expected");
|
|
22498
|
+
message.baseCamera = $root.vertexvis.protobuf.stream.Camera.fromObject(object.baseCamera);
|
|
22499
|
+
}
|
|
21815
22500
|
return message;
|
|
21816
22501
|
};
|
|
21817
22502
|
|
|
@@ -21831,6 +22516,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
21831
22516
|
if (options.defaults) {
|
|
21832
22517
|
object.frameCorrelationId = null;
|
|
21833
22518
|
object.animation = null;
|
|
22519
|
+
object.baseCamera = null;
|
|
21834
22520
|
}
|
|
21835
22521
|
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId"))
|
|
21836
22522
|
object.frameCorrelationId = $root.google.protobuf.StringValue.toObject(message.frameCorrelationId, options);
|
|
@@ -21856,6 +22542,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
21856
22542
|
if (options.oneofs)
|
|
21857
22543
|
object.flyToType = "camera";
|
|
21858
22544
|
}
|
|
22545
|
+
if (message.baseCamera != null && message.hasOwnProperty("baseCamera"))
|
|
22546
|
+
object.baseCamera = $root.vertexvis.protobuf.stream.Camera.toObject(message.baseCamera, options);
|
|
21859
22547
|
return object;
|
|
21860
22548
|
};
|
|
21861
22549
|
|