protobuf-platform 1.2.353 → 1.2.354
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
|
@@ -662,6 +662,7 @@ message CustomWidgetRow {
|
|
|
662
662
|
optional int32 priority_order = 2;
|
|
663
663
|
optional string config = 3; // JSON string; item-type-specific settings
|
|
664
664
|
optional string item_key = 4; // stable row id; backend-generated when missing
|
|
665
|
+
optional string data = 5; // JSON string; CMS-enriched payload, separate from config
|
|
665
666
|
}
|
|
666
667
|
message CustomWidgetItem {
|
|
667
668
|
optional int32 id = 1;
|
package/cms/cms_pb.js
CHANGED
|
@@ -27956,7 +27956,8 @@ proto.cms.CustomWidgetRow.toObject = function(includeInstance, msg) {
|
|
|
27956
27956
|
itemType: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
27957
27957
|
priorityOrder: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
27958
27958
|
config: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
27959
|
-
itemKey: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
27959
|
+
itemKey: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
27960
|
+
data: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
27960
27961
|
};
|
|
27961
27962
|
|
|
27962
27963
|
if (includeInstance) {
|
|
@@ -28009,6 +28010,10 @@ proto.cms.CustomWidgetRow.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
28009
28010
|
var value = /** @type {string} */ (reader.readString());
|
|
28010
28011
|
msg.setItemKey(value);
|
|
28011
28012
|
break;
|
|
28013
|
+
case 5:
|
|
28014
|
+
var value = /** @type {string} */ (reader.readString());
|
|
28015
|
+
msg.setData(value);
|
|
28016
|
+
break;
|
|
28012
28017
|
default:
|
|
28013
28018
|
reader.skipField();
|
|
28014
28019
|
break;
|
|
@@ -28066,6 +28071,13 @@ proto.cms.CustomWidgetRow.serializeBinaryToWriter = function(message, writer) {
|
|
|
28066
28071
|
f
|
|
28067
28072
|
);
|
|
28068
28073
|
}
|
|
28074
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
28075
|
+
if (f != null) {
|
|
28076
|
+
writer.writeString(
|
|
28077
|
+
5,
|
|
28078
|
+
f
|
|
28079
|
+
);
|
|
28080
|
+
}
|
|
28069
28081
|
};
|
|
28070
28082
|
|
|
28071
28083
|
|
|
@@ -28213,6 +28225,42 @@ proto.cms.CustomWidgetRow.prototype.hasItemKey = function() {
|
|
|
28213
28225
|
};
|
|
28214
28226
|
|
|
28215
28227
|
|
|
28228
|
+
/**
|
|
28229
|
+
* optional string data = 5;
|
|
28230
|
+
* @return {string}
|
|
28231
|
+
*/
|
|
28232
|
+
proto.cms.CustomWidgetRow.prototype.getData = function() {
|
|
28233
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
28234
|
+
};
|
|
28235
|
+
|
|
28236
|
+
|
|
28237
|
+
/**
|
|
28238
|
+
* @param {string} value
|
|
28239
|
+
* @return {!proto.cms.CustomWidgetRow} returns this
|
|
28240
|
+
*/
|
|
28241
|
+
proto.cms.CustomWidgetRow.prototype.setData = function(value) {
|
|
28242
|
+
return jspb.Message.setField(this, 5, value);
|
|
28243
|
+
};
|
|
28244
|
+
|
|
28245
|
+
|
|
28246
|
+
/**
|
|
28247
|
+
* Clears the field making it undefined.
|
|
28248
|
+
* @return {!proto.cms.CustomWidgetRow} returns this
|
|
28249
|
+
*/
|
|
28250
|
+
proto.cms.CustomWidgetRow.prototype.clearData = function() {
|
|
28251
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
28252
|
+
};
|
|
28253
|
+
|
|
28254
|
+
|
|
28255
|
+
/**
|
|
28256
|
+
* Returns whether this field is set.
|
|
28257
|
+
* @return {boolean}
|
|
28258
|
+
*/
|
|
28259
|
+
proto.cms.CustomWidgetRow.prototype.hasData = function() {
|
|
28260
|
+
return jspb.Message.getField(this, 5) != null;
|
|
28261
|
+
};
|
|
28262
|
+
|
|
28263
|
+
|
|
28216
28264
|
|
|
28217
28265
|
/**
|
|
28218
28266
|
* List of repeated fields within this message type.
|