protobuf-platform 1.0.165 → 1.0.166

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
@@ -379,6 +379,7 @@ message SearchGamesIntoCollectionsRequest {
379
379
  optional int32 limit = 3;
380
380
  optional int32 offset = 4;
381
381
  optional bool is_mobile = 5;
382
+ optional bool admin_side = 6;
382
383
  }
383
384
  message SearchGamesIntoTagsRequest {
384
385
  string tag_slugs = 1;
@@ -386,6 +387,7 @@ message SearchGamesIntoTagsRequest {
386
387
  optional int32 limit = 3;
387
388
  optional int32 offset = 4;
388
389
  optional bool is_mobile = 5;
390
+ optional bool admin_side = 6;
389
391
  }
390
392
  message GamesPriorityRequest {
391
393
  int32 id = 1;
package/game/game_pb.js CHANGED
@@ -15604,7 +15604,8 @@ proto.game.SearchGamesIntoCollectionsRequest.toObject = function(includeInstance
15604
15604
  geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
15605
15605
  limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
15606
15606
  offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
15607
- isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
15607
+ isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
15608
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
15608
15609
  };
15609
15610
 
15610
15611
  if (includeInstance) {
@@ -15661,6 +15662,10 @@ proto.game.SearchGamesIntoCollectionsRequest.deserializeBinaryFromReader = funct
15661
15662
  var value = /** @type {boolean} */ (reader.readBool());
15662
15663
  msg.setIsMobile(value);
15663
15664
  break;
15665
+ case 6:
15666
+ var value = /** @type {boolean} */ (reader.readBool());
15667
+ msg.setAdminSide(value);
15668
+ break;
15664
15669
  default:
15665
15670
  reader.skipField();
15666
15671
  break;
@@ -15725,6 +15730,13 @@ proto.game.SearchGamesIntoCollectionsRequest.serializeBinaryToWriter = function(
15725
15730
  f
15726
15731
  );
15727
15732
  }
15733
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
15734
+ if (f != null) {
15735
+ writer.writeBool(
15736
+ 6,
15737
+ f
15738
+ );
15739
+ }
15728
15740
  };
15729
15741
 
15730
15742
 
@@ -15890,6 +15902,42 @@ proto.game.SearchGamesIntoCollectionsRequest.prototype.hasIsMobile = function()
15890
15902
  };
15891
15903
 
15892
15904
 
15905
+ /**
15906
+ * optional bool admin_side = 6;
15907
+ * @return {boolean}
15908
+ */
15909
+ proto.game.SearchGamesIntoCollectionsRequest.prototype.getAdminSide = function() {
15910
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
15911
+ };
15912
+
15913
+
15914
+ /**
15915
+ * @param {boolean} value
15916
+ * @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
15917
+ */
15918
+ proto.game.SearchGamesIntoCollectionsRequest.prototype.setAdminSide = function(value) {
15919
+ return jspb.Message.setField(this, 6, value);
15920
+ };
15921
+
15922
+
15923
+ /**
15924
+ * Clears the field making it undefined.
15925
+ * @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
15926
+ */
15927
+ proto.game.SearchGamesIntoCollectionsRequest.prototype.clearAdminSide = function() {
15928
+ return jspb.Message.setField(this, 6, undefined);
15929
+ };
15930
+
15931
+
15932
+ /**
15933
+ * Returns whether this field is set.
15934
+ * @return {boolean}
15935
+ */
15936
+ proto.game.SearchGamesIntoCollectionsRequest.prototype.hasAdminSide = function() {
15937
+ return jspb.Message.getField(this, 6) != null;
15938
+ };
15939
+
15940
+
15893
15941
 
15894
15942
 
15895
15943
 
@@ -15926,7 +15974,8 @@ proto.game.SearchGamesIntoTagsRequest.toObject = function(includeInstance, msg)
15926
15974
  geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
15927
15975
  limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
15928
15976
  offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
15929
- isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
15977
+ isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
15978
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
15930
15979
  };
15931
15980
 
15932
15981
  if (includeInstance) {
@@ -15983,6 +16032,10 @@ proto.game.SearchGamesIntoTagsRequest.deserializeBinaryFromReader = function(msg
15983
16032
  var value = /** @type {boolean} */ (reader.readBool());
15984
16033
  msg.setIsMobile(value);
15985
16034
  break;
16035
+ case 6:
16036
+ var value = /** @type {boolean} */ (reader.readBool());
16037
+ msg.setAdminSide(value);
16038
+ break;
15986
16039
  default:
15987
16040
  reader.skipField();
15988
16041
  break;
@@ -16047,6 +16100,13 @@ proto.game.SearchGamesIntoTagsRequest.serializeBinaryToWriter = function(message
16047
16100
  f
16048
16101
  );
16049
16102
  }
16103
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
16104
+ if (f != null) {
16105
+ writer.writeBool(
16106
+ 6,
16107
+ f
16108
+ );
16109
+ }
16050
16110
  };
16051
16111
 
16052
16112
 
@@ -16212,6 +16272,42 @@ proto.game.SearchGamesIntoTagsRequest.prototype.hasIsMobile = function() {
16212
16272
  };
16213
16273
 
16214
16274
 
16275
+ /**
16276
+ * optional bool admin_side = 6;
16277
+ * @return {boolean}
16278
+ */
16279
+ proto.game.SearchGamesIntoTagsRequest.prototype.getAdminSide = function() {
16280
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
16281
+ };
16282
+
16283
+
16284
+ /**
16285
+ * @param {boolean} value
16286
+ * @return {!proto.game.SearchGamesIntoTagsRequest} returns this
16287
+ */
16288
+ proto.game.SearchGamesIntoTagsRequest.prototype.setAdminSide = function(value) {
16289
+ return jspb.Message.setField(this, 6, value);
16290
+ };
16291
+
16292
+
16293
+ /**
16294
+ * Clears the field making it undefined.
16295
+ * @return {!proto.game.SearchGamesIntoTagsRequest} returns this
16296
+ */
16297
+ proto.game.SearchGamesIntoTagsRequest.prototype.clearAdminSide = function() {
16298
+ return jspb.Message.setField(this, 6, undefined);
16299
+ };
16300
+
16301
+
16302
+ /**
16303
+ * Returns whether this field is set.
16304
+ * @return {boolean}
16305
+ */
16306
+ proto.game.SearchGamesIntoTagsRequest.prototype.hasAdminSide = function() {
16307
+ return jspb.Message.getField(this, 6) != null;
16308
+ };
16309
+
16310
+
16215
16311
 
16216
16312
 
16217
16313
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.165",
3
+ "version": "1.0.166",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {