protobuf-platform 1.2.533 → 1.2.536
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/game/game.proto +4 -0
- package/game/game_pb.js +198 -5
- package/package.json +1 -1
package/game/game.proto
CHANGED
|
@@ -239,6 +239,7 @@ message ItemsBunchRequest {
|
|
|
239
239
|
repeated int32 ids = 1;
|
|
240
240
|
optional int32 is_active = 2;
|
|
241
241
|
optional int32 is_popular = 3;
|
|
242
|
+
optional int32 is_deactivated = 4;
|
|
242
243
|
}
|
|
243
244
|
message SyncImagesRequest {
|
|
244
245
|
string type = 1;
|
|
@@ -398,6 +399,7 @@ message ProviderItem {
|
|
|
398
399
|
optional string image_cdn = 7;
|
|
399
400
|
optional int32 count_of_games = 8;
|
|
400
401
|
optional int32 is_popular = 9;
|
|
402
|
+
optional int32 is_deactivated = 10;
|
|
401
403
|
}
|
|
402
404
|
//Provider CRUD | Requests
|
|
403
405
|
message ProviderRequest {
|
|
@@ -415,6 +417,7 @@ message ProviderItemRequest {
|
|
|
415
417
|
optional string file_name = 6;
|
|
416
418
|
optional string file_type = 7;
|
|
417
419
|
optional int32 is_popular = 8;
|
|
420
|
+
optional int32 is_deactivated = 9;
|
|
418
421
|
}
|
|
419
422
|
message GetProviderRequest {
|
|
420
423
|
int32 id = 1;
|
|
@@ -529,6 +532,7 @@ message GameItem {
|
|
|
529
532
|
optional bool is_popular = 27;
|
|
530
533
|
optional bool is_exclusive = 28;
|
|
531
534
|
optional bool is_trending = 29;
|
|
535
|
+
repeated string supported_currencies = 30;
|
|
532
536
|
}
|
|
533
537
|
//Game CRUD | Requests
|
|
534
538
|
message GameRequest {
|
package/game/game_pb.js
CHANGED
|
@@ -8747,7 +8747,8 @@ proto.game.ItemsBunchRequest.toObject = function(includeInstance, msg) {
|
|
|
8747
8747
|
var f, obj = {
|
|
8748
8748
|
idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
8749
8749
|
isActive: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
8750
|
-
isPopular: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
8750
|
+
isPopular: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
8751
|
+
isDeactivated: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
8751
8752
|
};
|
|
8752
8753
|
|
|
8753
8754
|
if (includeInstance) {
|
|
@@ -8798,6 +8799,10 @@ proto.game.ItemsBunchRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
8798
8799
|
var value = /** @type {number} */ (reader.readInt32());
|
|
8799
8800
|
msg.setIsPopular(value);
|
|
8800
8801
|
break;
|
|
8802
|
+
case 4:
|
|
8803
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
8804
|
+
msg.setIsDeactivated(value);
|
|
8805
|
+
break;
|
|
8801
8806
|
default:
|
|
8802
8807
|
reader.skipField();
|
|
8803
8808
|
break;
|
|
@@ -8848,6 +8853,13 @@ proto.game.ItemsBunchRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
8848
8853
|
f
|
|
8849
8854
|
);
|
|
8850
8855
|
}
|
|
8856
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
8857
|
+
if (f != null) {
|
|
8858
|
+
writer.writeInt32(
|
|
8859
|
+
4,
|
|
8860
|
+
f
|
|
8861
|
+
);
|
|
8862
|
+
}
|
|
8851
8863
|
};
|
|
8852
8864
|
|
|
8853
8865
|
|
|
@@ -8960,6 +8972,42 @@ proto.game.ItemsBunchRequest.prototype.hasIsPopular = function() {
|
|
|
8960
8972
|
};
|
|
8961
8973
|
|
|
8962
8974
|
|
|
8975
|
+
/**
|
|
8976
|
+
* optional int32 is_deactivated = 4;
|
|
8977
|
+
* @return {number}
|
|
8978
|
+
*/
|
|
8979
|
+
proto.game.ItemsBunchRequest.prototype.getIsDeactivated = function() {
|
|
8980
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
8981
|
+
};
|
|
8982
|
+
|
|
8983
|
+
|
|
8984
|
+
/**
|
|
8985
|
+
* @param {number} value
|
|
8986
|
+
* @return {!proto.game.ItemsBunchRequest} returns this
|
|
8987
|
+
*/
|
|
8988
|
+
proto.game.ItemsBunchRequest.prototype.setIsDeactivated = function(value) {
|
|
8989
|
+
return jspb.Message.setField(this, 4, value);
|
|
8990
|
+
};
|
|
8991
|
+
|
|
8992
|
+
|
|
8993
|
+
/**
|
|
8994
|
+
* Clears the field making it undefined.
|
|
8995
|
+
* @return {!proto.game.ItemsBunchRequest} returns this
|
|
8996
|
+
*/
|
|
8997
|
+
proto.game.ItemsBunchRequest.prototype.clearIsDeactivated = function() {
|
|
8998
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
8999
|
+
};
|
|
9000
|
+
|
|
9001
|
+
|
|
9002
|
+
/**
|
|
9003
|
+
* Returns whether this field is set.
|
|
9004
|
+
* @return {boolean}
|
|
9005
|
+
*/
|
|
9006
|
+
proto.game.ItemsBunchRequest.prototype.hasIsDeactivated = function() {
|
|
9007
|
+
return jspb.Message.getField(this, 4) != null;
|
|
9008
|
+
};
|
|
9009
|
+
|
|
9010
|
+
|
|
8963
9011
|
|
|
8964
9012
|
|
|
8965
9013
|
|
|
@@ -15404,7 +15452,8 @@ proto.game.ProviderItem.toObject = function(includeInstance, msg) {
|
|
|
15404
15452
|
image: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
15405
15453
|
imageCdn: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
15406
15454
|
countOfGames: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
15407
|
-
isPopular: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
15455
|
+
isPopular: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
15456
|
+
isDeactivated: jspb.Message.getFieldWithDefault(msg, 10, 0)
|
|
15408
15457
|
};
|
|
15409
15458
|
|
|
15410
15459
|
if (includeInstance) {
|
|
@@ -15477,6 +15526,10 @@ proto.game.ProviderItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
15477
15526
|
var value = /** @type {number} */ (reader.readInt32());
|
|
15478
15527
|
msg.setIsPopular(value);
|
|
15479
15528
|
break;
|
|
15529
|
+
case 10:
|
|
15530
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
15531
|
+
msg.setIsDeactivated(value);
|
|
15532
|
+
break;
|
|
15480
15533
|
default:
|
|
15481
15534
|
reader.skipField();
|
|
15482
15535
|
break;
|
|
@@ -15569,6 +15622,13 @@ proto.game.ProviderItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
15569
15622
|
f
|
|
15570
15623
|
);
|
|
15571
15624
|
}
|
|
15625
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
|
15626
|
+
if (f != null) {
|
|
15627
|
+
writer.writeInt32(
|
|
15628
|
+
10,
|
|
15629
|
+
f
|
|
15630
|
+
);
|
|
15631
|
+
}
|
|
15572
15632
|
};
|
|
15573
15633
|
|
|
15574
15634
|
|
|
@@ -15896,6 +15956,42 @@ proto.game.ProviderItem.prototype.hasIsPopular = function() {
|
|
|
15896
15956
|
};
|
|
15897
15957
|
|
|
15898
15958
|
|
|
15959
|
+
/**
|
|
15960
|
+
* optional int32 is_deactivated = 10;
|
|
15961
|
+
* @return {number}
|
|
15962
|
+
*/
|
|
15963
|
+
proto.game.ProviderItem.prototype.getIsDeactivated = function() {
|
|
15964
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
15965
|
+
};
|
|
15966
|
+
|
|
15967
|
+
|
|
15968
|
+
/**
|
|
15969
|
+
* @param {number} value
|
|
15970
|
+
* @return {!proto.game.ProviderItem} returns this
|
|
15971
|
+
*/
|
|
15972
|
+
proto.game.ProviderItem.prototype.setIsDeactivated = function(value) {
|
|
15973
|
+
return jspb.Message.setField(this, 10, value);
|
|
15974
|
+
};
|
|
15975
|
+
|
|
15976
|
+
|
|
15977
|
+
/**
|
|
15978
|
+
* Clears the field making it undefined.
|
|
15979
|
+
* @return {!proto.game.ProviderItem} returns this
|
|
15980
|
+
*/
|
|
15981
|
+
proto.game.ProviderItem.prototype.clearIsDeactivated = function() {
|
|
15982
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
15983
|
+
};
|
|
15984
|
+
|
|
15985
|
+
|
|
15986
|
+
/**
|
|
15987
|
+
* Returns whether this field is set.
|
|
15988
|
+
* @return {boolean}
|
|
15989
|
+
*/
|
|
15990
|
+
proto.game.ProviderItem.prototype.hasIsDeactivated = function() {
|
|
15991
|
+
return jspb.Message.getField(this, 10) != null;
|
|
15992
|
+
};
|
|
15993
|
+
|
|
15994
|
+
|
|
15899
15995
|
|
|
15900
15996
|
/**
|
|
15901
15997
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -16163,7 +16259,8 @@ proto.game.ProviderItemRequest.toObject = function(includeInstance, msg) {
|
|
|
16163
16259
|
isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
16164
16260
|
fileName: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
16165
16261
|
fileType: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
16166
|
-
isPopular: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
|
16262
|
+
isPopular: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
16263
|
+
isDeactivated: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
16167
16264
|
};
|
|
16168
16265
|
|
|
16169
16266
|
if (includeInstance) {
|
|
@@ -16232,6 +16329,10 @@ proto.game.ProviderItemRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
16232
16329
|
var value = /** @type {number} */ (reader.readInt32());
|
|
16233
16330
|
msg.setIsPopular(value);
|
|
16234
16331
|
break;
|
|
16332
|
+
case 9:
|
|
16333
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
16334
|
+
msg.setIsDeactivated(value);
|
|
16335
|
+
break;
|
|
16235
16336
|
default:
|
|
16236
16337
|
reader.skipField();
|
|
16237
16338
|
break;
|
|
@@ -16317,6 +16418,13 @@ proto.game.ProviderItemRequest.serializeBinaryToWriter = function(message, write
|
|
|
16317
16418
|
f
|
|
16318
16419
|
);
|
|
16319
16420
|
}
|
|
16421
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
|
16422
|
+
if (f != null) {
|
|
16423
|
+
writer.writeInt32(
|
|
16424
|
+
9,
|
|
16425
|
+
f
|
|
16426
|
+
);
|
|
16427
|
+
}
|
|
16320
16428
|
};
|
|
16321
16429
|
|
|
16322
16430
|
|
|
@@ -16608,6 +16716,42 @@ proto.game.ProviderItemRequest.prototype.hasIsPopular = function() {
|
|
|
16608
16716
|
};
|
|
16609
16717
|
|
|
16610
16718
|
|
|
16719
|
+
/**
|
|
16720
|
+
* optional int32 is_deactivated = 9;
|
|
16721
|
+
* @return {number}
|
|
16722
|
+
*/
|
|
16723
|
+
proto.game.ProviderItemRequest.prototype.getIsDeactivated = function() {
|
|
16724
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
16725
|
+
};
|
|
16726
|
+
|
|
16727
|
+
|
|
16728
|
+
/**
|
|
16729
|
+
* @param {number} value
|
|
16730
|
+
* @return {!proto.game.ProviderItemRequest} returns this
|
|
16731
|
+
*/
|
|
16732
|
+
proto.game.ProviderItemRequest.prototype.setIsDeactivated = function(value) {
|
|
16733
|
+
return jspb.Message.setField(this, 9, value);
|
|
16734
|
+
};
|
|
16735
|
+
|
|
16736
|
+
|
|
16737
|
+
/**
|
|
16738
|
+
* Clears the field making it undefined.
|
|
16739
|
+
* @return {!proto.game.ProviderItemRequest} returns this
|
|
16740
|
+
*/
|
|
16741
|
+
proto.game.ProviderItemRequest.prototype.clearIsDeactivated = function() {
|
|
16742
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
16743
|
+
};
|
|
16744
|
+
|
|
16745
|
+
|
|
16746
|
+
/**
|
|
16747
|
+
* Returns whether this field is set.
|
|
16748
|
+
* @return {boolean}
|
|
16749
|
+
*/
|
|
16750
|
+
proto.game.ProviderItemRequest.prototype.hasIsDeactivated = function() {
|
|
16751
|
+
return jspb.Message.getField(this, 9) != null;
|
|
16752
|
+
};
|
|
16753
|
+
|
|
16754
|
+
|
|
16611
16755
|
|
|
16612
16756
|
|
|
16613
16757
|
|
|
@@ -20271,7 +20415,7 @@ proto.game.GameImages.prototype.hasSquare = function() {
|
|
|
20271
20415
|
* @private {!Array<number>}
|
|
20272
20416
|
* @const
|
|
20273
20417
|
*/
|
|
20274
|
-
proto.game.GameItem.repeatedFields_ = [23];
|
|
20418
|
+
proto.game.GameItem.repeatedFields_ = [23,30];
|
|
20275
20419
|
|
|
20276
20420
|
|
|
20277
20421
|
|
|
@@ -20332,7 +20476,8 @@ proto.game.GameItem.toObject = function(includeInstance, msg) {
|
|
|
20332
20476
|
isNew: jspb.Message.getBooleanFieldWithDefault(msg, 26, false),
|
|
20333
20477
|
isPopular: jspb.Message.getBooleanFieldWithDefault(msg, 27, false),
|
|
20334
20478
|
isExclusive: jspb.Message.getBooleanFieldWithDefault(msg, 28, false),
|
|
20335
|
-
isTrending: jspb.Message.getBooleanFieldWithDefault(msg, 29, false)
|
|
20479
|
+
isTrending: jspb.Message.getBooleanFieldWithDefault(msg, 29, false),
|
|
20480
|
+
supportedCurrenciesList: (f = jspb.Message.getRepeatedField(msg, 30)) == null ? undefined : f
|
|
20336
20481
|
};
|
|
20337
20482
|
|
|
20338
20483
|
if (includeInstance) {
|
|
@@ -20487,6 +20632,10 @@ proto.game.GameItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
20487
20632
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
20488
20633
|
msg.setIsTrending(value);
|
|
20489
20634
|
break;
|
|
20635
|
+
case 30:
|
|
20636
|
+
var value = /** @type {string} */ (reader.readString());
|
|
20637
|
+
msg.addSupportedCurrencies(value);
|
|
20638
|
+
break;
|
|
20490
20639
|
default:
|
|
20491
20640
|
reader.skipField();
|
|
20492
20641
|
break;
|
|
@@ -20721,6 +20870,13 @@ proto.game.GameItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
20721
20870
|
f
|
|
20722
20871
|
);
|
|
20723
20872
|
}
|
|
20873
|
+
f = message.getSupportedCurrenciesList();
|
|
20874
|
+
if (f.length > 0) {
|
|
20875
|
+
writer.writeRepeatedString(
|
|
20876
|
+
30,
|
|
20877
|
+
f
|
|
20878
|
+
);
|
|
20879
|
+
}
|
|
20724
20880
|
};
|
|
20725
20881
|
|
|
20726
20882
|
|
|
@@ -21771,6 +21927,43 @@ proto.game.GameItem.prototype.hasIsTrending = function() {
|
|
|
21771
21927
|
};
|
|
21772
21928
|
|
|
21773
21929
|
|
|
21930
|
+
/**
|
|
21931
|
+
* repeated string supported_currencies = 30;
|
|
21932
|
+
* @return {!Array<string>}
|
|
21933
|
+
*/
|
|
21934
|
+
proto.game.GameItem.prototype.getSupportedCurrenciesList = function() {
|
|
21935
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 30));
|
|
21936
|
+
};
|
|
21937
|
+
|
|
21938
|
+
|
|
21939
|
+
/**
|
|
21940
|
+
* @param {!Array<string>} value
|
|
21941
|
+
* @return {!proto.game.GameItem} returns this
|
|
21942
|
+
*/
|
|
21943
|
+
proto.game.GameItem.prototype.setSupportedCurrenciesList = function(value) {
|
|
21944
|
+
return jspb.Message.setField(this, 30, value || []);
|
|
21945
|
+
};
|
|
21946
|
+
|
|
21947
|
+
|
|
21948
|
+
/**
|
|
21949
|
+
* @param {string} value
|
|
21950
|
+
* @param {number=} opt_index
|
|
21951
|
+
* @return {!proto.game.GameItem} returns this
|
|
21952
|
+
*/
|
|
21953
|
+
proto.game.GameItem.prototype.addSupportedCurrencies = function(value, opt_index) {
|
|
21954
|
+
return jspb.Message.addToRepeatedField(this, 30, value, opt_index);
|
|
21955
|
+
};
|
|
21956
|
+
|
|
21957
|
+
|
|
21958
|
+
/**
|
|
21959
|
+
* Clears the list making it empty but non-null.
|
|
21960
|
+
* @return {!proto.game.GameItem} returns this
|
|
21961
|
+
*/
|
|
21962
|
+
proto.game.GameItem.prototype.clearSupportedCurrenciesList = function() {
|
|
21963
|
+
return this.setSupportedCurrenciesList([]);
|
|
21964
|
+
};
|
|
21965
|
+
|
|
21966
|
+
|
|
21774
21967
|
|
|
21775
21968
|
/**
|
|
21776
21969
|
* Oneof group definitions for this message. Each group defines the field
|