protobuf-platform 1.0.164 → 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/cms/cms.proto CHANGED
@@ -23,6 +23,7 @@ message CommonWidgetRequest {
23
23
  message GetMainPageWidgetRequest {
24
24
  optional string geo = 1;
25
25
  optional bool is_mobile = 2;
26
+ optional bool admin_side = 3;
26
27
  }
27
28
  message MainPageWidgetItem {
28
29
  string geo = 1;
@@ -35,6 +36,7 @@ message GetBurgerMenuWidgetRequest {
35
36
  optional string geo = 1;
36
37
  optional bool is_mobile = 2;
37
38
  optional string locale = 3;
39
+ optional bool admin_side = 4;
38
40
  }
39
41
  message BurgerMenuWidgetItem {
40
42
  string geo = 1;
package/cms/cms_pb.js CHANGED
@@ -680,7 +680,8 @@ proto.cms.GetMainPageWidgetRequest.prototype.toObject = function(opt_includeInst
680
680
  proto.cms.GetMainPageWidgetRequest.toObject = function(includeInstance, msg) {
681
681
  var f, obj = {
682
682
  geo: jspb.Message.getFieldWithDefault(msg, 1, ""),
683
- isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
683
+ isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
684
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
684
685
  };
685
686
 
686
687
  if (includeInstance) {
@@ -725,6 +726,10 @@ proto.cms.GetMainPageWidgetRequest.deserializeBinaryFromReader = function(msg, r
725
726
  var value = /** @type {boolean} */ (reader.readBool());
726
727
  msg.setIsMobile(value);
727
728
  break;
729
+ case 3:
730
+ var value = /** @type {boolean} */ (reader.readBool());
731
+ msg.setAdminSide(value);
732
+ break;
728
733
  default:
729
734
  reader.skipField();
730
735
  break;
@@ -768,6 +773,13 @@ proto.cms.GetMainPageWidgetRequest.serializeBinaryToWriter = function(message, w
768
773
  f
769
774
  );
770
775
  }
776
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
777
+ if (f != null) {
778
+ writer.writeBool(
779
+ 3,
780
+ f
781
+ );
782
+ }
771
783
  };
772
784
 
773
785
 
@@ -843,6 +855,42 @@ proto.cms.GetMainPageWidgetRequest.prototype.hasIsMobile = function() {
843
855
  };
844
856
 
845
857
 
858
+ /**
859
+ * optional bool admin_side = 3;
860
+ * @return {boolean}
861
+ */
862
+ proto.cms.GetMainPageWidgetRequest.prototype.getAdminSide = function() {
863
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
864
+ };
865
+
866
+
867
+ /**
868
+ * @param {boolean} value
869
+ * @return {!proto.cms.GetMainPageWidgetRequest} returns this
870
+ */
871
+ proto.cms.GetMainPageWidgetRequest.prototype.setAdminSide = function(value) {
872
+ return jspb.Message.setField(this, 3, value);
873
+ };
874
+
875
+
876
+ /**
877
+ * Clears the field making it undefined.
878
+ * @return {!proto.cms.GetMainPageWidgetRequest} returns this
879
+ */
880
+ proto.cms.GetMainPageWidgetRequest.prototype.clearAdminSide = function() {
881
+ return jspb.Message.setField(this, 3, undefined);
882
+ };
883
+
884
+
885
+ /**
886
+ * Returns whether this field is set.
887
+ * @return {boolean}
888
+ */
889
+ proto.cms.GetMainPageWidgetRequest.prototype.hasAdminSide = function() {
890
+ return jspb.Message.getField(this, 3) != null;
891
+ };
892
+
893
+
846
894
 
847
895
 
848
896
 
@@ -1197,7 +1245,8 @@ proto.cms.GetBurgerMenuWidgetRequest.toObject = function(includeInstance, msg) {
1197
1245
  var f, obj = {
1198
1246
  geo: jspb.Message.getFieldWithDefault(msg, 1, ""),
1199
1247
  isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
1200
- locale: jspb.Message.getFieldWithDefault(msg, 3, "")
1248
+ locale: jspb.Message.getFieldWithDefault(msg, 3, ""),
1249
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
1201
1250
  };
1202
1251
 
1203
1252
  if (includeInstance) {
@@ -1246,6 +1295,10 @@ proto.cms.GetBurgerMenuWidgetRequest.deserializeBinaryFromReader = function(msg,
1246
1295
  var value = /** @type {string} */ (reader.readString());
1247
1296
  msg.setLocale(value);
1248
1297
  break;
1298
+ case 4:
1299
+ var value = /** @type {boolean} */ (reader.readBool());
1300
+ msg.setAdminSide(value);
1301
+ break;
1249
1302
  default:
1250
1303
  reader.skipField();
1251
1304
  break;
@@ -1296,6 +1349,13 @@ proto.cms.GetBurgerMenuWidgetRequest.serializeBinaryToWriter = function(message,
1296
1349
  f
1297
1350
  );
1298
1351
  }
1352
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
1353
+ if (f != null) {
1354
+ writer.writeBool(
1355
+ 4,
1356
+ f
1357
+ );
1358
+ }
1299
1359
  };
1300
1360
 
1301
1361
 
@@ -1407,6 +1467,42 @@ proto.cms.GetBurgerMenuWidgetRequest.prototype.hasLocale = function() {
1407
1467
  };
1408
1468
 
1409
1469
 
1470
+ /**
1471
+ * optional bool admin_side = 4;
1472
+ * @return {boolean}
1473
+ */
1474
+ proto.cms.GetBurgerMenuWidgetRequest.prototype.getAdminSide = function() {
1475
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
1476
+ };
1477
+
1478
+
1479
+ /**
1480
+ * @param {boolean} value
1481
+ * @return {!proto.cms.GetBurgerMenuWidgetRequest} returns this
1482
+ */
1483
+ proto.cms.GetBurgerMenuWidgetRequest.prototype.setAdminSide = function(value) {
1484
+ return jspb.Message.setField(this, 4, value);
1485
+ };
1486
+
1487
+
1488
+ /**
1489
+ * Clears the field making it undefined.
1490
+ * @return {!proto.cms.GetBurgerMenuWidgetRequest} returns this
1491
+ */
1492
+ proto.cms.GetBurgerMenuWidgetRequest.prototype.clearAdminSide = function() {
1493
+ return jspb.Message.setField(this, 4, undefined);
1494
+ };
1495
+
1496
+
1497
+ /**
1498
+ * Returns whether this field is set.
1499
+ * @return {boolean}
1500
+ */
1501
+ proto.cms.GetBurgerMenuWidgetRequest.prototype.hasAdminSide = function() {
1502
+ return jspb.Message.getField(this, 4) != null;
1503
+ };
1504
+
1505
+
1410
1506
 
1411
1507
 
1412
1508
 
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.164",
3
+ "version": "1.0.166",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {