protobuf-platform 1.2.712 → 1.2.713
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 +2 -1
- package/cms/cms_pb.js +21 -3
- package/package.json +1 -1
package/cms/cms.proto
CHANGED
|
@@ -1114,7 +1114,8 @@ message FooterMainTextItemRequest {
|
|
|
1114
1114
|
// Locale-content pair stored inside the same document
|
|
1115
1115
|
message LocaleContentItem {
|
|
1116
1116
|
string locale = 1; // e.g. "en-US"
|
|
1117
|
-
|
|
1117
|
+
// Presence distinguishes a saved empty string from cleared content.
|
|
1118
|
+
optional string content = 2; // localized WYSIWYG
|
|
1118
1119
|
}
|
|
1119
1120
|
|
|
1120
1121
|
// Single entity returned to client
|
package/cms/cms_pb.js
CHANGED
|
@@ -43790,8 +43790,8 @@ proto.cms.LocaleContentItem.serializeBinaryToWriter = function(message, writer)
|
|
|
43790
43790
|
f
|
|
43791
43791
|
);
|
|
43792
43792
|
}
|
|
43793
|
-
f =
|
|
43794
|
-
if (f
|
|
43793
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
43794
|
+
if (f != null) {
|
|
43795
43795
|
writer.writeString(
|
|
43796
43796
|
2,
|
|
43797
43797
|
f
|
|
@@ -43832,7 +43832,25 @@ proto.cms.LocaleContentItem.prototype.getContent = function() {
|
|
|
43832
43832
|
* @return {!proto.cms.LocaleContentItem} returns this
|
|
43833
43833
|
*/
|
|
43834
43834
|
proto.cms.LocaleContentItem.prototype.setContent = function(value) {
|
|
43835
|
-
return jspb.Message.
|
|
43835
|
+
return jspb.Message.setField(this, 2, value);
|
|
43836
|
+
};
|
|
43837
|
+
|
|
43838
|
+
|
|
43839
|
+
/**
|
|
43840
|
+
* Clears the field making it undefined.
|
|
43841
|
+
* @return {!proto.cms.LocaleContentItem} returns this
|
|
43842
|
+
*/
|
|
43843
|
+
proto.cms.LocaleContentItem.prototype.clearContent = function() {
|
|
43844
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
43845
|
+
};
|
|
43846
|
+
|
|
43847
|
+
|
|
43848
|
+
/**
|
|
43849
|
+
* Returns whether this field is set.
|
|
43850
|
+
* @return {boolean}
|
|
43851
|
+
*/
|
|
43852
|
+
proto.cms.LocaleContentItem.prototype.hasContent = function() {
|
|
43853
|
+
return jspb.Message.getField(this, 2) != null;
|
|
43836
43854
|
};
|
|
43837
43855
|
|
|
43838
43856
|
|