protobuf-platform 1.2.178 → 1.2.179

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
@@ -265,6 +265,7 @@ message BannerGroupItem {
265
265
  optional int32 is_active = 4;
266
266
  repeated BannerItem banners = 5;
267
267
  optional string default_image = 6;
268
+ optional string default_image_cdn = 7;
268
269
  }
269
270
  message GetBannerGroupRequest {
270
271
  int32 id = 1;
package/cms/cms_pb.js CHANGED
@@ -10075,7 +10075,8 @@ proto.cms.BannerGroupItem.toObject = function(includeInstance, msg) {
10075
10075
  isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
10076
10076
  bannersList: jspb.Message.toObjectList(msg.getBannersList(),
10077
10077
  proto.cms.BannerItem.toObject, includeInstance),
10078
- defaultImage: jspb.Message.getFieldWithDefault(msg, 6, "")
10078
+ defaultImage: jspb.Message.getFieldWithDefault(msg, 6, ""),
10079
+ defaultImageCdn: jspb.Message.getFieldWithDefault(msg, 7, "")
10079
10080
  };
10080
10081
 
10081
10082
  if (includeInstance) {
@@ -10137,6 +10138,10 @@ proto.cms.BannerGroupItem.deserializeBinaryFromReader = function(msg, reader) {
10137
10138
  var value = /** @type {string} */ (reader.readString());
10138
10139
  msg.setDefaultImage(value);
10139
10140
  break;
10141
+ case 7:
10142
+ var value = /** @type {string} */ (reader.readString());
10143
+ msg.setDefaultImageCdn(value);
10144
+ break;
10140
10145
  default:
10141
10146
  reader.skipField();
10142
10147
  break;
@@ -10209,6 +10214,13 @@ proto.cms.BannerGroupItem.serializeBinaryToWriter = function(message, writer) {
10209
10214
  f
10210
10215
  );
10211
10216
  }
10217
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
10218
+ if (f != null) {
10219
+ writer.writeString(
10220
+ 7,
10221
+ f
10222
+ );
10223
+ }
10212
10224
  };
10213
10225
 
10214
10226
 
@@ -10431,6 +10443,42 @@ proto.cms.BannerGroupItem.prototype.hasDefaultImage = function() {
10431
10443
  };
10432
10444
 
10433
10445
 
10446
+ /**
10447
+ * optional string default_image_cdn = 7;
10448
+ * @return {string}
10449
+ */
10450
+ proto.cms.BannerGroupItem.prototype.getDefaultImageCdn = function() {
10451
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
10452
+ };
10453
+
10454
+
10455
+ /**
10456
+ * @param {string} value
10457
+ * @return {!proto.cms.BannerGroupItem} returns this
10458
+ */
10459
+ proto.cms.BannerGroupItem.prototype.setDefaultImageCdn = function(value) {
10460
+ return jspb.Message.setField(this, 7, value);
10461
+ };
10462
+
10463
+
10464
+ /**
10465
+ * Clears the field making it undefined.
10466
+ * @return {!proto.cms.BannerGroupItem} returns this
10467
+ */
10468
+ proto.cms.BannerGroupItem.prototype.clearDefaultImageCdn = function() {
10469
+ return jspb.Message.setField(this, 7, undefined);
10470
+ };
10471
+
10472
+
10473
+ /**
10474
+ * Returns whether this field is set.
10475
+ * @return {boolean}
10476
+ */
10477
+ proto.cms.BannerGroupItem.prototype.hasDefaultImageCdn = function() {
10478
+ return jspb.Message.getField(this, 7) != null;
10479
+ };
10480
+
10481
+
10434
10482
 
10435
10483
 
10436
10484
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.178",
3
+ "version": "1.2.179",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {