protobuf-platform 1.2.569 → 1.2.570

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 CHANGED
@@ -619,6 +619,7 @@ message GameItemRequest {
619
619
  message GetGameRequest {
620
620
  int32 id = 1;
621
621
  optional int32 admin_side = 2;
622
+ optional string locale = 3;
622
623
  }
623
624
  message GameRelationsRequest {
624
625
  int32 game_id = 1;
@@ -725,6 +726,7 @@ message SearchGamesIntoCollectionsRequest {
725
726
  optional bool is_mobile = 5;
726
727
  optional bool admin_side = 6;
727
728
  optional string game_title = 7;
729
+ optional string locale = 8;
728
730
  }
729
731
  message SearchGamesIntoTagsRequest {
730
732
  repeated string tag_slugs = 1;
@@ -734,6 +736,7 @@ message SearchGamesIntoTagsRequest {
734
736
  optional bool is_mobile = 5;
735
737
  optional bool admin_side = 6;
736
738
  optional string game_title = 7;
739
+ optional string locale = 8;
737
740
  }
738
741
  message SearchGamesIntoProvidersRequest {
739
742
  repeated string provider_slugs = 1;
@@ -742,6 +745,7 @@ message SearchGamesIntoProvidersRequest {
742
745
  optional int32 offset = 4;
743
746
  optional bool is_mobile = 5;
744
747
  optional bool admin_side = 6;
748
+ optional string locale = 7;
745
749
  }
746
750
  message SearchGamesIntoCategoriesRequest {
747
751
  repeated string category_slugs = 1;
@@ -750,6 +754,7 @@ message SearchGamesIntoCategoriesRequest {
750
754
  optional int32 offset = 4;
751
755
  optional bool is_mobile = 5;
752
756
  optional bool admin_side = 6;
757
+ optional string locale = 7;
753
758
  }
754
759
  message GamesPriorityRequest {
755
760
  int32 id = 1;
package/game/game_pb.js CHANGED
@@ -25437,7 +25437,8 @@ proto.game.GetGameRequest.prototype.toObject = function(opt_includeInstance) {
25437
25437
  proto.game.GetGameRequest.toObject = function(includeInstance, msg) {
25438
25438
  var f, obj = {
25439
25439
  id: jspb.Message.getFieldWithDefault(msg, 1, 0),
25440
- adminSide: jspb.Message.getFieldWithDefault(msg, 2, 0)
25440
+ adminSide: jspb.Message.getFieldWithDefault(msg, 2, 0),
25441
+ locale: jspb.Message.getFieldWithDefault(msg, 3, "")
25441
25442
  };
25442
25443
 
25443
25444
  if (includeInstance) {
@@ -25482,6 +25483,10 @@ proto.game.GetGameRequest.deserializeBinaryFromReader = function(msg, reader) {
25482
25483
  var value = /** @type {number} */ (reader.readInt32());
25483
25484
  msg.setAdminSide(value);
25484
25485
  break;
25486
+ case 3:
25487
+ var value = /** @type {string} */ (reader.readString());
25488
+ msg.setLocale(value);
25489
+ break;
25485
25490
  default:
25486
25491
  reader.skipField();
25487
25492
  break;
@@ -25525,6 +25530,13 @@ proto.game.GetGameRequest.serializeBinaryToWriter = function(message, writer) {
25525
25530
  f
25526
25531
  );
25527
25532
  }
25533
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
25534
+ if (f != null) {
25535
+ writer.writeString(
25536
+ 3,
25537
+ f
25538
+ );
25539
+ }
25528
25540
  };
25529
25541
 
25530
25542
 
@@ -25582,6 +25594,42 @@ proto.game.GetGameRequest.prototype.hasAdminSide = function() {
25582
25594
  };
25583
25595
 
25584
25596
 
25597
+ /**
25598
+ * optional string locale = 3;
25599
+ * @return {string}
25600
+ */
25601
+ proto.game.GetGameRequest.prototype.getLocale = function() {
25602
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
25603
+ };
25604
+
25605
+
25606
+ /**
25607
+ * @param {string} value
25608
+ * @return {!proto.game.GetGameRequest} returns this
25609
+ */
25610
+ proto.game.GetGameRequest.prototype.setLocale = function(value) {
25611
+ return jspb.Message.setField(this, 3, value);
25612
+ };
25613
+
25614
+
25615
+ /**
25616
+ * Clears the field making it undefined.
25617
+ * @return {!proto.game.GetGameRequest} returns this
25618
+ */
25619
+ proto.game.GetGameRequest.prototype.clearLocale = function() {
25620
+ return jspb.Message.setField(this, 3, undefined);
25621
+ };
25622
+
25623
+
25624
+ /**
25625
+ * Returns whether this field is set.
25626
+ * @return {boolean}
25627
+ */
25628
+ proto.game.GetGameRequest.prototype.hasLocale = function() {
25629
+ return jspb.Message.getField(this, 3) != null;
25630
+ };
25631
+
25632
+
25585
25633
 
25586
25634
 
25587
25635
 
@@ -30332,7 +30380,8 @@ proto.game.SearchGamesIntoCollectionsRequest.toObject = function(includeInstance
30332
30380
  offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
30333
30381
  isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
30334
30382
  adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
30335
- gameTitle: jspb.Message.getFieldWithDefault(msg, 7, "")
30383
+ gameTitle: jspb.Message.getFieldWithDefault(msg, 7, ""),
30384
+ locale: jspb.Message.getFieldWithDefault(msg, 8, "")
30336
30385
  };
30337
30386
 
30338
30387
  if (includeInstance) {
@@ -30397,6 +30446,10 @@ proto.game.SearchGamesIntoCollectionsRequest.deserializeBinaryFromReader = funct
30397
30446
  var value = /** @type {string} */ (reader.readString());
30398
30447
  msg.setGameTitle(value);
30399
30448
  break;
30449
+ case 8:
30450
+ var value = /** @type {string} */ (reader.readString());
30451
+ msg.setLocale(value);
30452
+ break;
30400
30453
  default:
30401
30454
  reader.skipField();
30402
30455
  break;
@@ -30475,6 +30528,13 @@ proto.game.SearchGamesIntoCollectionsRequest.serializeBinaryToWriter = function(
30475
30528
  f
30476
30529
  );
30477
30530
  }
30531
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
30532
+ if (f != null) {
30533
+ writer.writeString(
30534
+ 8,
30535
+ f
30536
+ );
30537
+ }
30478
30538
  };
30479
30539
 
30480
30540
 
@@ -30731,6 +30791,42 @@ proto.game.SearchGamesIntoCollectionsRequest.prototype.hasGameTitle = function()
30731
30791
  };
30732
30792
 
30733
30793
 
30794
+ /**
30795
+ * optional string locale = 8;
30796
+ * @return {string}
30797
+ */
30798
+ proto.game.SearchGamesIntoCollectionsRequest.prototype.getLocale = function() {
30799
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
30800
+ };
30801
+
30802
+
30803
+ /**
30804
+ * @param {string} value
30805
+ * @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
30806
+ */
30807
+ proto.game.SearchGamesIntoCollectionsRequest.prototype.setLocale = function(value) {
30808
+ return jspb.Message.setField(this, 8, value);
30809
+ };
30810
+
30811
+
30812
+ /**
30813
+ * Clears the field making it undefined.
30814
+ * @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
30815
+ */
30816
+ proto.game.SearchGamesIntoCollectionsRequest.prototype.clearLocale = function() {
30817
+ return jspb.Message.setField(this, 8, undefined);
30818
+ };
30819
+
30820
+
30821
+ /**
30822
+ * Returns whether this field is set.
30823
+ * @return {boolean}
30824
+ */
30825
+ proto.game.SearchGamesIntoCollectionsRequest.prototype.hasLocale = function() {
30826
+ return jspb.Message.getField(this, 8) != null;
30827
+ };
30828
+
30829
+
30734
30830
 
30735
30831
  /**
30736
30832
  * List of repeated fields within this message type.
@@ -30776,7 +30872,8 @@ proto.game.SearchGamesIntoTagsRequest.toObject = function(includeInstance, msg)
30776
30872
  offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
30777
30873
  isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
30778
30874
  adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
30779
- gameTitle: jspb.Message.getFieldWithDefault(msg, 7, "")
30875
+ gameTitle: jspb.Message.getFieldWithDefault(msg, 7, ""),
30876
+ locale: jspb.Message.getFieldWithDefault(msg, 8, "")
30780
30877
  };
30781
30878
 
30782
30879
  if (includeInstance) {
@@ -30841,6 +30938,10 @@ proto.game.SearchGamesIntoTagsRequest.deserializeBinaryFromReader = function(msg
30841
30938
  var value = /** @type {string} */ (reader.readString());
30842
30939
  msg.setGameTitle(value);
30843
30940
  break;
30941
+ case 8:
30942
+ var value = /** @type {string} */ (reader.readString());
30943
+ msg.setLocale(value);
30944
+ break;
30844
30945
  default:
30845
30946
  reader.skipField();
30846
30947
  break;
@@ -30919,6 +31020,13 @@ proto.game.SearchGamesIntoTagsRequest.serializeBinaryToWriter = function(message
30919
31020
  f
30920
31021
  );
30921
31022
  }
31023
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
31024
+ if (f != null) {
31025
+ writer.writeString(
31026
+ 8,
31027
+ f
31028
+ );
31029
+ }
30922
31030
  };
30923
31031
 
30924
31032
 
@@ -31175,6 +31283,42 @@ proto.game.SearchGamesIntoTagsRequest.prototype.hasGameTitle = function() {
31175
31283
  };
31176
31284
 
31177
31285
 
31286
+ /**
31287
+ * optional string locale = 8;
31288
+ * @return {string}
31289
+ */
31290
+ proto.game.SearchGamesIntoTagsRequest.prototype.getLocale = function() {
31291
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
31292
+ };
31293
+
31294
+
31295
+ /**
31296
+ * @param {string} value
31297
+ * @return {!proto.game.SearchGamesIntoTagsRequest} returns this
31298
+ */
31299
+ proto.game.SearchGamesIntoTagsRequest.prototype.setLocale = function(value) {
31300
+ return jspb.Message.setField(this, 8, value);
31301
+ };
31302
+
31303
+
31304
+ /**
31305
+ * Clears the field making it undefined.
31306
+ * @return {!proto.game.SearchGamesIntoTagsRequest} returns this
31307
+ */
31308
+ proto.game.SearchGamesIntoTagsRequest.prototype.clearLocale = function() {
31309
+ return jspb.Message.setField(this, 8, undefined);
31310
+ };
31311
+
31312
+
31313
+ /**
31314
+ * Returns whether this field is set.
31315
+ * @return {boolean}
31316
+ */
31317
+ proto.game.SearchGamesIntoTagsRequest.prototype.hasLocale = function() {
31318
+ return jspb.Message.getField(this, 8) != null;
31319
+ };
31320
+
31321
+
31178
31322
 
31179
31323
  /**
31180
31324
  * List of repeated fields within this message type.
@@ -31219,7 +31363,8 @@ proto.game.SearchGamesIntoProvidersRequest.toObject = function(includeInstance,
31219
31363
  limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
31220
31364
  offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
31221
31365
  isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
31222
- adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
31366
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
31367
+ locale: jspb.Message.getFieldWithDefault(msg, 7, "")
31223
31368
  };
31224
31369
 
31225
31370
  if (includeInstance) {
@@ -31280,6 +31425,10 @@ proto.game.SearchGamesIntoProvidersRequest.deserializeBinaryFromReader = functio
31280
31425
  var value = /** @type {boolean} */ (reader.readBool());
31281
31426
  msg.setAdminSide(value);
31282
31427
  break;
31428
+ case 7:
31429
+ var value = /** @type {string} */ (reader.readString());
31430
+ msg.setLocale(value);
31431
+ break;
31283
31432
  default:
31284
31433
  reader.skipField();
31285
31434
  break;
@@ -31351,6 +31500,13 @@ proto.game.SearchGamesIntoProvidersRequest.serializeBinaryToWriter = function(me
31351
31500
  f
31352
31501
  );
31353
31502
  }
31503
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
31504
+ if (f != null) {
31505
+ writer.writeString(
31506
+ 7,
31507
+ f
31508
+ );
31509
+ }
31354
31510
  };
31355
31511
 
31356
31512
 
@@ -31571,6 +31727,42 @@ proto.game.SearchGamesIntoProvidersRequest.prototype.hasAdminSide = function() {
31571
31727
  };
31572
31728
 
31573
31729
 
31730
+ /**
31731
+ * optional string locale = 7;
31732
+ * @return {string}
31733
+ */
31734
+ proto.game.SearchGamesIntoProvidersRequest.prototype.getLocale = function() {
31735
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
31736
+ };
31737
+
31738
+
31739
+ /**
31740
+ * @param {string} value
31741
+ * @return {!proto.game.SearchGamesIntoProvidersRequest} returns this
31742
+ */
31743
+ proto.game.SearchGamesIntoProvidersRequest.prototype.setLocale = function(value) {
31744
+ return jspb.Message.setField(this, 7, value);
31745
+ };
31746
+
31747
+
31748
+ /**
31749
+ * Clears the field making it undefined.
31750
+ * @return {!proto.game.SearchGamesIntoProvidersRequest} returns this
31751
+ */
31752
+ proto.game.SearchGamesIntoProvidersRequest.prototype.clearLocale = function() {
31753
+ return jspb.Message.setField(this, 7, undefined);
31754
+ };
31755
+
31756
+
31757
+ /**
31758
+ * Returns whether this field is set.
31759
+ * @return {boolean}
31760
+ */
31761
+ proto.game.SearchGamesIntoProvidersRequest.prototype.hasLocale = function() {
31762
+ return jspb.Message.getField(this, 7) != null;
31763
+ };
31764
+
31765
+
31574
31766
 
31575
31767
  /**
31576
31768
  * List of repeated fields within this message type.
@@ -31615,7 +31807,8 @@ proto.game.SearchGamesIntoCategoriesRequest.toObject = function(includeInstance,
31615
31807
  limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
31616
31808
  offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
31617
31809
  isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
31618
- adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
31810
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
31811
+ locale: jspb.Message.getFieldWithDefault(msg, 7, "")
31619
31812
  };
31620
31813
 
31621
31814
  if (includeInstance) {
@@ -31676,6 +31869,10 @@ proto.game.SearchGamesIntoCategoriesRequest.deserializeBinaryFromReader = functi
31676
31869
  var value = /** @type {boolean} */ (reader.readBool());
31677
31870
  msg.setAdminSide(value);
31678
31871
  break;
31872
+ case 7:
31873
+ var value = /** @type {string} */ (reader.readString());
31874
+ msg.setLocale(value);
31875
+ break;
31679
31876
  default:
31680
31877
  reader.skipField();
31681
31878
  break;
@@ -31747,6 +31944,13 @@ proto.game.SearchGamesIntoCategoriesRequest.serializeBinaryToWriter = function(m
31747
31944
  f
31748
31945
  );
31749
31946
  }
31947
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
31948
+ if (f != null) {
31949
+ writer.writeString(
31950
+ 7,
31951
+ f
31952
+ );
31953
+ }
31750
31954
  };
31751
31955
 
31752
31956
 
@@ -31967,6 +32171,42 @@ proto.game.SearchGamesIntoCategoriesRequest.prototype.hasAdminSide = function()
31967
32171
  };
31968
32172
 
31969
32173
 
32174
+ /**
32175
+ * optional string locale = 7;
32176
+ * @return {string}
32177
+ */
32178
+ proto.game.SearchGamesIntoCategoriesRequest.prototype.getLocale = function() {
32179
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
32180
+ };
32181
+
32182
+
32183
+ /**
32184
+ * @param {string} value
32185
+ * @return {!proto.game.SearchGamesIntoCategoriesRequest} returns this
32186
+ */
32187
+ proto.game.SearchGamesIntoCategoriesRequest.prototype.setLocale = function(value) {
32188
+ return jspb.Message.setField(this, 7, value);
32189
+ };
32190
+
32191
+
32192
+ /**
32193
+ * Clears the field making it undefined.
32194
+ * @return {!proto.game.SearchGamesIntoCategoriesRequest} returns this
32195
+ */
32196
+ proto.game.SearchGamesIntoCategoriesRequest.prototype.clearLocale = function() {
32197
+ return jspb.Message.setField(this, 7, undefined);
32198
+ };
32199
+
32200
+
32201
+ /**
32202
+ * Returns whether this field is set.
32203
+ * @return {boolean}
32204
+ */
32205
+ proto.game.SearchGamesIntoCategoriesRequest.prototype.hasLocale = function() {
32206
+ return jspb.Message.getField(this, 7) != null;
32207
+ };
32208
+
32209
+
31970
32210
 
31971
32211
 
31972
32212
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.569",
3
+ "version": "1.2.570",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {