protobuf-platform 1.2.722 → 1.2.723

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
@@ -1039,6 +1039,7 @@ message MultiScopeCompositionItem {
1039
1039
  optional string icon = 8;
1040
1040
  optional string icon_cdn = 9;
1041
1041
  bool is_active = 10;
1042
+ optional string description = 11;
1042
1043
  }
1043
1044
  message MultiScopeCompositionResponse {
1044
1045
  repeated MultiScopeCompositionItem items = 1;
@@ -1057,6 +1058,7 @@ message MultiScopeItem {
1057
1058
  reserved 11, 12;
1058
1059
  reserved "collections", "tags";
1059
1060
  repeated MultiScopeCompositionItem items = 13;
1061
+ optional string description = 14;
1060
1062
  }
1061
1063
  message MultiScopeItemRequest {
1062
1064
  optional int32 id = 1;
@@ -1065,6 +1067,7 @@ message MultiScopeItemRequest {
1065
1067
  optional bool is_active = 4;
1066
1068
  optional bool remove_image = 5;
1067
1069
  optional bool remove_icon = 6;
1070
+ optional string description = 7;
1068
1071
  }
1069
1072
  message MultiScopeRequest {
1070
1073
  oneof request {
@@ -1498,6 +1501,7 @@ message CategoryHierarchyCollectionItem {
1498
1501
  optional string image_cdn = 5;
1499
1502
  optional string icon = 6;
1500
1503
  optional string icon_cdn = 7;
1504
+ optional string description = 8;
1501
1505
  }
1502
1506
  message CategoryHierarchyItem {
1503
1507
  int32 id = 1;
@@ -1508,6 +1512,7 @@ message CategoryHierarchyItem {
1508
1512
  optional string icon = 6;
1509
1513
  optional string icon_cdn = 7;
1510
1514
  repeated CategoryHierarchyCollectionItem collections = 8;
1515
+ optional string description = 9;
1511
1516
  }
1512
1517
  message CategoryHierarchyResponse {
1513
1518
  repeated CategoryHierarchyItem items = 1;
package/game/game_pb.js CHANGED
@@ -42761,7 +42761,8 @@ proto.game.MultiScopeCompositionItem.toObject = function(includeInstance, msg) {
42761
42761
  imageCdn: jspb.Message.getFieldWithDefault(msg, 7, ""),
42762
42762
  icon: jspb.Message.getFieldWithDefault(msg, 8, ""),
42763
42763
  iconCdn: jspb.Message.getFieldWithDefault(msg, 9, ""),
42764
- isActive: jspb.Message.getBooleanFieldWithDefault(msg, 10, false)
42764
+ isActive: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
42765
+ description: jspb.Message.getFieldWithDefault(msg, 11, "")
42765
42766
  };
42766
42767
 
42767
42768
  if (includeInstance) {
@@ -42838,6 +42839,10 @@ proto.game.MultiScopeCompositionItem.deserializeBinaryFromReader = function(msg,
42838
42839
  var value = /** @type {boolean} */ (reader.readBool());
42839
42840
  msg.setIsActive(value);
42840
42841
  break;
42842
+ case 11:
42843
+ var value = /** @type {string} */ (reader.readString());
42844
+ msg.setDescription(value);
42845
+ break;
42841
42846
  default:
42842
42847
  reader.skipField();
42843
42848
  break;
@@ -42937,6 +42942,13 @@ proto.game.MultiScopeCompositionItem.serializeBinaryToWriter = function(message,
42937
42942
  f
42938
42943
  );
42939
42944
  }
42945
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
42946
+ if (f != null) {
42947
+ writer.writeString(
42948
+ 11,
42949
+ f
42950
+ );
42951
+ }
42940
42952
  };
42941
42953
 
42942
42954
 
@@ -43192,6 +43204,42 @@ proto.game.MultiScopeCompositionItem.prototype.setIsActive = function(value) {
43192
43204
  };
43193
43205
 
43194
43206
 
43207
+ /**
43208
+ * optional string description = 11;
43209
+ * @return {string}
43210
+ */
43211
+ proto.game.MultiScopeCompositionItem.prototype.getDescription = function() {
43212
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
43213
+ };
43214
+
43215
+
43216
+ /**
43217
+ * @param {string} value
43218
+ * @return {!proto.game.MultiScopeCompositionItem} returns this
43219
+ */
43220
+ proto.game.MultiScopeCompositionItem.prototype.setDescription = function(value) {
43221
+ return jspb.Message.setField(this, 11, value);
43222
+ };
43223
+
43224
+
43225
+ /**
43226
+ * Clears the field making it undefined.
43227
+ * @return {!proto.game.MultiScopeCompositionItem} returns this
43228
+ */
43229
+ proto.game.MultiScopeCompositionItem.prototype.clearDescription = function() {
43230
+ return jspb.Message.setField(this, 11, undefined);
43231
+ };
43232
+
43233
+
43234
+ /**
43235
+ * Returns whether this field is set.
43236
+ * @return {boolean}
43237
+ */
43238
+ proto.game.MultiScopeCompositionItem.prototype.hasDescription = function() {
43239
+ return jspb.Message.getField(this, 11) != null;
43240
+ };
43241
+
43242
+
43195
43243
 
43196
43244
  /**
43197
43245
  * List of repeated fields within this message type.
@@ -43402,7 +43450,8 @@ proto.game.MultiScopeItem.toObject = function(includeInstance, msg) {
43402
43450
  createdAt: jspb.Message.getFieldWithDefault(msg, 9, ""),
43403
43451
  updatedAt: jspb.Message.getFieldWithDefault(msg, 10, ""),
43404
43452
  itemsList: jspb.Message.toObjectList(msg.getItemsList(),
43405
- proto.game.MultiScopeCompositionItem.toObject, includeInstance)
43453
+ proto.game.MultiScopeCompositionItem.toObject, includeInstance),
43454
+ description: jspb.Message.getFieldWithDefault(msg, 14, "")
43406
43455
  };
43407
43456
 
43408
43457
  if (includeInstance) {
@@ -43484,6 +43533,10 @@ proto.game.MultiScopeItem.deserializeBinaryFromReader = function(msg, reader) {
43484
43533
  reader.readMessage(value,proto.game.MultiScopeCompositionItem.deserializeBinaryFromReader);
43485
43534
  msg.addItems(value);
43486
43535
  break;
43536
+ case 14:
43537
+ var value = /** @type {string} */ (reader.readString());
43538
+ msg.setDescription(value);
43539
+ break;
43487
43540
  default:
43488
43541
  reader.skipField();
43489
43542
  break;
@@ -43591,6 +43644,13 @@ proto.game.MultiScopeItem.serializeBinaryToWriter = function(message, writer) {
43591
43644
  proto.game.MultiScopeCompositionItem.serializeBinaryToWriter
43592
43645
  );
43593
43646
  }
43647
+ f = /** @type {string} */ (jspb.Message.getField(message, 14));
43648
+ if (f != null) {
43649
+ writer.writeString(
43650
+ 14,
43651
+ f
43652
+ );
43653
+ }
43594
43654
  };
43595
43655
 
43596
43656
 
@@ -43884,6 +43944,42 @@ proto.game.MultiScopeItem.prototype.clearItemsList = function() {
43884
43944
  };
43885
43945
 
43886
43946
 
43947
+ /**
43948
+ * optional string description = 14;
43949
+ * @return {string}
43950
+ */
43951
+ proto.game.MultiScopeItem.prototype.getDescription = function() {
43952
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
43953
+ };
43954
+
43955
+
43956
+ /**
43957
+ * @param {string} value
43958
+ * @return {!proto.game.MultiScopeItem} returns this
43959
+ */
43960
+ proto.game.MultiScopeItem.prototype.setDescription = function(value) {
43961
+ return jspb.Message.setField(this, 14, value);
43962
+ };
43963
+
43964
+
43965
+ /**
43966
+ * Clears the field making it undefined.
43967
+ * @return {!proto.game.MultiScopeItem} returns this
43968
+ */
43969
+ proto.game.MultiScopeItem.prototype.clearDescription = function() {
43970
+ return jspb.Message.setField(this, 14, undefined);
43971
+ };
43972
+
43973
+
43974
+ /**
43975
+ * Returns whether this field is set.
43976
+ * @return {boolean}
43977
+ */
43978
+ proto.game.MultiScopeItem.prototype.hasDescription = function() {
43979
+ return jspb.Message.getField(this, 14) != null;
43980
+ };
43981
+
43982
+
43887
43983
 
43888
43984
 
43889
43985
 
@@ -43921,7 +44017,8 @@ proto.game.MultiScopeItemRequest.toObject = function(includeInstance, msg) {
43921
44017
  slug: jspb.Message.getFieldWithDefault(msg, 3, ""),
43922
44018
  isActive: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
43923
44019
  removeImage: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
43924
- removeIcon: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
44020
+ removeIcon: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
44021
+ description: jspb.Message.getFieldWithDefault(msg, 7, "")
43925
44022
  };
43926
44023
 
43927
44024
  if (includeInstance) {
@@ -43982,6 +44079,10 @@ proto.game.MultiScopeItemRequest.deserializeBinaryFromReader = function(msg, rea
43982
44079
  var value = /** @type {boolean} */ (reader.readBool());
43983
44080
  msg.setRemoveIcon(value);
43984
44081
  break;
44082
+ case 7:
44083
+ var value = /** @type {string} */ (reader.readString());
44084
+ msg.setDescription(value);
44085
+ break;
43985
44086
  default:
43986
44087
  reader.skipField();
43987
44088
  break;
@@ -44053,6 +44154,13 @@ proto.game.MultiScopeItemRequest.serializeBinaryToWriter = function(message, wri
44053
44154
  f
44054
44155
  );
44055
44156
  }
44157
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
44158
+ if (f != null) {
44159
+ writer.writeString(
44160
+ 7,
44161
+ f
44162
+ );
44163
+ }
44056
44164
  };
44057
44165
 
44058
44166
 
@@ -44272,6 +44380,42 @@ proto.game.MultiScopeItemRequest.prototype.hasRemoveIcon = function() {
44272
44380
  };
44273
44381
 
44274
44382
 
44383
+ /**
44384
+ * optional string description = 7;
44385
+ * @return {string}
44386
+ */
44387
+ proto.game.MultiScopeItemRequest.prototype.getDescription = function() {
44388
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
44389
+ };
44390
+
44391
+
44392
+ /**
44393
+ * @param {string} value
44394
+ * @return {!proto.game.MultiScopeItemRequest} returns this
44395
+ */
44396
+ proto.game.MultiScopeItemRequest.prototype.setDescription = function(value) {
44397
+ return jspb.Message.setField(this, 7, value);
44398
+ };
44399
+
44400
+
44401
+ /**
44402
+ * Clears the field making it undefined.
44403
+ * @return {!proto.game.MultiScopeItemRequest} returns this
44404
+ */
44405
+ proto.game.MultiScopeItemRequest.prototype.clearDescription = function() {
44406
+ return jspb.Message.setField(this, 7, undefined);
44407
+ };
44408
+
44409
+
44410
+ /**
44411
+ * Returns whether this field is set.
44412
+ * @return {boolean}
44413
+ */
44414
+ proto.game.MultiScopeItemRequest.prototype.hasDescription = function() {
44415
+ return jspb.Message.getField(this, 7) != null;
44416
+ };
44417
+
44418
+
44275
44419
 
44276
44420
  /**
44277
44421
  * Oneof group definitions for this message. Each group defines the field
@@ -63110,7 +63254,8 @@ proto.game.CategoryHierarchyCollectionItem.toObject = function(includeInstance,
63110
63254
  image: jspb.Message.getFieldWithDefault(msg, 4, ""),
63111
63255
  imageCdn: jspb.Message.getFieldWithDefault(msg, 5, ""),
63112
63256
  icon: jspb.Message.getFieldWithDefault(msg, 6, ""),
63113
- iconCdn: jspb.Message.getFieldWithDefault(msg, 7, "")
63257
+ iconCdn: jspb.Message.getFieldWithDefault(msg, 7, ""),
63258
+ description: jspb.Message.getFieldWithDefault(msg, 8, "")
63114
63259
  };
63115
63260
 
63116
63261
  if (includeInstance) {
@@ -63175,6 +63320,10 @@ proto.game.CategoryHierarchyCollectionItem.deserializeBinaryFromReader = functio
63175
63320
  var value = /** @type {string} */ (reader.readString());
63176
63321
  msg.setIconCdn(value);
63177
63322
  break;
63323
+ case 8:
63324
+ var value = /** @type {string} */ (reader.readString());
63325
+ msg.setDescription(value);
63326
+ break;
63178
63327
  default:
63179
63328
  reader.skipField();
63180
63329
  break;
@@ -63253,6 +63402,13 @@ proto.game.CategoryHierarchyCollectionItem.serializeBinaryToWriter = function(me
63253
63402
  f
63254
63403
  );
63255
63404
  }
63405
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
63406
+ if (f != null) {
63407
+ writer.writeString(
63408
+ 8,
63409
+ f
63410
+ );
63411
+ }
63256
63412
  };
63257
63413
 
63258
63414
 
@@ -63490,6 +63646,42 @@ proto.game.CategoryHierarchyCollectionItem.prototype.hasIconCdn = function() {
63490
63646
  };
63491
63647
 
63492
63648
 
63649
+ /**
63650
+ * optional string description = 8;
63651
+ * @return {string}
63652
+ */
63653
+ proto.game.CategoryHierarchyCollectionItem.prototype.getDescription = function() {
63654
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
63655
+ };
63656
+
63657
+
63658
+ /**
63659
+ * @param {string} value
63660
+ * @return {!proto.game.CategoryHierarchyCollectionItem} returns this
63661
+ */
63662
+ proto.game.CategoryHierarchyCollectionItem.prototype.setDescription = function(value) {
63663
+ return jspb.Message.setField(this, 8, value);
63664
+ };
63665
+
63666
+
63667
+ /**
63668
+ * Clears the field making it undefined.
63669
+ * @return {!proto.game.CategoryHierarchyCollectionItem} returns this
63670
+ */
63671
+ proto.game.CategoryHierarchyCollectionItem.prototype.clearDescription = function() {
63672
+ return jspb.Message.setField(this, 8, undefined);
63673
+ };
63674
+
63675
+
63676
+ /**
63677
+ * Returns whether this field is set.
63678
+ * @return {boolean}
63679
+ */
63680
+ proto.game.CategoryHierarchyCollectionItem.prototype.hasDescription = function() {
63681
+ return jspb.Message.getField(this, 8) != null;
63682
+ };
63683
+
63684
+
63493
63685
 
63494
63686
  /**
63495
63687
  * List of repeated fields within this message type.
@@ -63537,7 +63729,8 @@ proto.game.CategoryHierarchyItem.toObject = function(includeInstance, msg) {
63537
63729
  icon: jspb.Message.getFieldWithDefault(msg, 6, ""),
63538
63730
  iconCdn: jspb.Message.getFieldWithDefault(msg, 7, ""),
63539
63731
  collectionsList: jspb.Message.toObjectList(msg.getCollectionsList(),
63540
- proto.game.CategoryHierarchyCollectionItem.toObject, includeInstance)
63732
+ proto.game.CategoryHierarchyCollectionItem.toObject, includeInstance),
63733
+ description: jspb.Message.getFieldWithDefault(msg, 9, "")
63541
63734
  };
63542
63735
 
63543
63736
  if (includeInstance) {
@@ -63607,6 +63800,10 @@ proto.game.CategoryHierarchyItem.deserializeBinaryFromReader = function(msg, rea
63607
63800
  reader.readMessage(value,proto.game.CategoryHierarchyCollectionItem.deserializeBinaryFromReader);
63608
63801
  msg.addCollections(value);
63609
63802
  break;
63803
+ case 9:
63804
+ var value = /** @type {string} */ (reader.readString());
63805
+ msg.setDescription(value);
63806
+ break;
63610
63807
  default:
63611
63808
  reader.skipField();
63612
63809
  break;
@@ -63693,6 +63890,13 @@ proto.game.CategoryHierarchyItem.serializeBinaryToWriter = function(message, wri
63693
63890
  proto.game.CategoryHierarchyCollectionItem.serializeBinaryToWriter
63694
63891
  );
63695
63892
  }
63893
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
63894
+ if (f != null) {
63895
+ writer.writeString(
63896
+ 9,
63897
+ f
63898
+ );
63899
+ }
63696
63900
  };
63697
63901
 
63698
63902
 
@@ -63968,6 +64172,42 @@ proto.game.CategoryHierarchyItem.prototype.clearCollectionsList = function() {
63968
64172
  };
63969
64173
 
63970
64174
 
64175
+ /**
64176
+ * optional string description = 9;
64177
+ * @return {string}
64178
+ */
64179
+ proto.game.CategoryHierarchyItem.prototype.getDescription = function() {
64180
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
64181
+ };
64182
+
64183
+
64184
+ /**
64185
+ * @param {string} value
64186
+ * @return {!proto.game.CategoryHierarchyItem} returns this
64187
+ */
64188
+ proto.game.CategoryHierarchyItem.prototype.setDescription = function(value) {
64189
+ return jspb.Message.setField(this, 9, value);
64190
+ };
64191
+
64192
+
64193
+ /**
64194
+ * Clears the field making it undefined.
64195
+ * @return {!proto.game.CategoryHierarchyItem} returns this
64196
+ */
64197
+ proto.game.CategoryHierarchyItem.prototype.clearDescription = function() {
64198
+ return jspb.Message.setField(this, 9, undefined);
64199
+ };
64200
+
64201
+
64202
+ /**
64203
+ * Returns whether this field is set.
64204
+ * @return {boolean}
64205
+ */
64206
+ proto.game.CategoryHierarchyItem.prototype.hasDescription = function() {
64207
+ return jspb.Message.getField(this, 9) != null;
64208
+ };
64209
+
64210
+
63971
64211
 
63972
64212
  /**
63973
64213
  * List of repeated fields within this message type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.722",
3
+ "version": "1.2.723",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {