protobuf-platform 1.0.273 → 1.0.274
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 +3 -3
- package/game/game_pb.js +111 -33
- package/package.json +1 -1
package/game/game.proto
CHANGED
@@ -395,7 +395,7 @@ message GameStatusResponse {
|
|
395
395
|
string status = 1;
|
396
396
|
}
|
397
397
|
message SearchGamesIntoCollectionsRequest {
|
398
|
-
string collection_slugs = 1;
|
398
|
+
repeated string collection_slugs = 1;
|
399
399
|
optional string geo = 2;
|
400
400
|
optional int32 limit = 3;
|
401
401
|
optional int32 offset = 4;
|
@@ -403,7 +403,7 @@ message SearchGamesIntoCollectionsRequest {
|
|
403
403
|
optional bool admin_side = 6;
|
404
404
|
}
|
405
405
|
message SearchGamesIntoTagsRequest {
|
406
|
-
string tag_slugs = 1;
|
406
|
+
repeated string tag_slugs = 1;
|
407
407
|
optional string geo = 2;
|
408
408
|
optional int32 limit = 3;
|
409
409
|
optional int32 offset = 4;
|
@@ -411,7 +411,7 @@ message SearchGamesIntoTagsRequest {
|
|
411
411
|
optional bool admin_side = 6;
|
412
412
|
}
|
413
413
|
message SearchGamesIntoProvidersRequest {
|
414
|
-
string provider_slugs = 1;
|
414
|
+
repeated string provider_slugs = 1;
|
415
415
|
optional string geo = 2;
|
416
416
|
optional int32 limit = 3;
|
417
417
|
optional int32 offset = 4;
|
package/game/game_pb.js
CHANGED
@@ -1279,7 +1279,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
1279
1279
|
* @constructor
|
1280
1280
|
*/
|
1281
1281
|
proto.game.SearchGamesIntoCollectionsRequest = function(opt_data) {
|
1282
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
1282
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.SearchGamesIntoCollectionsRequest.repeatedFields_, null);
|
1283
1283
|
};
|
1284
1284
|
goog.inherits(proto.game.SearchGamesIntoCollectionsRequest, jspb.Message);
|
1285
1285
|
if (goog.DEBUG && !COMPILED) {
|
@@ -1300,7 +1300,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
1300
1300
|
* @constructor
|
1301
1301
|
*/
|
1302
1302
|
proto.game.SearchGamesIntoTagsRequest = function(opt_data) {
|
1303
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
1303
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.SearchGamesIntoTagsRequest.repeatedFields_, null);
|
1304
1304
|
};
|
1305
1305
|
goog.inherits(proto.game.SearchGamesIntoTagsRequest, jspb.Message);
|
1306
1306
|
if (goog.DEBUG && !COMPILED) {
|
@@ -1321,7 +1321,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
1321
1321
|
* @constructor
|
1322
1322
|
*/
|
1323
1323
|
proto.game.SearchGamesIntoProvidersRequest = function(opt_data) {
|
1324
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
1324
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.SearchGamesIntoProvidersRequest.repeatedFields_, null);
|
1325
1325
|
};
|
1326
1326
|
goog.inherits(proto.game.SearchGamesIntoProvidersRequest, jspb.Message);
|
1327
1327
|
if (goog.DEBUG && !COMPILED) {
|
@@ -16389,6 +16389,13 @@ proto.game.GameStatusResponse.prototype.setStatus = function(value) {
|
|
16389
16389
|
|
16390
16390
|
|
16391
16391
|
|
16392
|
+
/**
|
16393
|
+
* List of repeated fields within this message type.
|
16394
|
+
* @private {!Array<number>}
|
16395
|
+
* @const
|
16396
|
+
*/
|
16397
|
+
proto.game.SearchGamesIntoCollectionsRequest.repeatedFields_ = [1];
|
16398
|
+
|
16392
16399
|
|
16393
16400
|
|
16394
16401
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
@@ -16420,7 +16427,7 @@ proto.game.SearchGamesIntoCollectionsRequest.prototype.toObject = function(opt_i
|
|
16420
16427
|
*/
|
16421
16428
|
proto.game.SearchGamesIntoCollectionsRequest.toObject = function(includeInstance, msg) {
|
16422
16429
|
var f, obj = {
|
16423
|
-
|
16430
|
+
collectionSlugsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
16424
16431
|
geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
16425
16432
|
limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
16426
16433
|
offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
@@ -16464,7 +16471,7 @@ proto.game.SearchGamesIntoCollectionsRequest.deserializeBinaryFromReader = funct
|
|
16464
16471
|
switch (field) {
|
16465
16472
|
case 1:
|
16466
16473
|
var value = /** @type {string} */ (reader.readString());
|
16467
|
-
msg.
|
16474
|
+
msg.addCollectionSlugs(value);
|
16468
16475
|
break;
|
16469
16476
|
case 2:
|
16470
16477
|
var value = /** @type {string} */ (reader.readString());
|
@@ -16515,9 +16522,9 @@ proto.game.SearchGamesIntoCollectionsRequest.prototype.serializeBinary = functio
|
|
16515
16522
|
*/
|
16516
16523
|
proto.game.SearchGamesIntoCollectionsRequest.serializeBinaryToWriter = function(message, writer) {
|
16517
16524
|
var f = undefined;
|
16518
|
-
f = message.
|
16525
|
+
f = message.getCollectionSlugsList();
|
16519
16526
|
if (f.length > 0) {
|
16520
|
-
writer.
|
16527
|
+
writer.writeRepeatedString(
|
16521
16528
|
1,
|
16522
16529
|
f
|
16523
16530
|
);
|
@@ -16561,20 +16568,39 @@ proto.game.SearchGamesIntoCollectionsRequest.serializeBinaryToWriter = function(
|
|
16561
16568
|
|
16562
16569
|
|
16563
16570
|
/**
|
16564
|
-
*
|
16565
|
-
* @return {string}
|
16571
|
+
* repeated string collection_slugs = 1;
|
16572
|
+
* @return {!Array<string>}
|
16566
16573
|
*/
|
16567
|
-
proto.game.SearchGamesIntoCollectionsRequest.prototype.
|
16568
|
-
return /** @type {string} */ (jspb.Message.
|
16574
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.getCollectionSlugsList = function() {
|
16575
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
16576
|
+
};
|
16577
|
+
|
16578
|
+
|
16579
|
+
/**
|
16580
|
+
* @param {!Array<string>} value
|
16581
|
+
* @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
|
16582
|
+
*/
|
16583
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.setCollectionSlugsList = function(value) {
|
16584
|
+
return jspb.Message.setField(this, 1, value || []);
|
16569
16585
|
};
|
16570
16586
|
|
16571
16587
|
|
16572
16588
|
/**
|
16573
16589
|
* @param {string} value
|
16590
|
+
* @param {number=} opt_index
|
16574
16591
|
* @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
|
16575
16592
|
*/
|
16576
|
-
proto.game.SearchGamesIntoCollectionsRequest.prototype.
|
16577
|
-
return jspb.Message.
|
16593
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.addCollectionSlugs = function(value, opt_index) {
|
16594
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
16595
|
+
};
|
16596
|
+
|
16597
|
+
|
16598
|
+
/**
|
16599
|
+
* Clears the list making it empty but non-null.
|
16600
|
+
* @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
|
16601
|
+
*/
|
16602
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.clearCollectionSlugsList = function() {
|
16603
|
+
return this.setCollectionSlugsList([]);
|
16578
16604
|
};
|
16579
16605
|
|
16580
16606
|
|
@@ -16759,6 +16785,13 @@ proto.game.SearchGamesIntoCollectionsRequest.prototype.hasAdminSide = function()
|
|
16759
16785
|
|
16760
16786
|
|
16761
16787
|
|
16788
|
+
/**
|
16789
|
+
* List of repeated fields within this message type.
|
16790
|
+
* @private {!Array<number>}
|
16791
|
+
* @const
|
16792
|
+
*/
|
16793
|
+
proto.game.SearchGamesIntoTagsRequest.repeatedFields_ = [1];
|
16794
|
+
|
16762
16795
|
|
16763
16796
|
|
16764
16797
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
@@ -16790,7 +16823,7 @@ proto.game.SearchGamesIntoTagsRequest.prototype.toObject = function(opt_includeI
|
|
16790
16823
|
*/
|
16791
16824
|
proto.game.SearchGamesIntoTagsRequest.toObject = function(includeInstance, msg) {
|
16792
16825
|
var f, obj = {
|
16793
|
-
|
16826
|
+
tagSlugsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
16794
16827
|
geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
16795
16828
|
limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
16796
16829
|
offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
@@ -16834,7 +16867,7 @@ proto.game.SearchGamesIntoTagsRequest.deserializeBinaryFromReader = function(msg
|
|
16834
16867
|
switch (field) {
|
16835
16868
|
case 1:
|
16836
16869
|
var value = /** @type {string} */ (reader.readString());
|
16837
|
-
msg.
|
16870
|
+
msg.addTagSlugs(value);
|
16838
16871
|
break;
|
16839
16872
|
case 2:
|
16840
16873
|
var value = /** @type {string} */ (reader.readString());
|
@@ -16885,9 +16918,9 @@ proto.game.SearchGamesIntoTagsRequest.prototype.serializeBinary = function() {
|
|
16885
16918
|
*/
|
16886
16919
|
proto.game.SearchGamesIntoTagsRequest.serializeBinaryToWriter = function(message, writer) {
|
16887
16920
|
var f = undefined;
|
16888
|
-
f = message.
|
16921
|
+
f = message.getTagSlugsList();
|
16889
16922
|
if (f.length > 0) {
|
16890
|
-
writer.
|
16923
|
+
writer.writeRepeatedString(
|
16891
16924
|
1,
|
16892
16925
|
f
|
16893
16926
|
);
|
@@ -16931,20 +16964,39 @@ proto.game.SearchGamesIntoTagsRequest.serializeBinaryToWriter = function(message
|
|
16931
16964
|
|
16932
16965
|
|
16933
16966
|
/**
|
16934
|
-
*
|
16935
|
-
* @return {string}
|
16967
|
+
* repeated string tag_slugs = 1;
|
16968
|
+
* @return {!Array<string>}
|
16936
16969
|
*/
|
16937
|
-
proto.game.SearchGamesIntoTagsRequest.prototype.
|
16938
|
-
return /** @type {string} */ (jspb.Message.
|
16970
|
+
proto.game.SearchGamesIntoTagsRequest.prototype.getTagSlugsList = function() {
|
16971
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
16972
|
+
};
|
16973
|
+
|
16974
|
+
|
16975
|
+
/**
|
16976
|
+
* @param {!Array<string>} value
|
16977
|
+
* @return {!proto.game.SearchGamesIntoTagsRequest} returns this
|
16978
|
+
*/
|
16979
|
+
proto.game.SearchGamesIntoTagsRequest.prototype.setTagSlugsList = function(value) {
|
16980
|
+
return jspb.Message.setField(this, 1, value || []);
|
16939
16981
|
};
|
16940
16982
|
|
16941
16983
|
|
16942
16984
|
/**
|
16943
16985
|
* @param {string} value
|
16986
|
+
* @param {number=} opt_index
|
16944
16987
|
* @return {!proto.game.SearchGamesIntoTagsRequest} returns this
|
16945
16988
|
*/
|
16946
|
-
proto.game.SearchGamesIntoTagsRequest.prototype.
|
16947
|
-
return jspb.Message.
|
16989
|
+
proto.game.SearchGamesIntoTagsRequest.prototype.addTagSlugs = function(value, opt_index) {
|
16990
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
16991
|
+
};
|
16992
|
+
|
16993
|
+
|
16994
|
+
/**
|
16995
|
+
* Clears the list making it empty but non-null.
|
16996
|
+
* @return {!proto.game.SearchGamesIntoTagsRequest} returns this
|
16997
|
+
*/
|
16998
|
+
proto.game.SearchGamesIntoTagsRequest.prototype.clearTagSlugsList = function() {
|
16999
|
+
return this.setTagSlugsList([]);
|
16948
17000
|
};
|
16949
17001
|
|
16950
17002
|
|
@@ -17129,6 +17181,13 @@ proto.game.SearchGamesIntoTagsRequest.prototype.hasAdminSide = function() {
|
|
17129
17181
|
|
17130
17182
|
|
17131
17183
|
|
17184
|
+
/**
|
17185
|
+
* List of repeated fields within this message type.
|
17186
|
+
* @private {!Array<number>}
|
17187
|
+
* @const
|
17188
|
+
*/
|
17189
|
+
proto.game.SearchGamesIntoProvidersRequest.repeatedFields_ = [1];
|
17190
|
+
|
17132
17191
|
|
17133
17192
|
|
17134
17193
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
@@ -17160,7 +17219,7 @@ proto.game.SearchGamesIntoProvidersRequest.prototype.toObject = function(opt_inc
|
|
17160
17219
|
*/
|
17161
17220
|
proto.game.SearchGamesIntoProvidersRequest.toObject = function(includeInstance, msg) {
|
17162
17221
|
var f, obj = {
|
17163
|
-
|
17222
|
+
providerSlugsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
17164
17223
|
geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
17165
17224
|
limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
17166
17225
|
offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
@@ -17204,7 +17263,7 @@ proto.game.SearchGamesIntoProvidersRequest.deserializeBinaryFromReader = functio
|
|
17204
17263
|
switch (field) {
|
17205
17264
|
case 1:
|
17206
17265
|
var value = /** @type {string} */ (reader.readString());
|
17207
|
-
msg.
|
17266
|
+
msg.addProviderSlugs(value);
|
17208
17267
|
break;
|
17209
17268
|
case 2:
|
17210
17269
|
var value = /** @type {string} */ (reader.readString());
|
@@ -17255,9 +17314,9 @@ proto.game.SearchGamesIntoProvidersRequest.prototype.serializeBinary = function(
|
|
17255
17314
|
*/
|
17256
17315
|
proto.game.SearchGamesIntoProvidersRequest.serializeBinaryToWriter = function(message, writer) {
|
17257
17316
|
var f = undefined;
|
17258
|
-
f = message.
|
17317
|
+
f = message.getProviderSlugsList();
|
17259
17318
|
if (f.length > 0) {
|
17260
|
-
writer.
|
17319
|
+
writer.writeRepeatedString(
|
17261
17320
|
1,
|
17262
17321
|
f
|
17263
17322
|
);
|
@@ -17301,20 +17360,39 @@ proto.game.SearchGamesIntoProvidersRequest.serializeBinaryToWriter = function(me
|
|
17301
17360
|
|
17302
17361
|
|
17303
17362
|
/**
|
17304
|
-
*
|
17305
|
-
* @return {string}
|
17363
|
+
* repeated string provider_slugs = 1;
|
17364
|
+
* @return {!Array<string>}
|
17306
17365
|
*/
|
17307
|
-
proto.game.SearchGamesIntoProvidersRequest.prototype.
|
17308
|
-
return /** @type {string} */ (jspb.Message.
|
17366
|
+
proto.game.SearchGamesIntoProvidersRequest.prototype.getProviderSlugsList = function() {
|
17367
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
17368
|
+
};
|
17369
|
+
|
17370
|
+
|
17371
|
+
/**
|
17372
|
+
* @param {!Array<string>} value
|
17373
|
+
* @return {!proto.game.SearchGamesIntoProvidersRequest} returns this
|
17374
|
+
*/
|
17375
|
+
proto.game.SearchGamesIntoProvidersRequest.prototype.setProviderSlugsList = function(value) {
|
17376
|
+
return jspb.Message.setField(this, 1, value || []);
|
17309
17377
|
};
|
17310
17378
|
|
17311
17379
|
|
17312
17380
|
/**
|
17313
17381
|
* @param {string} value
|
17382
|
+
* @param {number=} opt_index
|
17314
17383
|
* @return {!proto.game.SearchGamesIntoProvidersRequest} returns this
|
17315
17384
|
*/
|
17316
|
-
proto.game.SearchGamesIntoProvidersRequest.prototype.
|
17317
|
-
return jspb.Message.
|
17385
|
+
proto.game.SearchGamesIntoProvidersRequest.prototype.addProviderSlugs = function(value, opt_index) {
|
17386
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
17387
|
+
};
|
17388
|
+
|
17389
|
+
|
17390
|
+
/**
|
17391
|
+
* Clears the list making it empty but non-null.
|
17392
|
+
* @return {!proto.game.SearchGamesIntoProvidersRequest} returns this
|
17393
|
+
*/
|
17394
|
+
proto.game.SearchGamesIntoProvidersRequest.prototype.clearProviderSlugsList = function() {
|
17395
|
+
return this.setProviderSlugsList([]);
|
17318
17396
|
};
|
17319
17397
|
|
17320
17398
|
|