protobuf-platform 1.2.354 → 1.2.355

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/cms/cms.proto CHANGED
@@ -686,6 +686,7 @@ message GetCustomWidgetForUserRequest {
686
686
  optional string geo = 2;
687
687
  optional string locale = 3;
688
688
  optional bool is_mobile = 4;
689
+ optional bool admin_side = 5;
689
690
  }
690
691
  message CustomWidgetsItemsResponse {
691
692
  repeated CustomWidgetItem items = 1;
package/cms/cms_pb.js CHANGED
@@ -29122,7 +29122,8 @@ proto.cms.GetCustomWidgetForUserRequest.toObject = function(includeInstance, msg
29122
29122
  id: jspb.Message.getFieldWithDefault(msg, 1, 0),
29123
29123
  geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
29124
29124
  locale: jspb.Message.getFieldWithDefault(msg, 3, ""),
29125
- isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
29125
+ isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
29126
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
29126
29127
  };
29127
29128
 
29128
29129
  if (includeInstance) {
@@ -29175,6 +29176,10 @@ proto.cms.GetCustomWidgetForUserRequest.deserializeBinaryFromReader = function(m
29175
29176
  var value = /** @type {boolean} */ (reader.readBool());
29176
29177
  msg.setIsMobile(value);
29177
29178
  break;
29179
+ case 5:
29180
+ var value = /** @type {boolean} */ (reader.readBool());
29181
+ msg.setAdminSide(value);
29182
+ break;
29178
29183
  default:
29179
29184
  reader.skipField();
29180
29185
  break;
@@ -29232,6 +29237,13 @@ proto.cms.GetCustomWidgetForUserRequest.serializeBinaryToWriter = function(messa
29232
29237
  f
29233
29238
  );
29234
29239
  }
29240
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
29241
+ if (f != null) {
29242
+ writer.writeBool(
29243
+ 5,
29244
+ f
29245
+ );
29246
+ }
29235
29247
  };
29236
29248
 
29237
29249
 
@@ -29361,6 +29373,42 @@ proto.cms.GetCustomWidgetForUserRequest.prototype.hasIsMobile = function() {
29361
29373
  };
29362
29374
 
29363
29375
 
29376
+ /**
29377
+ * optional bool admin_side = 5;
29378
+ * @return {boolean}
29379
+ */
29380
+ proto.cms.GetCustomWidgetForUserRequest.prototype.getAdminSide = function() {
29381
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
29382
+ };
29383
+
29384
+
29385
+ /**
29386
+ * @param {boolean} value
29387
+ * @return {!proto.cms.GetCustomWidgetForUserRequest} returns this
29388
+ */
29389
+ proto.cms.GetCustomWidgetForUserRequest.prototype.setAdminSide = function(value) {
29390
+ return jspb.Message.setField(this, 5, value);
29391
+ };
29392
+
29393
+
29394
+ /**
29395
+ * Clears the field making it undefined.
29396
+ * @return {!proto.cms.GetCustomWidgetForUserRequest} returns this
29397
+ */
29398
+ proto.cms.GetCustomWidgetForUserRequest.prototype.clearAdminSide = function() {
29399
+ return jspb.Message.setField(this, 5, undefined);
29400
+ };
29401
+
29402
+
29403
+ /**
29404
+ * Returns whether this field is set.
29405
+ * @return {boolean}
29406
+ */
29407
+ proto.cms.GetCustomWidgetForUserRequest.prototype.hasAdminSide = function() {
29408
+ return jspb.Message.getField(this, 5) != null;
29409
+ };
29410
+
29411
+
29364
29412
 
29365
29413
  /**
29366
29414
  * List of repeated fields within this message type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.354",
3
+ "version": "1.2.355",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {