protobuf-platform 1.2.153 → 1.2.154

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
@@ -161,27 +161,29 @@ message CashBackSearchRequest {
161
161
  message TournamentSearchRequest {
162
162
  optional int32 tournament_id = 1;
163
163
  optional string game_title = 2;
164
+ repeated int32 ids = 4;
164
165
  }
165
166
  message ProviderSearchRequest {
166
167
  optional string provider_title = 1;
167
168
  optional int32 is_active = 2;
168
169
  optional string geo = 3;
170
+ repeated int32 ids = 4;
169
171
  }
170
172
  message CategorySearchRequest {
171
173
  optional string category_title = 1;
172
174
  optional int32 is_active = 2;
173
- repeated int32 category_ids = 3;
175
+ repeated int32 ids = 3;
174
176
  }
175
177
  message CollectionSearchRequest {
176
178
  optional string collection_title = 1;
177
179
  optional int32 is_active = 2;
178
180
  repeated int32 category_ids = 3;
179
- repeated int32 collection_ids = 4;
181
+ repeated int32 ids = 4;
180
182
  }
181
183
  message TagSearchRequest {
182
184
  optional string tag_title = 1;
183
185
  optional int32 is_active = 2;
184
- repeated int32 tag_ids = 3;
186
+ repeated int32 ids = 3;
185
187
  }
186
188
  message ItemsBunchRequest {
187
189
  repeated int32 ids = 1;
package/game/game_pb.js CHANGED
@@ -273,7 +273,7 @@ if (goog.DEBUG && !COMPILED) {
273
273
  * @constructor
274
274
  */
275
275
  proto.game.TournamentSearchRequest = function(opt_data) {
276
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
276
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.game.TournamentSearchRequest.repeatedFields_, null);
277
277
  };
278
278
  goog.inherits(proto.game.TournamentSearchRequest, jspb.Message);
279
279
  if (goog.DEBUG && !COMPILED) {
@@ -294,7 +294,7 @@ if (goog.DEBUG && !COMPILED) {
294
294
  * @constructor
295
295
  */
296
296
  proto.game.ProviderSearchRequest = function(opt_data) {
297
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
297
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.game.ProviderSearchRequest.repeatedFields_, null);
298
298
  };
299
299
  goog.inherits(proto.game.ProviderSearchRequest, jspb.Message);
300
300
  if (goog.DEBUG && !COMPILED) {
@@ -4914,6 +4914,13 @@ proto.game.CashBackSearchRequest.prototype.clearCashbackIdsList = function() {
4914
4914
 
4915
4915
 
4916
4916
 
4917
+ /**
4918
+ * List of repeated fields within this message type.
4919
+ * @private {!Array<number>}
4920
+ * @const
4921
+ */
4922
+ proto.game.TournamentSearchRequest.repeatedFields_ = [4];
4923
+
4917
4924
 
4918
4925
 
4919
4926
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -4946,7 +4953,8 @@ proto.game.TournamentSearchRequest.prototype.toObject = function(opt_includeInst
4946
4953
  proto.game.TournamentSearchRequest.toObject = function(includeInstance, msg) {
4947
4954
  var f, obj = {
4948
4955
  tournamentId: jspb.Message.getFieldWithDefault(msg, 1, 0),
4949
- gameTitle: jspb.Message.getFieldWithDefault(msg, 2, "")
4956
+ gameTitle: jspb.Message.getFieldWithDefault(msg, 2, ""),
4957
+ idsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
4950
4958
  };
4951
4959
 
4952
4960
  if (includeInstance) {
@@ -4991,6 +4999,12 @@ proto.game.TournamentSearchRequest.deserializeBinaryFromReader = function(msg, r
4991
4999
  var value = /** @type {string} */ (reader.readString());
4992
5000
  msg.setGameTitle(value);
4993
5001
  break;
5002
+ case 4:
5003
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
5004
+ for (var i = 0; i < values.length; i++) {
5005
+ msg.addIds(values[i]);
5006
+ }
5007
+ break;
4994
5008
  default:
4995
5009
  reader.skipField();
4996
5010
  break;
@@ -5034,6 +5048,13 @@ proto.game.TournamentSearchRequest.serializeBinaryToWriter = function(message, w
5034
5048
  f
5035
5049
  );
5036
5050
  }
5051
+ f = message.getIdsList();
5052
+ if (f.length > 0) {
5053
+ writer.writePackedInt32(
5054
+ 4,
5055
+ f
5056
+ );
5057
+ }
5037
5058
  };
5038
5059
 
5039
5060
 
@@ -5109,6 +5130,50 @@ proto.game.TournamentSearchRequest.prototype.hasGameTitle = function() {
5109
5130
  };
5110
5131
 
5111
5132
 
5133
+ /**
5134
+ * repeated int32 ids = 4;
5135
+ * @return {!Array<number>}
5136
+ */
5137
+ proto.game.TournamentSearchRequest.prototype.getIdsList = function() {
5138
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 4));
5139
+ };
5140
+
5141
+
5142
+ /**
5143
+ * @param {!Array<number>} value
5144
+ * @return {!proto.game.TournamentSearchRequest} returns this
5145
+ */
5146
+ proto.game.TournamentSearchRequest.prototype.setIdsList = function(value) {
5147
+ return jspb.Message.setField(this, 4, value || []);
5148
+ };
5149
+
5150
+
5151
+ /**
5152
+ * @param {number} value
5153
+ * @param {number=} opt_index
5154
+ * @return {!proto.game.TournamentSearchRequest} returns this
5155
+ */
5156
+ proto.game.TournamentSearchRequest.prototype.addIds = function(value, opt_index) {
5157
+ return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
5158
+ };
5159
+
5160
+
5161
+ /**
5162
+ * Clears the list making it empty but non-null.
5163
+ * @return {!proto.game.TournamentSearchRequest} returns this
5164
+ */
5165
+ proto.game.TournamentSearchRequest.prototype.clearIdsList = function() {
5166
+ return this.setIdsList([]);
5167
+ };
5168
+
5169
+
5170
+
5171
+ /**
5172
+ * List of repeated fields within this message type.
5173
+ * @private {!Array<number>}
5174
+ * @const
5175
+ */
5176
+ proto.game.ProviderSearchRequest.repeatedFields_ = [4];
5112
5177
 
5113
5178
 
5114
5179
 
@@ -5143,7 +5208,8 @@ proto.game.ProviderSearchRequest.toObject = function(includeInstance, msg) {
5143
5208
  var f, obj = {
5144
5209
  providerTitle: jspb.Message.getFieldWithDefault(msg, 1, ""),
5145
5210
  isActive: jspb.Message.getFieldWithDefault(msg, 2, 0),
5146
- geo: jspb.Message.getFieldWithDefault(msg, 3, "")
5211
+ geo: jspb.Message.getFieldWithDefault(msg, 3, ""),
5212
+ idsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
5147
5213
  };
5148
5214
 
5149
5215
  if (includeInstance) {
@@ -5192,6 +5258,12 @@ proto.game.ProviderSearchRequest.deserializeBinaryFromReader = function(msg, rea
5192
5258
  var value = /** @type {string} */ (reader.readString());
5193
5259
  msg.setGeo(value);
5194
5260
  break;
5261
+ case 4:
5262
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
5263
+ for (var i = 0; i < values.length; i++) {
5264
+ msg.addIds(values[i]);
5265
+ }
5266
+ break;
5195
5267
  default:
5196
5268
  reader.skipField();
5197
5269
  break;
@@ -5242,6 +5314,13 @@ proto.game.ProviderSearchRequest.serializeBinaryToWriter = function(message, wri
5242
5314
  f
5243
5315
  );
5244
5316
  }
5317
+ f = message.getIdsList();
5318
+ if (f.length > 0) {
5319
+ writer.writePackedInt32(
5320
+ 4,
5321
+ f
5322
+ );
5323
+ }
5245
5324
  };
5246
5325
 
5247
5326
 
@@ -5353,6 +5432,43 @@ proto.game.ProviderSearchRequest.prototype.hasGeo = function() {
5353
5432
  };
5354
5433
 
5355
5434
 
5435
+ /**
5436
+ * repeated int32 ids = 4;
5437
+ * @return {!Array<number>}
5438
+ */
5439
+ proto.game.ProviderSearchRequest.prototype.getIdsList = function() {
5440
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 4));
5441
+ };
5442
+
5443
+
5444
+ /**
5445
+ * @param {!Array<number>} value
5446
+ * @return {!proto.game.ProviderSearchRequest} returns this
5447
+ */
5448
+ proto.game.ProviderSearchRequest.prototype.setIdsList = function(value) {
5449
+ return jspb.Message.setField(this, 4, value || []);
5450
+ };
5451
+
5452
+
5453
+ /**
5454
+ * @param {number} value
5455
+ * @param {number=} opt_index
5456
+ * @return {!proto.game.ProviderSearchRequest} returns this
5457
+ */
5458
+ proto.game.ProviderSearchRequest.prototype.addIds = function(value, opt_index) {
5459
+ return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
5460
+ };
5461
+
5462
+
5463
+ /**
5464
+ * Clears the list making it empty but non-null.
5465
+ * @return {!proto.game.ProviderSearchRequest} returns this
5466
+ */
5467
+ proto.game.ProviderSearchRequest.prototype.clearIdsList = function() {
5468
+ return this.setIdsList([]);
5469
+ };
5470
+
5471
+
5356
5472
 
5357
5473
  /**
5358
5474
  * List of repeated fields within this message type.
@@ -5394,7 +5510,7 @@ proto.game.CategorySearchRequest.toObject = function(includeInstance, msg) {
5394
5510
  var f, obj = {
5395
5511
  categoryTitle: jspb.Message.getFieldWithDefault(msg, 1, ""),
5396
5512
  isActive: jspb.Message.getFieldWithDefault(msg, 2, 0),
5397
- categoryIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
5513
+ idsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
5398
5514
  };
5399
5515
 
5400
5516
  if (includeInstance) {
@@ -5442,7 +5558,7 @@ proto.game.CategorySearchRequest.deserializeBinaryFromReader = function(msg, rea
5442
5558
  case 3:
5443
5559
  var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
5444
5560
  for (var i = 0; i < values.length; i++) {
5445
- msg.addCategoryIds(values[i]);
5561
+ msg.addIds(values[i]);
5446
5562
  }
5447
5563
  break;
5448
5564
  default:
@@ -5488,7 +5604,7 @@ proto.game.CategorySearchRequest.serializeBinaryToWriter = function(message, wri
5488
5604
  f
5489
5605
  );
5490
5606
  }
5491
- f = message.getCategoryIdsList();
5607
+ f = message.getIdsList();
5492
5608
  if (f.length > 0) {
5493
5609
  writer.writePackedInt32(
5494
5610
  3,
@@ -5571,10 +5687,10 @@ proto.game.CategorySearchRequest.prototype.hasIsActive = function() {
5571
5687
 
5572
5688
 
5573
5689
  /**
5574
- * repeated int32 category_ids = 3;
5690
+ * repeated int32 ids = 3;
5575
5691
  * @return {!Array<number>}
5576
5692
  */
5577
- proto.game.CategorySearchRequest.prototype.getCategoryIdsList = function() {
5693
+ proto.game.CategorySearchRequest.prototype.getIdsList = function() {
5578
5694
  return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
5579
5695
  };
5580
5696
 
@@ -5583,7 +5699,7 @@ proto.game.CategorySearchRequest.prototype.getCategoryIdsList = function() {
5583
5699
  * @param {!Array<number>} value
5584
5700
  * @return {!proto.game.CategorySearchRequest} returns this
5585
5701
  */
5586
- proto.game.CategorySearchRequest.prototype.setCategoryIdsList = function(value) {
5702
+ proto.game.CategorySearchRequest.prototype.setIdsList = function(value) {
5587
5703
  return jspb.Message.setField(this, 3, value || []);
5588
5704
  };
5589
5705
 
@@ -5593,7 +5709,7 @@ proto.game.CategorySearchRequest.prototype.setCategoryIdsList = function(value)
5593
5709
  * @param {number=} opt_index
5594
5710
  * @return {!proto.game.CategorySearchRequest} returns this
5595
5711
  */
5596
- proto.game.CategorySearchRequest.prototype.addCategoryIds = function(value, opt_index) {
5712
+ proto.game.CategorySearchRequest.prototype.addIds = function(value, opt_index) {
5597
5713
  return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
5598
5714
  };
5599
5715
 
@@ -5602,8 +5718,8 @@ proto.game.CategorySearchRequest.prototype.addCategoryIds = function(value, opt_
5602
5718
  * Clears the list making it empty but non-null.
5603
5719
  * @return {!proto.game.CategorySearchRequest} returns this
5604
5720
  */
5605
- proto.game.CategorySearchRequest.prototype.clearCategoryIdsList = function() {
5606
- return this.setCategoryIdsList([]);
5721
+ proto.game.CategorySearchRequest.prototype.clearIdsList = function() {
5722
+ return this.setIdsList([]);
5607
5723
  };
5608
5724
 
5609
5725
 
@@ -5649,7 +5765,7 @@ proto.game.CollectionSearchRequest.toObject = function(includeInstance, msg) {
5649
5765
  collectionTitle: jspb.Message.getFieldWithDefault(msg, 1, ""),
5650
5766
  isActive: jspb.Message.getFieldWithDefault(msg, 2, 0),
5651
5767
  categoryIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
5652
- collectionIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
5768
+ idsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
5653
5769
  };
5654
5770
 
5655
5771
  if (includeInstance) {
@@ -5703,7 +5819,7 @@ proto.game.CollectionSearchRequest.deserializeBinaryFromReader = function(msg, r
5703
5819
  case 4:
5704
5820
  var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
5705
5821
  for (var i = 0; i < values.length; i++) {
5706
- msg.addCollectionIds(values[i]);
5822
+ msg.addIds(values[i]);
5707
5823
  }
5708
5824
  break;
5709
5825
  default:
@@ -5756,7 +5872,7 @@ proto.game.CollectionSearchRequest.serializeBinaryToWriter = function(message, w
5756
5872
  f
5757
5873
  );
5758
5874
  }
5759
- f = message.getCollectionIdsList();
5875
+ f = message.getIdsList();
5760
5876
  if (f.length > 0) {
5761
5877
  writer.writePackedInt32(
5762
5878
  4,
@@ -5876,10 +5992,10 @@ proto.game.CollectionSearchRequest.prototype.clearCategoryIdsList = function() {
5876
5992
 
5877
5993
 
5878
5994
  /**
5879
- * repeated int32 collection_ids = 4;
5995
+ * repeated int32 ids = 4;
5880
5996
  * @return {!Array<number>}
5881
5997
  */
5882
- proto.game.CollectionSearchRequest.prototype.getCollectionIdsList = function() {
5998
+ proto.game.CollectionSearchRequest.prototype.getIdsList = function() {
5883
5999
  return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 4));
5884
6000
  };
5885
6001
 
@@ -5888,7 +6004,7 @@ proto.game.CollectionSearchRequest.prototype.getCollectionIdsList = function() {
5888
6004
  * @param {!Array<number>} value
5889
6005
  * @return {!proto.game.CollectionSearchRequest} returns this
5890
6006
  */
5891
- proto.game.CollectionSearchRequest.prototype.setCollectionIdsList = function(value) {
6007
+ proto.game.CollectionSearchRequest.prototype.setIdsList = function(value) {
5892
6008
  return jspb.Message.setField(this, 4, value || []);
5893
6009
  };
5894
6010
 
@@ -5898,7 +6014,7 @@ proto.game.CollectionSearchRequest.prototype.setCollectionIdsList = function(val
5898
6014
  * @param {number=} opt_index
5899
6015
  * @return {!proto.game.CollectionSearchRequest} returns this
5900
6016
  */
5901
- proto.game.CollectionSearchRequest.prototype.addCollectionIds = function(value, opt_index) {
6017
+ proto.game.CollectionSearchRequest.prototype.addIds = function(value, opt_index) {
5902
6018
  return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
5903
6019
  };
5904
6020
 
@@ -5907,8 +6023,8 @@ proto.game.CollectionSearchRequest.prototype.addCollectionIds = function(value,
5907
6023
  * Clears the list making it empty but non-null.
5908
6024
  * @return {!proto.game.CollectionSearchRequest} returns this
5909
6025
  */
5910
- proto.game.CollectionSearchRequest.prototype.clearCollectionIdsList = function() {
5911
- return this.setCollectionIdsList([]);
6026
+ proto.game.CollectionSearchRequest.prototype.clearIdsList = function() {
6027
+ return this.setIdsList([]);
5912
6028
  };
5913
6029
 
5914
6030
 
@@ -5953,7 +6069,7 @@ proto.game.TagSearchRequest.toObject = function(includeInstance, msg) {
5953
6069
  var f, obj = {
5954
6070
  tagTitle: jspb.Message.getFieldWithDefault(msg, 1, ""),
5955
6071
  isActive: jspb.Message.getFieldWithDefault(msg, 2, 0),
5956
- tagIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
6072
+ idsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
5957
6073
  };
5958
6074
 
5959
6075
  if (includeInstance) {
@@ -6001,7 +6117,7 @@ proto.game.TagSearchRequest.deserializeBinaryFromReader = function(msg, reader)
6001
6117
  case 3:
6002
6118
  var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
6003
6119
  for (var i = 0; i < values.length; i++) {
6004
- msg.addTagIds(values[i]);
6120
+ msg.addIds(values[i]);
6005
6121
  }
6006
6122
  break;
6007
6123
  default:
@@ -6047,7 +6163,7 @@ proto.game.TagSearchRequest.serializeBinaryToWriter = function(message, writer)
6047
6163
  f
6048
6164
  );
6049
6165
  }
6050
- f = message.getTagIdsList();
6166
+ f = message.getIdsList();
6051
6167
  if (f.length > 0) {
6052
6168
  writer.writePackedInt32(
6053
6169
  3,
@@ -6130,10 +6246,10 @@ proto.game.TagSearchRequest.prototype.hasIsActive = function() {
6130
6246
 
6131
6247
 
6132
6248
  /**
6133
- * repeated int32 tag_ids = 3;
6249
+ * repeated int32 ids = 3;
6134
6250
  * @return {!Array<number>}
6135
6251
  */
6136
- proto.game.TagSearchRequest.prototype.getTagIdsList = function() {
6252
+ proto.game.TagSearchRequest.prototype.getIdsList = function() {
6137
6253
  return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
6138
6254
  };
6139
6255
 
@@ -6142,7 +6258,7 @@ proto.game.TagSearchRequest.prototype.getTagIdsList = function() {
6142
6258
  * @param {!Array<number>} value
6143
6259
  * @return {!proto.game.TagSearchRequest} returns this
6144
6260
  */
6145
- proto.game.TagSearchRequest.prototype.setTagIdsList = function(value) {
6261
+ proto.game.TagSearchRequest.prototype.setIdsList = function(value) {
6146
6262
  return jspb.Message.setField(this, 3, value || []);
6147
6263
  };
6148
6264
 
@@ -6152,7 +6268,7 @@ proto.game.TagSearchRequest.prototype.setTagIdsList = function(value) {
6152
6268
  * @param {number=} opt_index
6153
6269
  * @return {!proto.game.TagSearchRequest} returns this
6154
6270
  */
6155
- proto.game.TagSearchRequest.prototype.addTagIds = function(value, opt_index) {
6271
+ proto.game.TagSearchRequest.prototype.addIds = function(value, opt_index) {
6156
6272
  return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
6157
6273
  };
6158
6274
 
@@ -6161,8 +6277,8 @@ proto.game.TagSearchRequest.prototype.addTagIds = function(value, opt_index) {
6161
6277
  * Clears the list making it empty but non-null.
6162
6278
  * @return {!proto.game.TagSearchRequest} returns this
6163
6279
  */
6164
- proto.game.TagSearchRequest.prototype.clearTagIdsList = function() {
6165
- return this.setTagIdsList([]);
6280
+ proto.game.TagSearchRequest.prototype.clearIdsList = function() {
6281
+ return this.setIdsList([]);
6166
6282
  };
6167
6283
 
6168
6284
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.153",
3
+ "version": "1.2.154",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {