protobuf-platform 1.2.104 → 1.2.106

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
@@ -427,6 +427,7 @@ message FooterPartnersMediaItem {
427
427
  optional int32 priority = 2;
428
428
  optional string alt = 3;
429
429
  optional string image_cdn = 4; // final CDN URL after R2 upload
430
+ optional string image = 5; // filename from file system
430
431
  }
431
432
 
432
433
  /**
package/cms/cms_pb.js CHANGED
@@ -17327,7 +17327,8 @@ proto.cms.FooterPartnersMediaItem.toObject = function(includeInstance, msg) {
17327
17327
  href: jspb.Message.getFieldWithDefault(msg, 1, ""),
17328
17328
  priority: jspb.Message.getFieldWithDefault(msg, 2, 0),
17329
17329
  alt: jspb.Message.getFieldWithDefault(msg, 3, ""),
17330
- imageCdn: jspb.Message.getFieldWithDefault(msg, 4, "")
17330
+ imageCdn: jspb.Message.getFieldWithDefault(msg, 4, ""),
17331
+ image: jspb.Message.getFieldWithDefault(msg, 5, "")
17331
17332
  };
17332
17333
 
17333
17334
  if (includeInstance) {
@@ -17380,6 +17381,10 @@ proto.cms.FooterPartnersMediaItem.deserializeBinaryFromReader = function(msg, re
17380
17381
  var value = /** @type {string} */ (reader.readString());
17381
17382
  msg.setImageCdn(value);
17382
17383
  break;
17384
+ case 5:
17385
+ var value = /** @type {string} */ (reader.readString());
17386
+ msg.setImage(value);
17387
+ break;
17383
17388
  default:
17384
17389
  reader.skipField();
17385
17390
  break;
@@ -17437,6 +17442,13 @@ proto.cms.FooterPartnersMediaItem.serializeBinaryToWriter = function(message, wr
17437
17442
  f
17438
17443
  );
17439
17444
  }
17445
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
17446
+ if (f != null) {
17447
+ writer.writeString(
17448
+ 5,
17449
+ f
17450
+ );
17451
+ }
17440
17452
  };
17441
17453
 
17442
17454
 
@@ -17584,6 +17596,42 @@ proto.cms.FooterPartnersMediaItem.prototype.hasImageCdn = function() {
17584
17596
  };
17585
17597
 
17586
17598
 
17599
+ /**
17600
+ * optional string image = 5;
17601
+ * @return {string}
17602
+ */
17603
+ proto.cms.FooterPartnersMediaItem.prototype.getImage = function() {
17604
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
17605
+ };
17606
+
17607
+
17608
+ /**
17609
+ * @param {string} value
17610
+ * @return {!proto.cms.FooterPartnersMediaItem} returns this
17611
+ */
17612
+ proto.cms.FooterPartnersMediaItem.prototype.setImage = function(value) {
17613
+ return jspb.Message.setField(this, 5, value);
17614
+ };
17615
+
17616
+
17617
+ /**
17618
+ * Clears the field making it undefined.
17619
+ * @return {!proto.cms.FooterPartnersMediaItem} returns this
17620
+ */
17621
+ proto.cms.FooterPartnersMediaItem.prototype.clearImage = function() {
17622
+ return jspb.Message.setField(this, 5, undefined);
17623
+ };
17624
+
17625
+
17626
+ /**
17627
+ * Returns whether this field is set.
17628
+ * @return {boolean}
17629
+ */
17630
+ proto.cms.FooterPartnersMediaItem.prototype.hasImage = function() {
17631
+ return jspb.Message.getField(this, 5) != null;
17632
+ };
17633
+
17634
+
17587
17635
 
17588
17636
  /**
17589
17637
  * 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.104",
3
+ "version": "1.2.106",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {