protobuf-platform 1.2.109 → 1.2.110
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 +1 -0
- package/cms/cms_pb.js +49 -1
- package/package.json +1 -1
package/cms/cms.proto
CHANGED
|
@@ -450,6 +450,7 @@ message FooterPartnersMediaItem {
|
|
|
450
450
|
optional string alt = 3;
|
|
451
451
|
optional string image_cdn = 4; // final CDN URL after R2 upload
|
|
452
452
|
optional string image = 5; // filename from file system
|
|
453
|
+
optional int32 id = 6; // unique id of media
|
|
453
454
|
}
|
|
454
455
|
|
|
455
456
|
/**
|
package/cms/cms_pb.js
CHANGED
|
@@ -17923,7 +17923,8 @@ proto.cms.FooterPartnersMediaItem.toObject = function(includeInstance, msg) {
|
|
|
17923
17923
|
priority: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
17924
17924
|
alt: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
17925
17925
|
imageCdn: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
17926
|
-
image: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
17926
|
+
image: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
17927
|
+
id: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
17927
17928
|
};
|
|
17928
17929
|
|
|
17929
17930
|
if (includeInstance) {
|
|
@@ -17980,6 +17981,10 @@ proto.cms.FooterPartnersMediaItem.deserializeBinaryFromReader = function(msg, re
|
|
|
17980
17981
|
var value = /** @type {string} */ (reader.readString());
|
|
17981
17982
|
msg.setImage(value);
|
|
17982
17983
|
break;
|
|
17984
|
+
case 6:
|
|
17985
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
17986
|
+
msg.setId(value);
|
|
17987
|
+
break;
|
|
17983
17988
|
default:
|
|
17984
17989
|
reader.skipField();
|
|
17985
17990
|
break;
|
|
@@ -18044,6 +18049,13 @@ proto.cms.FooterPartnersMediaItem.serializeBinaryToWriter = function(message, wr
|
|
|
18044
18049
|
f
|
|
18045
18050
|
);
|
|
18046
18051
|
}
|
|
18052
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
|
18053
|
+
if (f != null) {
|
|
18054
|
+
writer.writeInt32(
|
|
18055
|
+
6,
|
|
18056
|
+
f
|
|
18057
|
+
);
|
|
18058
|
+
}
|
|
18047
18059
|
};
|
|
18048
18060
|
|
|
18049
18061
|
|
|
@@ -18227,6 +18239,42 @@ proto.cms.FooterPartnersMediaItem.prototype.hasImage = function() {
|
|
|
18227
18239
|
};
|
|
18228
18240
|
|
|
18229
18241
|
|
|
18242
|
+
/**
|
|
18243
|
+
* optional int32 id = 6;
|
|
18244
|
+
* @return {number}
|
|
18245
|
+
*/
|
|
18246
|
+
proto.cms.FooterPartnersMediaItem.prototype.getId = function() {
|
|
18247
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
18248
|
+
};
|
|
18249
|
+
|
|
18250
|
+
|
|
18251
|
+
/**
|
|
18252
|
+
* @param {number} value
|
|
18253
|
+
* @return {!proto.cms.FooterPartnersMediaItem} returns this
|
|
18254
|
+
*/
|
|
18255
|
+
proto.cms.FooterPartnersMediaItem.prototype.setId = function(value) {
|
|
18256
|
+
return jspb.Message.setField(this, 6, value);
|
|
18257
|
+
};
|
|
18258
|
+
|
|
18259
|
+
|
|
18260
|
+
/**
|
|
18261
|
+
* Clears the field making it undefined.
|
|
18262
|
+
* @return {!proto.cms.FooterPartnersMediaItem} returns this
|
|
18263
|
+
*/
|
|
18264
|
+
proto.cms.FooterPartnersMediaItem.prototype.clearId = function() {
|
|
18265
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
18266
|
+
};
|
|
18267
|
+
|
|
18268
|
+
|
|
18269
|
+
/**
|
|
18270
|
+
* Returns whether this field is set.
|
|
18271
|
+
* @return {boolean}
|
|
18272
|
+
*/
|
|
18273
|
+
proto.cms.FooterPartnersMediaItem.prototype.hasId = function() {
|
|
18274
|
+
return jspb.Message.getField(this, 6) != null;
|
|
18275
|
+
};
|
|
18276
|
+
|
|
18277
|
+
|
|
18230
18278
|
|
|
18231
18279
|
/**
|
|
18232
18280
|
* List of repeated fields within this message type.
|