protobuf-platform 1.2.145 → 1.2.146
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 +226 -8
- package/package.json +1 -1
package/game/game.proto
CHANGED
|
@@ -142,6 +142,7 @@ message GameSearchRequest {
|
|
|
142
142
|
optional bool admin_side = 12;
|
|
143
143
|
optional int32 has_free_spins = 13;
|
|
144
144
|
optional int32 is_hidden = 14;
|
|
145
|
+
repeated int32 game_ids = 15;
|
|
145
146
|
}
|
|
146
147
|
message WagerSearchRequest {
|
|
147
148
|
optional int32 wager_id = 1;
|
|
@@ -168,15 +169,18 @@ message ProviderSearchRequest {
|
|
|
168
169
|
message CategorySearchRequest {
|
|
169
170
|
optional string category_title = 1;
|
|
170
171
|
optional int32 is_active = 2;
|
|
172
|
+
repeated int32 category_ids = 3;
|
|
171
173
|
}
|
|
172
174
|
message CollectionSearchRequest {
|
|
173
175
|
optional string collection_title = 1;
|
|
174
176
|
optional int32 is_active = 2;
|
|
175
177
|
repeated int32 category_ids = 3;
|
|
178
|
+
repeated int32 collection_ids = 4;
|
|
176
179
|
}
|
|
177
180
|
message TagSearchRequest {
|
|
178
181
|
optional string tag_title = 1;
|
|
179
182
|
optional int32 is_active = 2;
|
|
183
|
+
repeated int32 tag_ids = 3;
|
|
180
184
|
}
|
|
181
185
|
message ItemsBunchRequest {
|
|
182
186
|
repeated int32 ids = 1;
|
package/game/game_pb.js
CHANGED
|
@@ -315,7 +315,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
315
315
|
* @constructor
|
|
316
316
|
*/
|
|
317
317
|
proto.game.CategorySearchRequest = function(opt_data) {
|
|
318
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
318
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.CategorySearchRequest.repeatedFields_, null);
|
|
319
319
|
};
|
|
320
320
|
goog.inherits(proto.game.CategorySearchRequest, jspb.Message);
|
|
321
321
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -357,7 +357,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
357
357
|
* @constructor
|
|
358
358
|
*/
|
|
359
359
|
proto.game.TagSearchRequest = function(opt_data) {
|
|
360
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
360
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.TagSearchRequest.repeatedFields_, null);
|
|
361
361
|
};
|
|
362
362
|
goog.inherits(proto.game.TagSearchRequest, jspb.Message);
|
|
363
363
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -3376,7 +3376,7 @@ proto.game.PaginationRequest.prototype.hasTagSearchParams = function() {
|
|
|
3376
3376
|
* @private {!Array<number>}
|
|
3377
3377
|
* @const
|
|
3378
3378
|
*/
|
|
3379
|
-
proto.game.GameSearchRequest.repeatedFields_ = [5,6,7,8,9];
|
|
3379
|
+
proto.game.GameSearchRequest.repeatedFields_ = [5,6,7,8,9,15];
|
|
3380
3380
|
|
|
3381
3381
|
|
|
3382
3382
|
|
|
@@ -3422,7 +3422,8 @@ proto.game.GameSearchRequest.toObject = function(includeInstance, msg) {
|
|
|
3422
3422
|
userGeo: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
3423
3423
|
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
3424
3424
|
hasFreeSpins: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
3425
|
-
isHidden: jspb.Message.getFieldWithDefault(msg, 14, 0)
|
|
3425
|
+
isHidden: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
3426
|
+
gameIdsList: (f = jspb.Message.getRepeatedField(msg, 15)) == null ? undefined : f
|
|
3426
3427
|
};
|
|
3427
3428
|
|
|
3428
3429
|
if (includeInstance) {
|
|
@@ -3523,6 +3524,12 @@ proto.game.GameSearchRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
3523
3524
|
var value = /** @type {number} */ (reader.readInt32());
|
|
3524
3525
|
msg.setIsHidden(value);
|
|
3525
3526
|
break;
|
|
3527
|
+
case 15:
|
|
3528
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
3529
|
+
for (var i = 0; i < values.length; i++) {
|
|
3530
|
+
msg.addGameIds(values[i]);
|
|
3531
|
+
}
|
|
3532
|
+
break;
|
|
3526
3533
|
default:
|
|
3527
3534
|
reader.skipField();
|
|
3528
3535
|
break;
|
|
@@ -3650,6 +3657,13 @@ proto.game.GameSearchRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
3650
3657
|
f
|
|
3651
3658
|
);
|
|
3652
3659
|
}
|
|
3660
|
+
f = message.getGameIdsList();
|
|
3661
|
+
if (f.length > 0) {
|
|
3662
|
+
writer.writePackedInt32(
|
|
3663
|
+
15,
|
|
3664
|
+
f
|
|
3665
|
+
);
|
|
3666
|
+
}
|
|
3653
3667
|
};
|
|
3654
3668
|
|
|
3655
3669
|
|
|
@@ -4162,6 +4176,43 @@ proto.game.GameSearchRequest.prototype.hasIsHidden = function() {
|
|
|
4162
4176
|
};
|
|
4163
4177
|
|
|
4164
4178
|
|
|
4179
|
+
/**
|
|
4180
|
+
* repeated int32 game_ids = 15;
|
|
4181
|
+
* @return {!Array<number>}
|
|
4182
|
+
*/
|
|
4183
|
+
proto.game.GameSearchRequest.prototype.getGameIdsList = function() {
|
|
4184
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 15));
|
|
4185
|
+
};
|
|
4186
|
+
|
|
4187
|
+
|
|
4188
|
+
/**
|
|
4189
|
+
* @param {!Array<number>} value
|
|
4190
|
+
* @return {!proto.game.GameSearchRequest} returns this
|
|
4191
|
+
*/
|
|
4192
|
+
proto.game.GameSearchRequest.prototype.setGameIdsList = function(value) {
|
|
4193
|
+
return jspb.Message.setField(this, 15, value || []);
|
|
4194
|
+
};
|
|
4195
|
+
|
|
4196
|
+
|
|
4197
|
+
/**
|
|
4198
|
+
* @param {number} value
|
|
4199
|
+
* @param {number=} opt_index
|
|
4200
|
+
* @return {!proto.game.GameSearchRequest} returns this
|
|
4201
|
+
*/
|
|
4202
|
+
proto.game.GameSearchRequest.prototype.addGameIds = function(value, opt_index) {
|
|
4203
|
+
return jspb.Message.addToRepeatedField(this, 15, value, opt_index);
|
|
4204
|
+
};
|
|
4205
|
+
|
|
4206
|
+
|
|
4207
|
+
/**
|
|
4208
|
+
* Clears the list making it empty but non-null.
|
|
4209
|
+
* @return {!proto.game.GameSearchRequest} returns this
|
|
4210
|
+
*/
|
|
4211
|
+
proto.game.GameSearchRequest.prototype.clearGameIdsList = function() {
|
|
4212
|
+
return this.setGameIdsList([]);
|
|
4213
|
+
};
|
|
4214
|
+
|
|
4215
|
+
|
|
4165
4216
|
|
|
4166
4217
|
/**
|
|
4167
4218
|
* List of repeated fields within this message type.
|
|
@@ -5255,6 +5306,13 @@ proto.game.ProviderSearchRequest.prototype.hasGeo = function() {
|
|
|
5255
5306
|
|
|
5256
5307
|
|
|
5257
5308
|
|
|
5309
|
+
/**
|
|
5310
|
+
* List of repeated fields within this message type.
|
|
5311
|
+
* @private {!Array<number>}
|
|
5312
|
+
* @const
|
|
5313
|
+
*/
|
|
5314
|
+
proto.game.CategorySearchRequest.repeatedFields_ = [3];
|
|
5315
|
+
|
|
5258
5316
|
|
|
5259
5317
|
|
|
5260
5318
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -5287,7 +5345,8 @@ proto.game.CategorySearchRequest.prototype.toObject = function(opt_includeInstan
|
|
|
5287
5345
|
proto.game.CategorySearchRequest.toObject = function(includeInstance, msg) {
|
|
5288
5346
|
var f, obj = {
|
|
5289
5347
|
categoryTitle: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5290
|
-
isActive: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
5348
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
5349
|
+
categoryIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
5291
5350
|
};
|
|
5292
5351
|
|
|
5293
5352
|
if (includeInstance) {
|
|
@@ -5332,6 +5391,12 @@ proto.game.CategorySearchRequest.deserializeBinaryFromReader = function(msg, rea
|
|
|
5332
5391
|
var value = /** @type {number} */ (reader.readInt32());
|
|
5333
5392
|
msg.setIsActive(value);
|
|
5334
5393
|
break;
|
|
5394
|
+
case 3:
|
|
5395
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
5396
|
+
for (var i = 0; i < values.length; i++) {
|
|
5397
|
+
msg.addCategoryIds(values[i]);
|
|
5398
|
+
}
|
|
5399
|
+
break;
|
|
5335
5400
|
default:
|
|
5336
5401
|
reader.skipField();
|
|
5337
5402
|
break;
|
|
@@ -5375,6 +5440,13 @@ proto.game.CategorySearchRequest.serializeBinaryToWriter = function(message, wri
|
|
|
5375
5440
|
f
|
|
5376
5441
|
);
|
|
5377
5442
|
}
|
|
5443
|
+
f = message.getCategoryIdsList();
|
|
5444
|
+
if (f.length > 0) {
|
|
5445
|
+
writer.writePackedInt32(
|
|
5446
|
+
3,
|
|
5447
|
+
f
|
|
5448
|
+
);
|
|
5449
|
+
}
|
|
5378
5450
|
};
|
|
5379
5451
|
|
|
5380
5452
|
|
|
@@ -5450,13 +5522,50 @@ proto.game.CategorySearchRequest.prototype.hasIsActive = function() {
|
|
|
5450
5522
|
};
|
|
5451
5523
|
|
|
5452
5524
|
|
|
5525
|
+
/**
|
|
5526
|
+
* repeated int32 category_ids = 3;
|
|
5527
|
+
* @return {!Array<number>}
|
|
5528
|
+
*/
|
|
5529
|
+
proto.game.CategorySearchRequest.prototype.getCategoryIdsList = function() {
|
|
5530
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
5531
|
+
};
|
|
5532
|
+
|
|
5533
|
+
|
|
5534
|
+
/**
|
|
5535
|
+
* @param {!Array<number>} value
|
|
5536
|
+
* @return {!proto.game.CategorySearchRequest} returns this
|
|
5537
|
+
*/
|
|
5538
|
+
proto.game.CategorySearchRequest.prototype.setCategoryIdsList = function(value) {
|
|
5539
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
5540
|
+
};
|
|
5541
|
+
|
|
5542
|
+
|
|
5543
|
+
/**
|
|
5544
|
+
* @param {number} value
|
|
5545
|
+
* @param {number=} opt_index
|
|
5546
|
+
* @return {!proto.game.CategorySearchRequest} returns this
|
|
5547
|
+
*/
|
|
5548
|
+
proto.game.CategorySearchRequest.prototype.addCategoryIds = function(value, opt_index) {
|
|
5549
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
5550
|
+
};
|
|
5551
|
+
|
|
5552
|
+
|
|
5553
|
+
/**
|
|
5554
|
+
* Clears the list making it empty but non-null.
|
|
5555
|
+
* @return {!proto.game.CategorySearchRequest} returns this
|
|
5556
|
+
*/
|
|
5557
|
+
proto.game.CategorySearchRequest.prototype.clearCategoryIdsList = function() {
|
|
5558
|
+
return this.setCategoryIdsList([]);
|
|
5559
|
+
};
|
|
5560
|
+
|
|
5561
|
+
|
|
5453
5562
|
|
|
5454
5563
|
/**
|
|
5455
5564
|
* List of repeated fields within this message type.
|
|
5456
5565
|
* @private {!Array<number>}
|
|
5457
5566
|
* @const
|
|
5458
5567
|
*/
|
|
5459
|
-
proto.game.CollectionSearchRequest.repeatedFields_ = [3];
|
|
5568
|
+
proto.game.CollectionSearchRequest.repeatedFields_ = [3,4];
|
|
5460
5569
|
|
|
5461
5570
|
|
|
5462
5571
|
|
|
@@ -5491,7 +5600,8 @@ proto.game.CollectionSearchRequest.toObject = function(includeInstance, msg) {
|
|
|
5491
5600
|
var f, obj = {
|
|
5492
5601
|
collectionTitle: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5493
5602
|
isActive: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
5494
|
-
categoryIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
5603
|
+
categoryIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
5604
|
+
collectionIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
|
|
5495
5605
|
};
|
|
5496
5606
|
|
|
5497
5607
|
if (includeInstance) {
|
|
@@ -5542,6 +5652,12 @@ proto.game.CollectionSearchRequest.deserializeBinaryFromReader = function(msg, r
|
|
|
5542
5652
|
msg.addCategoryIds(values[i]);
|
|
5543
5653
|
}
|
|
5544
5654
|
break;
|
|
5655
|
+
case 4:
|
|
5656
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
5657
|
+
for (var i = 0; i < values.length; i++) {
|
|
5658
|
+
msg.addCollectionIds(values[i]);
|
|
5659
|
+
}
|
|
5660
|
+
break;
|
|
5545
5661
|
default:
|
|
5546
5662
|
reader.skipField();
|
|
5547
5663
|
break;
|
|
@@ -5592,6 +5708,13 @@ proto.game.CollectionSearchRequest.serializeBinaryToWriter = function(message, w
|
|
|
5592
5708
|
f
|
|
5593
5709
|
);
|
|
5594
5710
|
}
|
|
5711
|
+
f = message.getCollectionIdsList();
|
|
5712
|
+
if (f.length > 0) {
|
|
5713
|
+
writer.writePackedInt32(
|
|
5714
|
+
4,
|
|
5715
|
+
f
|
|
5716
|
+
);
|
|
5717
|
+
}
|
|
5595
5718
|
};
|
|
5596
5719
|
|
|
5597
5720
|
|
|
@@ -5704,6 +5827,50 @@ proto.game.CollectionSearchRequest.prototype.clearCategoryIdsList = function() {
|
|
|
5704
5827
|
};
|
|
5705
5828
|
|
|
5706
5829
|
|
|
5830
|
+
/**
|
|
5831
|
+
* repeated int32 collection_ids = 4;
|
|
5832
|
+
* @return {!Array<number>}
|
|
5833
|
+
*/
|
|
5834
|
+
proto.game.CollectionSearchRequest.prototype.getCollectionIdsList = function() {
|
|
5835
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
5836
|
+
};
|
|
5837
|
+
|
|
5838
|
+
|
|
5839
|
+
/**
|
|
5840
|
+
* @param {!Array<number>} value
|
|
5841
|
+
* @return {!proto.game.CollectionSearchRequest} returns this
|
|
5842
|
+
*/
|
|
5843
|
+
proto.game.CollectionSearchRequest.prototype.setCollectionIdsList = function(value) {
|
|
5844
|
+
return jspb.Message.setField(this, 4, value || []);
|
|
5845
|
+
};
|
|
5846
|
+
|
|
5847
|
+
|
|
5848
|
+
/**
|
|
5849
|
+
* @param {number} value
|
|
5850
|
+
* @param {number=} opt_index
|
|
5851
|
+
* @return {!proto.game.CollectionSearchRequest} returns this
|
|
5852
|
+
*/
|
|
5853
|
+
proto.game.CollectionSearchRequest.prototype.addCollectionIds = function(value, opt_index) {
|
|
5854
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
5855
|
+
};
|
|
5856
|
+
|
|
5857
|
+
|
|
5858
|
+
/**
|
|
5859
|
+
* Clears the list making it empty but non-null.
|
|
5860
|
+
* @return {!proto.game.CollectionSearchRequest} returns this
|
|
5861
|
+
*/
|
|
5862
|
+
proto.game.CollectionSearchRequest.prototype.clearCollectionIdsList = function() {
|
|
5863
|
+
return this.setCollectionIdsList([]);
|
|
5864
|
+
};
|
|
5865
|
+
|
|
5866
|
+
|
|
5867
|
+
|
|
5868
|
+
/**
|
|
5869
|
+
* List of repeated fields within this message type.
|
|
5870
|
+
* @private {!Array<number>}
|
|
5871
|
+
* @const
|
|
5872
|
+
*/
|
|
5873
|
+
proto.game.TagSearchRequest.repeatedFields_ = [3];
|
|
5707
5874
|
|
|
5708
5875
|
|
|
5709
5876
|
|
|
@@ -5737,7 +5904,8 @@ proto.game.TagSearchRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
5737
5904
|
proto.game.TagSearchRequest.toObject = function(includeInstance, msg) {
|
|
5738
5905
|
var f, obj = {
|
|
5739
5906
|
tagTitle: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5740
|
-
isActive: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
5907
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
5908
|
+
tagIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
5741
5909
|
};
|
|
5742
5910
|
|
|
5743
5911
|
if (includeInstance) {
|
|
@@ -5782,6 +5950,12 @@ proto.game.TagSearchRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
5782
5950
|
var value = /** @type {number} */ (reader.readInt32());
|
|
5783
5951
|
msg.setIsActive(value);
|
|
5784
5952
|
break;
|
|
5953
|
+
case 3:
|
|
5954
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
5955
|
+
for (var i = 0; i < values.length; i++) {
|
|
5956
|
+
msg.addTagIds(values[i]);
|
|
5957
|
+
}
|
|
5958
|
+
break;
|
|
5785
5959
|
default:
|
|
5786
5960
|
reader.skipField();
|
|
5787
5961
|
break;
|
|
@@ -5825,6 +5999,13 @@ proto.game.TagSearchRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
5825
5999
|
f
|
|
5826
6000
|
);
|
|
5827
6001
|
}
|
|
6002
|
+
f = message.getTagIdsList();
|
|
6003
|
+
if (f.length > 0) {
|
|
6004
|
+
writer.writePackedInt32(
|
|
6005
|
+
3,
|
|
6006
|
+
f
|
|
6007
|
+
);
|
|
6008
|
+
}
|
|
5828
6009
|
};
|
|
5829
6010
|
|
|
5830
6011
|
|
|
@@ -5900,6 +6081,43 @@ proto.game.TagSearchRequest.prototype.hasIsActive = function() {
|
|
|
5900
6081
|
};
|
|
5901
6082
|
|
|
5902
6083
|
|
|
6084
|
+
/**
|
|
6085
|
+
* repeated int32 tag_ids = 3;
|
|
6086
|
+
* @return {!Array<number>}
|
|
6087
|
+
*/
|
|
6088
|
+
proto.game.TagSearchRequest.prototype.getTagIdsList = function() {
|
|
6089
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
6090
|
+
};
|
|
6091
|
+
|
|
6092
|
+
|
|
6093
|
+
/**
|
|
6094
|
+
* @param {!Array<number>} value
|
|
6095
|
+
* @return {!proto.game.TagSearchRequest} returns this
|
|
6096
|
+
*/
|
|
6097
|
+
proto.game.TagSearchRequest.prototype.setTagIdsList = function(value) {
|
|
6098
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
6099
|
+
};
|
|
6100
|
+
|
|
6101
|
+
|
|
6102
|
+
/**
|
|
6103
|
+
* @param {number} value
|
|
6104
|
+
* @param {number=} opt_index
|
|
6105
|
+
* @return {!proto.game.TagSearchRequest} returns this
|
|
6106
|
+
*/
|
|
6107
|
+
proto.game.TagSearchRequest.prototype.addTagIds = function(value, opt_index) {
|
|
6108
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
6109
|
+
};
|
|
6110
|
+
|
|
6111
|
+
|
|
6112
|
+
/**
|
|
6113
|
+
* Clears the list making it empty but non-null.
|
|
6114
|
+
* @return {!proto.game.TagSearchRequest} returns this
|
|
6115
|
+
*/
|
|
6116
|
+
proto.game.TagSearchRequest.prototype.clearTagIdsList = function() {
|
|
6117
|
+
return this.setTagIdsList([]);
|
|
6118
|
+
};
|
|
6119
|
+
|
|
6120
|
+
|
|
5903
6121
|
|
|
5904
6122
|
/**
|
|
5905
6123
|
* List of repeated fields within this message type.
|