protobuf-platform 1.2.276 → 1.2.277
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 +56 -7
- package/package.json +1 -1
package/cms/cms.proto
CHANGED
|
@@ -121,7 +121,8 @@ message PaginationRequest {
|
|
|
121
121
|
optional bool admin_side = 6;
|
|
122
122
|
optional string locale = 7;
|
|
123
123
|
optional string title = 8;
|
|
124
|
-
repeated string
|
|
124
|
+
repeated string types = 9;
|
|
125
|
+
repeated string countries = 10;
|
|
125
126
|
}
|
|
126
127
|
message ItemsBunchRequest {
|
|
127
128
|
repeated int32 ids = 1;
|
package/cms/cms_pb.js
CHANGED
|
@@ -3087,7 +3087,7 @@ proto.cms.PongResponse.prototype.setPong = function(value) {
|
|
|
3087
3087
|
* @private {!Array<number>}
|
|
3088
3088
|
* @const
|
|
3089
3089
|
*/
|
|
3090
|
-
proto.cms.PaginationRequest.repeatedFields_ = [9];
|
|
3090
|
+
proto.cms.PaginationRequest.repeatedFields_ = [9,10];
|
|
3091
3091
|
|
|
3092
3092
|
|
|
3093
3093
|
|
|
@@ -3128,7 +3128,8 @@ proto.cms.PaginationRequest.toObject = function(includeInstance, msg) {
|
|
|
3128
3128
|
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
3129
3129
|
locale: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
3130
3130
|
title: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
3131
|
-
|
|
3131
|
+
typesList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
|
3132
|
+
countriesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f
|
|
3132
3133
|
};
|
|
3133
3134
|
|
|
3134
3135
|
if (includeInstance) {
|
|
@@ -3198,6 +3199,10 @@ proto.cms.PaginationRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
3198
3199
|
msg.setTitle(value);
|
|
3199
3200
|
break;
|
|
3200
3201
|
case 9:
|
|
3202
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3203
|
+
msg.addTypes(value);
|
|
3204
|
+
break;
|
|
3205
|
+
case 10:
|
|
3201
3206
|
var value = /** @type {string} */ (reader.readString());
|
|
3202
3207
|
msg.addCountries(value);
|
|
3203
3208
|
break;
|
|
@@ -3286,13 +3291,20 @@ proto.cms.PaginationRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
3286
3291
|
f
|
|
3287
3292
|
);
|
|
3288
3293
|
}
|
|
3289
|
-
f = message.
|
|
3294
|
+
f = message.getTypesList();
|
|
3290
3295
|
if (f.length > 0) {
|
|
3291
3296
|
writer.writeRepeatedString(
|
|
3292
3297
|
9,
|
|
3293
3298
|
f
|
|
3294
3299
|
);
|
|
3295
3300
|
}
|
|
3301
|
+
f = message.getCountriesList();
|
|
3302
|
+
if (f.length > 0) {
|
|
3303
|
+
writer.writeRepeatedString(
|
|
3304
|
+
10,
|
|
3305
|
+
f
|
|
3306
|
+
);
|
|
3307
|
+
}
|
|
3296
3308
|
};
|
|
3297
3309
|
|
|
3298
3310
|
|
|
@@ -3549,10 +3561,10 @@ proto.cms.PaginationRequest.prototype.hasTitle = function() {
|
|
|
3549
3561
|
|
|
3550
3562
|
|
|
3551
3563
|
/**
|
|
3552
|
-
* repeated string
|
|
3564
|
+
* repeated string types = 9;
|
|
3553
3565
|
* @return {!Array<string>}
|
|
3554
3566
|
*/
|
|
3555
|
-
proto.cms.PaginationRequest.prototype.
|
|
3567
|
+
proto.cms.PaginationRequest.prototype.getTypesList = function() {
|
|
3556
3568
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 9));
|
|
3557
3569
|
};
|
|
3558
3570
|
|
|
@@ -3561,7 +3573,7 @@ proto.cms.PaginationRequest.prototype.getCountriesList = function() {
|
|
|
3561
3573
|
* @param {!Array<string>} value
|
|
3562
3574
|
* @return {!proto.cms.PaginationRequest} returns this
|
|
3563
3575
|
*/
|
|
3564
|
-
proto.cms.PaginationRequest.prototype.
|
|
3576
|
+
proto.cms.PaginationRequest.prototype.setTypesList = function(value) {
|
|
3565
3577
|
return jspb.Message.setField(this, 9, value || []);
|
|
3566
3578
|
};
|
|
3567
3579
|
|
|
@@ -3571,11 +3583,48 @@ proto.cms.PaginationRequest.prototype.setCountriesList = function(value) {
|
|
|
3571
3583
|
* @param {number=} opt_index
|
|
3572
3584
|
* @return {!proto.cms.PaginationRequest} returns this
|
|
3573
3585
|
*/
|
|
3574
|
-
proto.cms.PaginationRequest.prototype.
|
|
3586
|
+
proto.cms.PaginationRequest.prototype.addTypes = function(value, opt_index) {
|
|
3575
3587
|
return jspb.Message.addToRepeatedField(this, 9, value, opt_index);
|
|
3576
3588
|
};
|
|
3577
3589
|
|
|
3578
3590
|
|
|
3591
|
+
/**
|
|
3592
|
+
* Clears the list making it empty but non-null.
|
|
3593
|
+
* @return {!proto.cms.PaginationRequest} returns this
|
|
3594
|
+
*/
|
|
3595
|
+
proto.cms.PaginationRequest.prototype.clearTypesList = function() {
|
|
3596
|
+
return this.setTypesList([]);
|
|
3597
|
+
};
|
|
3598
|
+
|
|
3599
|
+
|
|
3600
|
+
/**
|
|
3601
|
+
* repeated string countries = 10;
|
|
3602
|
+
* @return {!Array<string>}
|
|
3603
|
+
*/
|
|
3604
|
+
proto.cms.PaginationRequest.prototype.getCountriesList = function() {
|
|
3605
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 10));
|
|
3606
|
+
};
|
|
3607
|
+
|
|
3608
|
+
|
|
3609
|
+
/**
|
|
3610
|
+
* @param {!Array<string>} value
|
|
3611
|
+
* @return {!proto.cms.PaginationRequest} returns this
|
|
3612
|
+
*/
|
|
3613
|
+
proto.cms.PaginationRequest.prototype.setCountriesList = function(value) {
|
|
3614
|
+
return jspb.Message.setField(this, 10, value || []);
|
|
3615
|
+
};
|
|
3616
|
+
|
|
3617
|
+
|
|
3618
|
+
/**
|
|
3619
|
+
* @param {string} value
|
|
3620
|
+
* @param {number=} opt_index
|
|
3621
|
+
* @return {!proto.cms.PaginationRequest} returns this
|
|
3622
|
+
*/
|
|
3623
|
+
proto.cms.PaginationRequest.prototype.addCountries = function(value, opt_index) {
|
|
3624
|
+
return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
|
|
3625
|
+
};
|
|
3626
|
+
|
|
3627
|
+
|
|
3579
3628
|
/**
|
|
3580
3629
|
* Clears the list making it empty but non-null.
|
|
3581
3630
|
* @return {!proto.cms.PaginationRequest} returns this
|