protobuf-platform 1.2.327 → 1.2.329
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 +3 -0
- package/cms/cms_pb.js +146 -2
- package/package.json +1 -1
package/cms/cms.proto
CHANGED
|
@@ -379,6 +379,7 @@ message PageRequest {
|
|
|
379
379
|
optional string title = 3;
|
|
380
380
|
optional string content = 4;
|
|
381
381
|
optional int32 is_active = 5;
|
|
382
|
+
optional string effective_from = 6;
|
|
382
383
|
}
|
|
383
384
|
message PageItem {
|
|
384
385
|
int32 id = 1;
|
|
@@ -387,6 +388,8 @@ message PageItem {
|
|
|
387
388
|
optional string content = 4;
|
|
388
389
|
optional int32 is_active = 5;
|
|
389
390
|
repeated TranslationItem translations = 6;
|
|
391
|
+
optional string effective_from = 7;
|
|
392
|
+
optional string last_updated = 8;
|
|
390
393
|
}
|
|
391
394
|
message PageResponse {
|
|
392
395
|
PageItem data = 1;
|
package/cms/cms_pb.js
CHANGED
|
@@ -15185,7 +15185,8 @@ proto.cms.PageRequest.toObject = function(includeInstance, msg) {
|
|
|
15185
15185
|
slug: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
15186
15186
|
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
15187
15187
|
content: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
15188
|
-
isActive: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
15188
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
15189
|
+
effectiveFrom: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
15189
15190
|
};
|
|
15190
15191
|
|
|
15191
15192
|
if (includeInstance) {
|
|
@@ -15242,6 +15243,10 @@ proto.cms.PageRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
15242
15243
|
var value = /** @type {number} */ (reader.readInt32());
|
|
15243
15244
|
msg.setIsActive(value);
|
|
15244
15245
|
break;
|
|
15246
|
+
case 6:
|
|
15247
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15248
|
+
msg.setEffectiveFrom(value);
|
|
15249
|
+
break;
|
|
15245
15250
|
default:
|
|
15246
15251
|
reader.skipField();
|
|
15247
15252
|
break;
|
|
@@ -15306,6 +15311,13 @@ proto.cms.PageRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
15306
15311
|
f
|
|
15307
15312
|
);
|
|
15308
15313
|
}
|
|
15314
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
15315
|
+
if (f != null) {
|
|
15316
|
+
writer.writeString(
|
|
15317
|
+
6,
|
|
15318
|
+
f
|
|
15319
|
+
);
|
|
15320
|
+
}
|
|
15309
15321
|
};
|
|
15310
15322
|
|
|
15311
15323
|
|
|
@@ -15489,6 +15501,42 @@ proto.cms.PageRequest.prototype.hasIsActive = function() {
|
|
|
15489
15501
|
};
|
|
15490
15502
|
|
|
15491
15503
|
|
|
15504
|
+
/**
|
|
15505
|
+
* optional string effective_from = 6;
|
|
15506
|
+
* @return {string}
|
|
15507
|
+
*/
|
|
15508
|
+
proto.cms.PageRequest.prototype.getEffectiveFrom = function() {
|
|
15509
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
15510
|
+
};
|
|
15511
|
+
|
|
15512
|
+
|
|
15513
|
+
/**
|
|
15514
|
+
* @param {string} value
|
|
15515
|
+
* @return {!proto.cms.PageRequest} returns this
|
|
15516
|
+
*/
|
|
15517
|
+
proto.cms.PageRequest.prototype.setEffectiveFrom = function(value) {
|
|
15518
|
+
return jspb.Message.setField(this, 6, value);
|
|
15519
|
+
};
|
|
15520
|
+
|
|
15521
|
+
|
|
15522
|
+
/**
|
|
15523
|
+
* Clears the field making it undefined.
|
|
15524
|
+
* @return {!proto.cms.PageRequest} returns this
|
|
15525
|
+
*/
|
|
15526
|
+
proto.cms.PageRequest.prototype.clearEffectiveFrom = function() {
|
|
15527
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
15528
|
+
};
|
|
15529
|
+
|
|
15530
|
+
|
|
15531
|
+
/**
|
|
15532
|
+
* Returns whether this field is set.
|
|
15533
|
+
* @return {boolean}
|
|
15534
|
+
*/
|
|
15535
|
+
proto.cms.PageRequest.prototype.hasEffectiveFrom = function() {
|
|
15536
|
+
return jspb.Message.getField(this, 6) != null;
|
|
15537
|
+
};
|
|
15538
|
+
|
|
15539
|
+
|
|
15492
15540
|
|
|
15493
15541
|
/**
|
|
15494
15542
|
* List of repeated fields within this message type.
|
|
@@ -15534,7 +15582,9 @@ proto.cms.PageItem.toObject = function(includeInstance, msg) {
|
|
|
15534
15582
|
content: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
15535
15583
|
isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
15536
15584
|
translationsList: jspb.Message.toObjectList(msg.getTranslationsList(),
|
|
15537
|
-
proto.cms.TranslationItem.toObject, includeInstance)
|
|
15585
|
+
proto.cms.TranslationItem.toObject, includeInstance),
|
|
15586
|
+
effectiveFrom: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
15587
|
+
lastUpdated: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
15538
15588
|
};
|
|
15539
15589
|
|
|
15540
15590
|
if (includeInstance) {
|
|
@@ -15596,6 +15646,14 @@ proto.cms.PageItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
15596
15646
|
reader.readMessage(value,proto.cms.TranslationItem.deserializeBinaryFromReader);
|
|
15597
15647
|
msg.addTranslations(value);
|
|
15598
15648
|
break;
|
|
15649
|
+
case 7:
|
|
15650
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15651
|
+
msg.setEffectiveFrom(value);
|
|
15652
|
+
break;
|
|
15653
|
+
case 8:
|
|
15654
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15655
|
+
msg.setLastUpdated(value);
|
|
15656
|
+
break;
|
|
15599
15657
|
default:
|
|
15600
15658
|
reader.skipField();
|
|
15601
15659
|
break;
|
|
@@ -15668,6 +15726,20 @@ proto.cms.PageItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
15668
15726
|
proto.cms.TranslationItem.serializeBinaryToWriter
|
|
15669
15727
|
);
|
|
15670
15728
|
}
|
|
15729
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
15730
|
+
if (f != null) {
|
|
15731
|
+
writer.writeString(
|
|
15732
|
+
7,
|
|
15733
|
+
f
|
|
15734
|
+
);
|
|
15735
|
+
}
|
|
15736
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
15737
|
+
if (f != null) {
|
|
15738
|
+
writer.writeString(
|
|
15739
|
+
8,
|
|
15740
|
+
f
|
|
15741
|
+
);
|
|
15742
|
+
}
|
|
15671
15743
|
};
|
|
15672
15744
|
|
|
15673
15745
|
|
|
@@ -15835,6 +15907,78 @@ proto.cms.PageItem.prototype.clearTranslationsList = function() {
|
|
|
15835
15907
|
};
|
|
15836
15908
|
|
|
15837
15909
|
|
|
15910
|
+
/**
|
|
15911
|
+
* optional string effective_from = 7;
|
|
15912
|
+
* @return {string}
|
|
15913
|
+
*/
|
|
15914
|
+
proto.cms.PageItem.prototype.getEffectiveFrom = function() {
|
|
15915
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
15916
|
+
};
|
|
15917
|
+
|
|
15918
|
+
|
|
15919
|
+
/**
|
|
15920
|
+
* @param {string} value
|
|
15921
|
+
* @return {!proto.cms.PageItem} returns this
|
|
15922
|
+
*/
|
|
15923
|
+
proto.cms.PageItem.prototype.setEffectiveFrom = function(value) {
|
|
15924
|
+
return jspb.Message.setField(this, 7, value);
|
|
15925
|
+
};
|
|
15926
|
+
|
|
15927
|
+
|
|
15928
|
+
/**
|
|
15929
|
+
* Clears the field making it undefined.
|
|
15930
|
+
* @return {!proto.cms.PageItem} returns this
|
|
15931
|
+
*/
|
|
15932
|
+
proto.cms.PageItem.prototype.clearEffectiveFrom = function() {
|
|
15933
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
15934
|
+
};
|
|
15935
|
+
|
|
15936
|
+
|
|
15937
|
+
/**
|
|
15938
|
+
* Returns whether this field is set.
|
|
15939
|
+
* @return {boolean}
|
|
15940
|
+
*/
|
|
15941
|
+
proto.cms.PageItem.prototype.hasEffectiveFrom = function() {
|
|
15942
|
+
return jspb.Message.getField(this, 7) != null;
|
|
15943
|
+
};
|
|
15944
|
+
|
|
15945
|
+
|
|
15946
|
+
/**
|
|
15947
|
+
* optional string last_updated = 8;
|
|
15948
|
+
* @return {string}
|
|
15949
|
+
*/
|
|
15950
|
+
proto.cms.PageItem.prototype.getLastUpdated = function() {
|
|
15951
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
15952
|
+
};
|
|
15953
|
+
|
|
15954
|
+
|
|
15955
|
+
/**
|
|
15956
|
+
* @param {string} value
|
|
15957
|
+
* @return {!proto.cms.PageItem} returns this
|
|
15958
|
+
*/
|
|
15959
|
+
proto.cms.PageItem.prototype.setLastUpdated = function(value) {
|
|
15960
|
+
return jspb.Message.setField(this, 8, value);
|
|
15961
|
+
};
|
|
15962
|
+
|
|
15963
|
+
|
|
15964
|
+
/**
|
|
15965
|
+
* Clears the field making it undefined.
|
|
15966
|
+
* @return {!proto.cms.PageItem} returns this
|
|
15967
|
+
*/
|
|
15968
|
+
proto.cms.PageItem.prototype.clearLastUpdated = function() {
|
|
15969
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
15970
|
+
};
|
|
15971
|
+
|
|
15972
|
+
|
|
15973
|
+
/**
|
|
15974
|
+
* Returns whether this field is set.
|
|
15975
|
+
* @return {boolean}
|
|
15976
|
+
*/
|
|
15977
|
+
proto.cms.PageItem.prototype.hasLastUpdated = function() {
|
|
15978
|
+
return jspb.Message.getField(this, 8) != null;
|
|
15979
|
+
};
|
|
15980
|
+
|
|
15981
|
+
|
|
15838
15982
|
|
|
15839
15983
|
|
|
15840
15984
|
|