@aceplus/smartace-api 3.4.0-alpha.13 → 3.4.0-alpha.14

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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "grpc-web": "^1.4.2",
6
6
  "ts-protoc-gen": "^0.15.0"
7
7
  },
8
- "version": "3.4.0-alpha.13",
8
+ "version": "3.4.0-alpha.14",
9
9
  "description": "Generated proto files.",
10
10
  "author": "TKF",
11
11
  "files": [
@@ -63,6 +63,9 @@ export namespace HistoryProto {
63
63
 
64
64
  getAttributesMap(): jspb.Map<string, string>;
65
65
  clearAttributesMap(): void;
66
+ getInitialValue(): string;
67
+ setInitialValue(value: string): void;
68
+
66
69
  serializeBinary(): Uint8Array;
67
70
  toObject(includeInstance?: boolean): ComponentHistory.AsObject;
68
71
  static toObject(includeInstance: boolean, msg: ComponentHistory): ComponentHistory.AsObject;
@@ -79,6 +82,7 @@ export namespace HistoryProto {
79
82
  componentId: string,
80
83
  componentClass: string,
81
84
  attributesMap: Array<[string, string]>,
85
+ initialValue: string,
82
86
  }
83
87
  }
84
88
 
@@ -494,7 +494,8 @@ proto.Spic.HistoryProto.ComponentHistory.toObject = function(includeInstance, ms
494
494
  proto.Spic.HistoryProto.StateSnapshot.toObject, includeInstance),
495
495
  componentId: jspb.Message.getFieldWithDefault(msg, 2, ""),
496
496
  componentClass: jspb.Message.getFieldWithDefault(msg, 3, ""),
497
- attributesMap: (f = msg.getAttributesMap()) ? f.toObject(includeInstance, undefined) : []
497
+ attributesMap: (f = msg.getAttributesMap()) ? f.toObject(includeInstance, undefined) : [],
498
+ initialValue: jspb.Message.getFieldWithDefault(msg, 5, "")
498
499
  };
499
500
 
500
501
  if (includeInstance) {
@@ -550,6 +551,10 @@ proto.Spic.HistoryProto.ComponentHistory.deserializeBinaryFromReader = function(
550
551
  jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
551
552
  });
552
553
  break;
554
+ case 5:
555
+ var value = /** @type {string} */ (reader.readString());
556
+ msg.setInitialValue(value);
557
+ break;
553
558
  default:
554
559
  reader.skipField();
555
560
  break;
@@ -605,6 +610,13 @@ proto.Spic.HistoryProto.ComponentHistory.serializeBinaryToWriter = function(mess
605
610
  if (f && f.getLength() > 0) {
606
611
  f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
607
612
  }
613
+ f = message.getInitialValue();
614
+ if (f.length > 0) {
615
+ writer.writeString(
616
+ 5,
617
+ f
618
+ );
619
+ }
608
620
  };
609
621
 
610
622
 
@@ -705,6 +717,24 @@ proto.Spic.HistoryProto.ComponentHistory.prototype.clearAttributesMap = function
705
717
  };
706
718
 
707
719
 
720
+ /**
721
+ * optional string initial_value = 5;
722
+ * @return {string}
723
+ */
724
+ proto.Spic.HistoryProto.ComponentHistory.prototype.getInitialValue = function() {
725
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
726
+ };
727
+
728
+
729
+ /**
730
+ * @param {string} value
731
+ * @return {!proto.Spic.HistoryProto.ComponentHistory} returns this
732
+ */
733
+ proto.Spic.HistoryProto.ComponentHistory.prototype.setInitialValue = function(value) {
734
+ return jspb.Message.setProto3StringField(this, 5, value);
735
+ };
736
+
737
+
708
738
 
709
739
  /**
710
740
  * List of repeated fields within this message type.