protobuf-platform 1.2.66 → 1.2.68
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 +10 -6
- package/cms/cms_pb.js +232 -40
- package/game/game.proto +2 -1
- package/game/game_pb.js +56 -8
- package/package.json +1 -1
package/cms/cms.proto
CHANGED
|
@@ -142,10 +142,12 @@ message BannerItem {
|
|
|
142
142
|
optional string geo = 2;
|
|
143
143
|
optional int32 is_active = 3;
|
|
144
144
|
optional string image_big = 4;
|
|
145
|
-
optional string
|
|
146
|
-
optional string
|
|
147
|
-
optional string
|
|
148
|
-
|
|
145
|
+
optional string image_big_cdn = 5;
|
|
146
|
+
optional string image_small = 6;
|
|
147
|
+
optional string image_small_cdn = 7;
|
|
148
|
+
optional string anchor = 8;
|
|
149
|
+
optional string cta_type = 9;
|
|
150
|
+
repeated BannerTexts texts = 10;
|
|
149
151
|
}
|
|
150
152
|
message BannerTexts {
|
|
151
153
|
string locale = 1;
|
|
@@ -287,8 +289,10 @@ message PromoItem {
|
|
|
287
289
|
optional string started_at = 7;
|
|
288
290
|
optional string finished_at = 8;
|
|
289
291
|
optional string image_big = 9;
|
|
290
|
-
optional string
|
|
291
|
-
|
|
292
|
+
optional string image_big_cdn = 10;
|
|
293
|
+
optional string image_small = 11;
|
|
294
|
+
optional string image_small_cdn = 12;
|
|
295
|
+
repeated TranslationItem translations = 13;
|
|
292
296
|
}
|
|
293
297
|
message PromoResponse {
|
|
294
298
|
PromoItem data = 1;
|
package/cms/cms_pb.js
CHANGED
|
@@ -5332,7 +5332,7 @@ proto.cms.BannerItemRequest.prototype.clearTextsList = function() {
|
|
|
5332
5332
|
* @private {!Array<number>}
|
|
5333
5333
|
* @const
|
|
5334
5334
|
*/
|
|
5335
|
-
proto.cms.BannerItem.repeatedFields_ = [
|
|
5335
|
+
proto.cms.BannerItem.repeatedFields_ = [10];
|
|
5336
5336
|
|
|
5337
5337
|
|
|
5338
5338
|
|
|
@@ -5369,9 +5369,11 @@ proto.cms.BannerItem.toObject = function(includeInstance, msg) {
|
|
|
5369
5369
|
geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5370
5370
|
isActive: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
5371
5371
|
imageBig: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
5372
|
-
|
|
5373
|
-
|
|
5374
|
-
|
|
5372
|
+
imageBigCdn: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
5373
|
+
imageSmall: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
5374
|
+
imageSmallCdn: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
5375
|
+
anchor: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
5376
|
+
ctaType: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
5375
5377
|
textsList: jspb.Message.toObjectList(msg.getTextsList(),
|
|
5376
5378
|
proto.cms.BannerTexts.toObject, includeInstance)
|
|
5377
5379
|
};
|
|
@@ -5428,17 +5430,25 @@ proto.cms.BannerItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
5428
5430
|
break;
|
|
5429
5431
|
case 5:
|
|
5430
5432
|
var value = /** @type {string} */ (reader.readString());
|
|
5431
|
-
msg.
|
|
5433
|
+
msg.setImageBigCdn(value);
|
|
5432
5434
|
break;
|
|
5433
5435
|
case 6:
|
|
5434
5436
|
var value = /** @type {string} */ (reader.readString());
|
|
5435
|
-
msg.
|
|
5437
|
+
msg.setImageSmall(value);
|
|
5436
5438
|
break;
|
|
5437
5439
|
case 7:
|
|
5438
5440
|
var value = /** @type {string} */ (reader.readString());
|
|
5439
|
-
msg.
|
|
5441
|
+
msg.setImageSmallCdn(value);
|
|
5440
5442
|
break;
|
|
5441
5443
|
case 8:
|
|
5444
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5445
|
+
msg.setAnchor(value);
|
|
5446
|
+
break;
|
|
5447
|
+
case 9:
|
|
5448
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5449
|
+
msg.setCtaType(value);
|
|
5450
|
+
break;
|
|
5451
|
+
case 10:
|
|
5442
5452
|
var value = new proto.cms.BannerTexts;
|
|
5443
5453
|
reader.readMessage(value,proto.cms.BannerTexts.deserializeBinaryFromReader);
|
|
5444
5454
|
msg.addTexts(value);
|
|
@@ -5521,10 +5531,24 @@ proto.cms.BannerItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
5521
5531
|
f
|
|
5522
5532
|
);
|
|
5523
5533
|
}
|
|
5534
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
5535
|
+
if (f != null) {
|
|
5536
|
+
writer.writeString(
|
|
5537
|
+
8,
|
|
5538
|
+
f
|
|
5539
|
+
);
|
|
5540
|
+
}
|
|
5541
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
5542
|
+
if (f != null) {
|
|
5543
|
+
writer.writeString(
|
|
5544
|
+
9,
|
|
5545
|
+
f
|
|
5546
|
+
);
|
|
5547
|
+
}
|
|
5524
5548
|
f = message.getTextsList();
|
|
5525
5549
|
if (f.length > 0) {
|
|
5526
5550
|
writer.writeRepeatedMessage(
|
|
5527
|
-
|
|
5551
|
+
10,
|
|
5528
5552
|
f,
|
|
5529
5553
|
proto.cms.BannerTexts.serializeBinaryToWriter
|
|
5530
5554
|
);
|
|
@@ -5677,10 +5701,10 @@ proto.cms.BannerItem.prototype.hasImageBig = function() {
|
|
|
5677
5701
|
|
|
5678
5702
|
|
|
5679
5703
|
/**
|
|
5680
|
-
* optional string
|
|
5704
|
+
* optional string image_big_cdn = 5;
|
|
5681
5705
|
* @return {string}
|
|
5682
5706
|
*/
|
|
5683
|
-
proto.cms.BannerItem.prototype.
|
|
5707
|
+
proto.cms.BannerItem.prototype.getImageBigCdn = function() {
|
|
5684
5708
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
5685
5709
|
};
|
|
5686
5710
|
|
|
@@ -5689,7 +5713,7 @@ proto.cms.BannerItem.prototype.getImageSmall = function() {
|
|
|
5689
5713
|
* @param {string} value
|
|
5690
5714
|
* @return {!proto.cms.BannerItem} returns this
|
|
5691
5715
|
*/
|
|
5692
|
-
proto.cms.BannerItem.prototype.
|
|
5716
|
+
proto.cms.BannerItem.prototype.setImageBigCdn = function(value) {
|
|
5693
5717
|
return jspb.Message.setField(this, 5, value);
|
|
5694
5718
|
};
|
|
5695
5719
|
|
|
@@ -5698,7 +5722,7 @@ proto.cms.BannerItem.prototype.setImageSmall = function(value) {
|
|
|
5698
5722
|
* Clears the field making it undefined.
|
|
5699
5723
|
* @return {!proto.cms.BannerItem} returns this
|
|
5700
5724
|
*/
|
|
5701
|
-
proto.cms.BannerItem.prototype.
|
|
5725
|
+
proto.cms.BannerItem.prototype.clearImageBigCdn = function() {
|
|
5702
5726
|
return jspb.Message.setField(this, 5, undefined);
|
|
5703
5727
|
};
|
|
5704
5728
|
|
|
@@ -5707,16 +5731,16 @@ proto.cms.BannerItem.prototype.clearImageSmall = function() {
|
|
|
5707
5731
|
* Returns whether this field is set.
|
|
5708
5732
|
* @return {boolean}
|
|
5709
5733
|
*/
|
|
5710
|
-
proto.cms.BannerItem.prototype.
|
|
5734
|
+
proto.cms.BannerItem.prototype.hasImageBigCdn = function() {
|
|
5711
5735
|
return jspb.Message.getField(this, 5) != null;
|
|
5712
5736
|
};
|
|
5713
5737
|
|
|
5714
5738
|
|
|
5715
5739
|
/**
|
|
5716
|
-
* optional string
|
|
5740
|
+
* optional string image_small = 6;
|
|
5717
5741
|
* @return {string}
|
|
5718
5742
|
*/
|
|
5719
|
-
proto.cms.BannerItem.prototype.
|
|
5743
|
+
proto.cms.BannerItem.prototype.getImageSmall = function() {
|
|
5720
5744
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
5721
5745
|
};
|
|
5722
5746
|
|
|
@@ -5725,7 +5749,7 @@ proto.cms.BannerItem.prototype.getAnchor = function() {
|
|
|
5725
5749
|
* @param {string} value
|
|
5726
5750
|
* @return {!proto.cms.BannerItem} returns this
|
|
5727
5751
|
*/
|
|
5728
|
-
proto.cms.BannerItem.prototype.
|
|
5752
|
+
proto.cms.BannerItem.prototype.setImageSmall = function(value) {
|
|
5729
5753
|
return jspb.Message.setField(this, 6, value);
|
|
5730
5754
|
};
|
|
5731
5755
|
|
|
@@ -5734,7 +5758,7 @@ proto.cms.BannerItem.prototype.setAnchor = function(value) {
|
|
|
5734
5758
|
* Clears the field making it undefined.
|
|
5735
5759
|
* @return {!proto.cms.BannerItem} returns this
|
|
5736
5760
|
*/
|
|
5737
|
-
proto.cms.BannerItem.prototype.
|
|
5761
|
+
proto.cms.BannerItem.prototype.clearImageSmall = function() {
|
|
5738
5762
|
return jspb.Message.setField(this, 6, undefined);
|
|
5739
5763
|
};
|
|
5740
5764
|
|
|
@@ -5743,16 +5767,16 @@ proto.cms.BannerItem.prototype.clearAnchor = function() {
|
|
|
5743
5767
|
* Returns whether this field is set.
|
|
5744
5768
|
* @return {boolean}
|
|
5745
5769
|
*/
|
|
5746
|
-
proto.cms.BannerItem.prototype.
|
|
5770
|
+
proto.cms.BannerItem.prototype.hasImageSmall = function() {
|
|
5747
5771
|
return jspb.Message.getField(this, 6) != null;
|
|
5748
5772
|
};
|
|
5749
5773
|
|
|
5750
5774
|
|
|
5751
5775
|
/**
|
|
5752
|
-
* optional string
|
|
5776
|
+
* optional string image_small_cdn = 7;
|
|
5753
5777
|
* @return {string}
|
|
5754
5778
|
*/
|
|
5755
|
-
proto.cms.BannerItem.prototype.
|
|
5779
|
+
proto.cms.BannerItem.prototype.getImageSmallCdn = function() {
|
|
5756
5780
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
5757
5781
|
};
|
|
5758
5782
|
|
|
@@ -5761,7 +5785,7 @@ proto.cms.BannerItem.prototype.getCtaType = function() {
|
|
|
5761
5785
|
* @param {string} value
|
|
5762
5786
|
* @return {!proto.cms.BannerItem} returns this
|
|
5763
5787
|
*/
|
|
5764
|
-
proto.cms.BannerItem.prototype.
|
|
5788
|
+
proto.cms.BannerItem.prototype.setImageSmallCdn = function(value) {
|
|
5765
5789
|
return jspb.Message.setField(this, 7, value);
|
|
5766
5790
|
};
|
|
5767
5791
|
|
|
@@ -5770,7 +5794,7 @@ proto.cms.BannerItem.prototype.setCtaType = function(value) {
|
|
|
5770
5794
|
* Clears the field making it undefined.
|
|
5771
5795
|
* @return {!proto.cms.BannerItem} returns this
|
|
5772
5796
|
*/
|
|
5773
|
-
proto.cms.BannerItem.prototype.
|
|
5797
|
+
proto.cms.BannerItem.prototype.clearImageSmallCdn = function() {
|
|
5774
5798
|
return jspb.Message.setField(this, 7, undefined);
|
|
5775
5799
|
};
|
|
5776
5800
|
|
|
@@ -5779,18 +5803,90 @@ proto.cms.BannerItem.prototype.clearCtaType = function() {
|
|
|
5779
5803
|
* Returns whether this field is set.
|
|
5780
5804
|
* @return {boolean}
|
|
5781
5805
|
*/
|
|
5782
|
-
proto.cms.BannerItem.prototype.
|
|
5806
|
+
proto.cms.BannerItem.prototype.hasImageSmallCdn = function() {
|
|
5783
5807
|
return jspb.Message.getField(this, 7) != null;
|
|
5784
5808
|
};
|
|
5785
5809
|
|
|
5786
5810
|
|
|
5787
5811
|
/**
|
|
5788
|
-
*
|
|
5812
|
+
* optional string anchor = 8;
|
|
5813
|
+
* @return {string}
|
|
5814
|
+
*/
|
|
5815
|
+
proto.cms.BannerItem.prototype.getAnchor = function() {
|
|
5816
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
5817
|
+
};
|
|
5818
|
+
|
|
5819
|
+
|
|
5820
|
+
/**
|
|
5821
|
+
* @param {string} value
|
|
5822
|
+
* @return {!proto.cms.BannerItem} returns this
|
|
5823
|
+
*/
|
|
5824
|
+
proto.cms.BannerItem.prototype.setAnchor = function(value) {
|
|
5825
|
+
return jspb.Message.setField(this, 8, value);
|
|
5826
|
+
};
|
|
5827
|
+
|
|
5828
|
+
|
|
5829
|
+
/**
|
|
5830
|
+
* Clears the field making it undefined.
|
|
5831
|
+
* @return {!proto.cms.BannerItem} returns this
|
|
5832
|
+
*/
|
|
5833
|
+
proto.cms.BannerItem.prototype.clearAnchor = function() {
|
|
5834
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
5835
|
+
};
|
|
5836
|
+
|
|
5837
|
+
|
|
5838
|
+
/**
|
|
5839
|
+
* Returns whether this field is set.
|
|
5840
|
+
* @return {boolean}
|
|
5841
|
+
*/
|
|
5842
|
+
proto.cms.BannerItem.prototype.hasAnchor = function() {
|
|
5843
|
+
return jspb.Message.getField(this, 8) != null;
|
|
5844
|
+
};
|
|
5845
|
+
|
|
5846
|
+
|
|
5847
|
+
/**
|
|
5848
|
+
* optional string cta_type = 9;
|
|
5849
|
+
* @return {string}
|
|
5850
|
+
*/
|
|
5851
|
+
proto.cms.BannerItem.prototype.getCtaType = function() {
|
|
5852
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
5853
|
+
};
|
|
5854
|
+
|
|
5855
|
+
|
|
5856
|
+
/**
|
|
5857
|
+
* @param {string} value
|
|
5858
|
+
* @return {!proto.cms.BannerItem} returns this
|
|
5859
|
+
*/
|
|
5860
|
+
proto.cms.BannerItem.prototype.setCtaType = function(value) {
|
|
5861
|
+
return jspb.Message.setField(this, 9, value);
|
|
5862
|
+
};
|
|
5863
|
+
|
|
5864
|
+
|
|
5865
|
+
/**
|
|
5866
|
+
* Clears the field making it undefined.
|
|
5867
|
+
* @return {!proto.cms.BannerItem} returns this
|
|
5868
|
+
*/
|
|
5869
|
+
proto.cms.BannerItem.prototype.clearCtaType = function() {
|
|
5870
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
5871
|
+
};
|
|
5872
|
+
|
|
5873
|
+
|
|
5874
|
+
/**
|
|
5875
|
+
* Returns whether this field is set.
|
|
5876
|
+
* @return {boolean}
|
|
5877
|
+
*/
|
|
5878
|
+
proto.cms.BannerItem.prototype.hasCtaType = function() {
|
|
5879
|
+
return jspb.Message.getField(this, 9) != null;
|
|
5880
|
+
};
|
|
5881
|
+
|
|
5882
|
+
|
|
5883
|
+
/**
|
|
5884
|
+
* repeated BannerTexts texts = 10;
|
|
5789
5885
|
* @return {!Array<!proto.cms.BannerTexts>}
|
|
5790
5886
|
*/
|
|
5791
5887
|
proto.cms.BannerItem.prototype.getTextsList = function() {
|
|
5792
5888
|
return /** @type{!Array<!proto.cms.BannerTexts>} */ (
|
|
5793
|
-
jspb.Message.getRepeatedWrapperField(this, proto.cms.BannerTexts,
|
|
5889
|
+
jspb.Message.getRepeatedWrapperField(this, proto.cms.BannerTexts, 10));
|
|
5794
5890
|
};
|
|
5795
5891
|
|
|
5796
5892
|
|
|
@@ -5799,7 +5895,7 @@ proto.cms.BannerItem.prototype.getTextsList = function() {
|
|
|
5799
5895
|
* @return {!proto.cms.BannerItem} returns this
|
|
5800
5896
|
*/
|
|
5801
5897
|
proto.cms.BannerItem.prototype.setTextsList = function(value) {
|
|
5802
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
5898
|
+
return jspb.Message.setRepeatedWrapperField(this, 10, value);
|
|
5803
5899
|
};
|
|
5804
5900
|
|
|
5805
5901
|
|
|
@@ -5809,7 +5905,7 @@ proto.cms.BannerItem.prototype.setTextsList = function(value) {
|
|
|
5809
5905
|
* @return {!proto.cms.BannerTexts}
|
|
5810
5906
|
*/
|
|
5811
5907
|
proto.cms.BannerItem.prototype.addTexts = function(opt_value, opt_index) {
|
|
5812
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
5908
|
+
return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.cms.BannerTexts, opt_index);
|
|
5813
5909
|
};
|
|
5814
5910
|
|
|
5815
5911
|
|
|
@@ -11842,7 +11938,7 @@ proto.cms.PromoItemRequest.prototype.hasFinishedAt = function() {
|
|
|
11842
11938
|
* @private {!Array<number>}
|
|
11843
11939
|
* @const
|
|
11844
11940
|
*/
|
|
11845
|
-
proto.cms.PromoItem.repeatedFields_ = [
|
|
11941
|
+
proto.cms.PromoItem.repeatedFields_ = [13];
|
|
11846
11942
|
|
|
11847
11943
|
|
|
11848
11944
|
|
|
@@ -11884,7 +11980,9 @@ proto.cms.PromoItem.toObject = function(includeInstance, msg) {
|
|
|
11884
11980
|
startedAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
11885
11981
|
finishedAt: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
11886
11982
|
imageBig: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
11887
|
-
|
|
11983
|
+
imageBigCdn: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
11984
|
+
imageSmall: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
11985
|
+
imageSmallCdn: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
11888
11986
|
translationsList: jspb.Message.toObjectList(msg.getTranslationsList(),
|
|
11889
11987
|
proto.cms.TranslationItem.toObject, includeInstance)
|
|
11890
11988
|
};
|
|
@@ -11961,9 +12059,17 @@ proto.cms.PromoItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
11961
12059
|
break;
|
|
11962
12060
|
case 10:
|
|
11963
12061
|
var value = /** @type {string} */ (reader.readString());
|
|
11964
|
-
msg.
|
|
12062
|
+
msg.setImageBigCdn(value);
|
|
11965
12063
|
break;
|
|
11966
12064
|
case 11:
|
|
12065
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12066
|
+
msg.setImageSmall(value);
|
|
12067
|
+
break;
|
|
12068
|
+
case 12:
|
|
12069
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12070
|
+
msg.setImageSmallCdn(value);
|
|
12071
|
+
break;
|
|
12072
|
+
case 13:
|
|
11967
12073
|
var value = new proto.cms.TranslationItem;
|
|
11968
12074
|
reader.readMessage(value,proto.cms.TranslationItem.deserializeBinaryFromReader);
|
|
11969
12075
|
msg.addTranslations(value);
|
|
@@ -12067,10 +12173,24 @@ proto.cms.PromoItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
12067
12173
|
f
|
|
12068
12174
|
);
|
|
12069
12175
|
}
|
|
12176
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
12177
|
+
if (f != null) {
|
|
12178
|
+
writer.writeString(
|
|
12179
|
+
11,
|
|
12180
|
+
f
|
|
12181
|
+
);
|
|
12182
|
+
}
|
|
12183
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
12184
|
+
if (f != null) {
|
|
12185
|
+
writer.writeString(
|
|
12186
|
+
12,
|
|
12187
|
+
f
|
|
12188
|
+
);
|
|
12189
|
+
}
|
|
12070
12190
|
f = message.getTranslationsList();
|
|
12071
12191
|
if (f.length > 0) {
|
|
12072
12192
|
writer.writeRepeatedMessage(
|
|
12073
|
-
|
|
12193
|
+
13,
|
|
12074
12194
|
f,
|
|
12075
12195
|
proto.cms.TranslationItem.serializeBinaryToWriter
|
|
12076
12196
|
);
|
|
@@ -12403,10 +12523,10 @@ proto.cms.PromoItem.prototype.hasImageBig = function() {
|
|
|
12403
12523
|
|
|
12404
12524
|
|
|
12405
12525
|
/**
|
|
12406
|
-
* optional string
|
|
12526
|
+
* optional string image_big_cdn = 10;
|
|
12407
12527
|
* @return {string}
|
|
12408
12528
|
*/
|
|
12409
|
-
proto.cms.PromoItem.prototype.
|
|
12529
|
+
proto.cms.PromoItem.prototype.getImageBigCdn = function() {
|
|
12410
12530
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
12411
12531
|
};
|
|
12412
12532
|
|
|
@@ -12415,7 +12535,7 @@ proto.cms.PromoItem.prototype.getImageSmall = function() {
|
|
|
12415
12535
|
* @param {string} value
|
|
12416
12536
|
* @return {!proto.cms.PromoItem} returns this
|
|
12417
12537
|
*/
|
|
12418
|
-
proto.cms.PromoItem.prototype.
|
|
12538
|
+
proto.cms.PromoItem.prototype.setImageBigCdn = function(value) {
|
|
12419
12539
|
return jspb.Message.setField(this, 10, value);
|
|
12420
12540
|
};
|
|
12421
12541
|
|
|
@@ -12424,7 +12544,7 @@ proto.cms.PromoItem.prototype.setImageSmall = function(value) {
|
|
|
12424
12544
|
* Clears the field making it undefined.
|
|
12425
12545
|
* @return {!proto.cms.PromoItem} returns this
|
|
12426
12546
|
*/
|
|
12427
|
-
proto.cms.PromoItem.prototype.
|
|
12547
|
+
proto.cms.PromoItem.prototype.clearImageBigCdn = function() {
|
|
12428
12548
|
return jspb.Message.setField(this, 10, undefined);
|
|
12429
12549
|
};
|
|
12430
12550
|
|
|
@@ -12433,18 +12553,90 @@ proto.cms.PromoItem.prototype.clearImageSmall = function() {
|
|
|
12433
12553
|
* Returns whether this field is set.
|
|
12434
12554
|
* @return {boolean}
|
|
12435
12555
|
*/
|
|
12436
|
-
proto.cms.PromoItem.prototype.
|
|
12556
|
+
proto.cms.PromoItem.prototype.hasImageBigCdn = function() {
|
|
12437
12557
|
return jspb.Message.getField(this, 10) != null;
|
|
12438
12558
|
};
|
|
12439
12559
|
|
|
12440
12560
|
|
|
12441
12561
|
/**
|
|
12442
|
-
*
|
|
12562
|
+
* optional string image_small = 11;
|
|
12563
|
+
* @return {string}
|
|
12564
|
+
*/
|
|
12565
|
+
proto.cms.PromoItem.prototype.getImageSmall = function() {
|
|
12566
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
12567
|
+
};
|
|
12568
|
+
|
|
12569
|
+
|
|
12570
|
+
/**
|
|
12571
|
+
* @param {string} value
|
|
12572
|
+
* @return {!proto.cms.PromoItem} returns this
|
|
12573
|
+
*/
|
|
12574
|
+
proto.cms.PromoItem.prototype.setImageSmall = function(value) {
|
|
12575
|
+
return jspb.Message.setField(this, 11, value);
|
|
12576
|
+
};
|
|
12577
|
+
|
|
12578
|
+
|
|
12579
|
+
/**
|
|
12580
|
+
* Clears the field making it undefined.
|
|
12581
|
+
* @return {!proto.cms.PromoItem} returns this
|
|
12582
|
+
*/
|
|
12583
|
+
proto.cms.PromoItem.prototype.clearImageSmall = function() {
|
|
12584
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
12585
|
+
};
|
|
12586
|
+
|
|
12587
|
+
|
|
12588
|
+
/**
|
|
12589
|
+
* Returns whether this field is set.
|
|
12590
|
+
* @return {boolean}
|
|
12591
|
+
*/
|
|
12592
|
+
proto.cms.PromoItem.prototype.hasImageSmall = function() {
|
|
12593
|
+
return jspb.Message.getField(this, 11) != null;
|
|
12594
|
+
};
|
|
12595
|
+
|
|
12596
|
+
|
|
12597
|
+
/**
|
|
12598
|
+
* optional string image_small_cdn = 12;
|
|
12599
|
+
* @return {string}
|
|
12600
|
+
*/
|
|
12601
|
+
proto.cms.PromoItem.prototype.getImageSmallCdn = function() {
|
|
12602
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
12603
|
+
};
|
|
12604
|
+
|
|
12605
|
+
|
|
12606
|
+
/**
|
|
12607
|
+
* @param {string} value
|
|
12608
|
+
* @return {!proto.cms.PromoItem} returns this
|
|
12609
|
+
*/
|
|
12610
|
+
proto.cms.PromoItem.prototype.setImageSmallCdn = function(value) {
|
|
12611
|
+
return jspb.Message.setField(this, 12, value);
|
|
12612
|
+
};
|
|
12613
|
+
|
|
12614
|
+
|
|
12615
|
+
/**
|
|
12616
|
+
* Clears the field making it undefined.
|
|
12617
|
+
* @return {!proto.cms.PromoItem} returns this
|
|
12618
|
+
*/
|
|
12619
|
+
proto.cms.PromoItem.prototype.clearImageSmallCdn = function() {
|
|
12620
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
12621
|
+
};
|
|
12622
|
+
|
|
12623
|
+
|
|
12624
|
+
/**
|
|
12625
|
+
* Returns whether this field is set.
|
|
12626
|
+
* @return {boolean}
|
|
12627
|
+
*/
|
|
12628
|
+
proto.cms.PromoItem.prototype.hasImageSmallCdn = function() {
|
|
12629
|
+
return jspb.Message.getField(this, 12) != null;
|
|
12630
|
+
};
|
|
12631
|
+
|
|
12632
|
+
|
|
12633
|
+
/**
|
|
12634
|
+
* repeated TranslationItem translations = 13;
|
|
12443
12635
|
* @return {!Array<!proto.cms.TranslationItem>}
|
|
12444
12636
|
*/
|
|
12445
12637
|
proto.cms.PromoItem.prototype.getTranslationsList = function() {
|
|
12446
12638
|
return /** @type{!Array<!proto.cms.TranslationItem>} */ (
|
|
12447
|
-
jspb.Message.getRepeatedWrapperField(this, proto.cms.TranslationItem,
|
|
12639
|
+
jspb.Message.getRepeatedWrapperField(this, proto.cms.TranslationItem, 13));
|
|
12448
12640
|
};
|
|
12449
12641
|
|
|
12450
12642
|
|
|
@@ -12453,7 +12645,7 @@ proto.cms.PromoItem.prototype.getTranslationsList = function() {
|
|
|
12453
12645
|
* @return {!proto.cms.PromoItem} returns this
|
|
12454
12646
|
*/
|
|
12455
12647
|
proto.cms.PromoItem.prototype.setTranslationsList = function(value) {
|
|
12456
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
12648
|
+
return jspb.Message.setRepeatedWrapperField(this, 13, value);
|
|
12457
12649
|
};
|
|
12458
12650
|
|
|
12459
12651
|
|
|
@@ -12463,7 +12655,7 @@ proto.cms.PromoItem.prototype.setTranslationsList = function(value) {
|
|
|
12463
12655
|
* @return {!proto.cms.TranslationItem}
|
|
12464
12656
|
*/
|
|
12465
12657
|
proto.cms.PromoItem.prototype.addTranslations = function(opt_value, opt_index) {
|
|
12466
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
12658
|
+
return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.cms.TranslationItem, opt_index);
|
|
12467
12659
|
};
|
|
12468
12660
|
|
|
12469
12661
|
|
package/game/game.proto
CHANGED
|
@@ -328,7 +328,8 @@ message ProviderItem {
|
|
|
328
328
|
optional string description = 4;
|
|
329
329
|
optional int32 is_active = 5;
|
|
330
330
|
optional string image = 6;
|
|
331
|
-
optional
|
|
331
|
+
optional string image_cdn = 7;
|
|
332
|
+
optional int32 count_of_games = 8;
|
|
332
333
|
}
|
|
333
334
|
//Provider CRUD | Requests
|
|
334
335
|
message ProviderRequest {
|
package/game/game_pb.js
CHANGED
|
@@ -12252,7 +12252,8 @@ proto.game.ProviderItem.toObject = function(includeInstance, msg) {
|
|
|
12252
12252
|
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
12253
12253
|
isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
12254
12254
|
image: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
12255
|
-
|
|
12255
|
+
imageCdn: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
12256
|
+
countOfGames: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
|
12256
12257
|
};
|
|
12257
12258
|
|
|
12258
12259
|
if (includeInstance) {
|
|
@@ -12314,6 +12315,10 @@ proto.game.ProviderItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
12314
12315
|
msg.setImage(value);
|
|
12315
12316
|
break;
|
|
12316
12317
|
case 7:
|
|
12318
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12319
|
+
msg.setImageCdn(value);
|
|
12320
|
+
break;
|
|
12321
|
+
case 8:
|
|
12317
12322
|
var value = /** @type {number} */ (reader.readInt32());
|
|
12318
12323
|
msg.setCountOfGames(value);
|
|
12319
12324
|
break;
|
|
@@ -12388,13 +12393,20 @@ proto.game.ProviderItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
12388
12393
|
f
|
|
12389
12394
|
);
|
|
12390
12395
|
}
|
|
12391
|
-
f = /** @type {
|
|
12396
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
12392
12397
|
if (f != null) {
|
|
12393
|
-
writer.
|
|
12398
|
+
writer.writeString(
|
|
12394
12399
|
7,
|
|
12395
12400
|
f
|
|
12396
12401
|
);
|
|
12397
12402
|
}
|
|
12403
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
|
12404
|
+
if (f != null) {
|
|
12405
|
+
writer.writeInt32(
|
|
12406
|
+
8,
|
|
12407
|
+
f
|
|
12408
|
+
);
|
|
12409
|
+
}
|
|
12398
12410
|
};
|
|
12399
12411
|
|
|
12400
12412
|
|
|
@@ -12615,11 +12627,47 @@ proto.game.ProviderItem.prototype.hasImage = function() {
|
|
|
12615
12627
|
|
|
12616
12628
|
|
|
12617
12629
|
/**
|
|
12618
|
-
* optional
|
|
12630
|
+
* optional string image_cdn = 7;
|
|
12631
|
+
* @return {string}
|
|
12632
|
+
*/
|
|
12633
|
+
proto.game.ProviderItem.prototype.getImageCdn = function() {
|
|
12634
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
12635
|
+
};
|
|
12636
|
+
|
|
12637
|
+
|
|
12638
|
+
/**
|
|
12639
|
+
* @param {string} value
|
|
12640
|
+
* @return {!proto.game.ProviderItem} returns this
|
|
12641
|
+
*/
|
|
12642
|
+
proto.game.ProviderItem.prototype.setImageCdn = function(value) {
|
|
12643
|
+
return jspb.Message.setField(this, 7, value);
|
|
12644
|
+
};
|
|
12645
|
+
|
|
12646
|
+
|
|
12647
|
+
/**
|
|
12648
|
+
* Clears the field making it undefined.
|
|
12649
|
+
* @return {!proto.game.ProviderItem} returns this
|
|
12650
|
+
*/
|
|
12651
|
+
proto.game.ProviderItem.prototype.clearImageCdn = function() {
|
|
12652
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
12653
|
+
};
|
|
12654
|
+
|
|
12655
|
+
|
|
12656
|
+
/**
|
|
12657
|
+
* Returns whether this field is set.
|
|
12658
|
+
* @return {boolean}
|
|
12659
|
+
*/
|
|
12660
|
+
proto.game.ProviderItem.prototype.hasImageCdn = function() {
|
|
12661
|
+
return jspb.Message.getField(this, 7) != null;
|
|
12662
|
+
};
|
|
12663
|
+
|
|
12664
|
+
|
|
12665
|
+
/**
|
|
12666
|
+
* optional int32 count_of_games = 8;
|
|
12619
12667
|
* @return {number}
|
|
12620
12668
|
*/
|
|
12621
12669
|
proto.game.ProviderItem.prototype.getCountOfGames = function() {
|
|
12622
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
12670
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
12623
12671
|
};
|
|
12624
12672
|
|
|
12625
12673
|
|
|
@@ -12628,7 +12676,7 @@ proto.game.ProviderItem.prototype.getCountOfGames = function() {
|
|
|
12628
12676
|
* @return {!proto.game.ProviderItem} returns this
|
|
12629
12677
|
*/
|
|
12630
12678
|
proto.game.ProviderItem.prototype.setCountOfGames = function(value) {
|
|
12631
|
-
return jspb.Message.setField(this,
|
|
12679
|
+
return jspb.Message.setField(this, 8, value);
|
|
12632
12680
|
};
|
|
12633
12681
|
|
|
12634
12682
|
|
|
@@ -12637,7 +12685,7 @@ proto.game.ProviderItem.prototype.setCountOfGames = function(value) {
|
|
|
12637
12685
|
* @return {!proto.game.ProviderItem} returns this
|
|
12638
12686
|
*/
|
|
12639
12687
|
proto.game.ProviderItem.prototype.clearCountOfGames = function() {
|
|
12640
|
-
return jspb.Message.setField(this,
|
|
12688
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
12641
12689
|
};
|
|
12642
12690
|
|
|
12643
12691
|
|
|
@@ -12646,7 +12694,7 @@ proto.game.ProviderItem.prototype.clearCountOfGames = function() {
|
|
|
12646
12694
|
* @return {boolean}
|
|
12647
12695
|
*/
|
|
12648
12696
|
proto.game.ProviderItem.prototype.hasCountOfGames = function() {
|
|
12649
|
-
return jspb.Message.getField(this,
|
|
12697
|
+
return jspb.Message.getField(this, 8) != null;
|
|
12650
12698
|
};
|
|
12651
12699
|
|
|
12652
12700
|
|