protobuf-platform 1.2.99 → 1.2.100

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.
@@ -184,6 +184,7 @@ message MirrorItem {
184
184
  optional string status = 8;
185
185
  optional int32 is_active = 9;
186
186
  optional string id = 10;
187
+ optional int32 is_default = 11;
187
188
  }
188
189
  message MirrorResponse {
189
190
  MirrorItem data = 1;
@@ -6742,7 +6742,8 @@ proto.config.MirrorItem.toObject = function(includeInstance, msg) {
6742
6742
  priority: jspb.Message.getFieldWithDefault(msg, 7, ""),
6743
6743
  status: jspb.Message.getFieldWithDefault(msg, 8, ""),
6744
6744
  isActive: jspb.Message.getFieldWithDefault(msg, 9, 0),
6745
- id: jspb.Message.getFieldWithDefault(msg, 10, "")
6745
+ id: jspb.Message.getFieldWithDefault(msg, 10, ""),
6746
+ isDefault: jspb.Message.getFieldWithDefault(msg, 11, 0)
6746
6747
  };
6747
6748
 
6748
6749
  if (includeInstance) {
@@ -6819,6 +6820,10 @@ proto.config.MirrorItem.deserializeBinaryFromReader = function(msg, reader) {
6819
6820
  var value = /** @type {string} */ (reader.readString());
6820
6821
  msg.setId(value);
6821
6822
  break;
6823
+ case 11:
6824
+ var value = /** @type {number} */ (reader.readInt32());
6825
+ msg.setIsDefault(value);
6826
+ break;
6822
6827
  default:
6823
6828
  reader.skipField();
6824
6829
  break;
@@ -6918,6 +6923,13 @@ proto.config.MirrorItem.serializeBinaryToWriter = function(message, writer) {
6918
6923
  f
6919
6924
  );
6920
6925
  }
6926
+ f = /** @type {number} */ (jspb.Message.getField(message, 11));
6927
+ if (f != null) {
6928
+ writer.writeInt32(
6929
+ 11,
6930
+ f
6931
+ );
6932
+ }
6921
6933
  };
6922
6934
 
6923
6935
 
@@ -7282,6 +7294,42 @@ proto.config.MirrorItem.prototype.hasId = function() {
7282
7294
  };
7283
7295
 
7284
7296
 
7297
+ /**
7298
+ * optional int32 is_default = 11;
7299
+ * @return {number}
7300
+ */
7301
+ proto.config.MirrorItem.prototype.getIsDefault = function() {
7302
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
7303
+ };
7304
+
7305
+
7306
+ /**
7307
+ * @param {number} value
7308
+ * @return {!proto.config.MirrorItem} returns this
7309
+ */
7310
+ proto.config.MirrorItem.prototype.setIsDefault = function(value) {
7311
+ return jspb.Message.setField(this, 11, value);
7312
+ };
7313
+
7314
+
7315
+ /**
7316
+ * Clears the field making it undefined.
7317
+ * @return {!proto.config.MirrorItem} returns this
7318
+ */
7319
+ proto.config.MirrorItem.prototype.clearIsDefault = function() {
7320
+ return jspb.Message.setField(this, 11, undefined);
7321
+ };
7322
+
7323
+
7324
+ /**
7325
+ * Returns whether this field is set.
7326
+ * @return {boolean}
7327
+ */
7328
+ proto.config.MirrorItem.prototype.hasIsDefault = function() {
7329
+ return jspb.Message.getField(this, 11) != null;
7330
+ };
7331
+
7332
+
7285
7333
 
7286
7334
 
7287
7335
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.99",
3
+ "version": "1.2.100",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {