protobuf-platform 1.2.563 → 1.2.565

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/bonus/bonus.proto CHANGED
@@ -245,6 +245,7 @@ message BonusItem {
245
245
  optional string portrait_image = 43;
246
246
  optional string portrait_image_cdn = 44;
247
247
  optional bool can_guest_show = 45;
248
+ optional string content = 46;
248
249
  }
249
250
  message BonusItemsResponse {
250
251
  repeated BonusItem items = 1;
package/bonus/bonus_pb.js CHANGED
@@ -7985,7 +7985,8 @@ proto.bonus.BonusItem.toObject = function(includeInstance, msg) {
7985
7985
  availableActionsList: (f = jspb.Message.getRepeatedField(msg, 42)) == null ? undefined : f,
7986
7986
  portraitImage: jspb.Message.getFieldWithDefault(msg, 43, ""),
7987
7987
  portraitImageCdn: jspb.Message.getFieldWithDefault(msg, 44, ""),
7988
- canGuestShow: jspb.Message.getBooleanFieldWithDefault(msg, 45, false)
7988
+ canGuestShow: jspb.Message.getBooleanFieldWithDefault(msg, 45, false),
7989
+ content: jspb.Message.getFieldWithDefault(msg, 46, "")
7989
7990
  };
7990
7991
 
7991
7992
  if (includeInstance) {
@@ -8215,6 +8216,10 @@ proto.bonus.BonusItem.deserializeBinaryFromReader = function(msg, reader) {
8215
8216
  var value = /** @type {boolean} */ (reader.readBool());
8216
8217
  msg.setCanGuestShow(value);
8217
8218
  break;
8219
+ case 46:
8220
+ var value = /** @type {string} */ (reader.readString());
8221
+ msg.setContent(value);
8222
+ break;
8218
8223
  default:
8219
8224
  reader.skipField();
8220
8225
  break;
@@ -8566,6 +8571,13 @@ proto.bonus.BonusItem.serializeBinaryToWriter = function(message, writer) {
8566
8571
  f
8567
8572
  );
8568
8573
  }
8574
+ f = /** @type {string} */ (jspb.Message.getField(message, 46));
8575
+ if (f != null) {
8576
+ writer.writeString(
8577
+ 46,
8578
+ f
8579
+ );
8580
+ }
8569
8581
  };
8570
8582
 
8571
8583
 
@@ -10189,6 +10201,42 @@ proto.bonus.BonusItem.prototype.hasCanGuestShow = function() {
10189
10201
  };
10190
10202
 
10191
10203
 
10204
+ /**
10205
+ * optional string content = 46;
10206
+ * @return {string}
10207
+ */
10208
+ proto.bonus.BonusItem.prototype.getContent = function() {
10209
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 46, ""));
10210
+ };
10211
+
10212
+
10213
+ /**
10214
+ * @param {string} value
10215
+ * @return {!proto.bonus.BonusItem} returns this
10216
+ */
10217
+ proto.bonus.BonusItem.prototype.setContent = function(value) {
10218
+ return jspb.Message.setField(this, 46, value);
10219
+ };
10220
+
10221
+
10222
+ /**
10223
+ * Clears the field making it undefined.
10224
+ * @return {!proto.bonus.BonusItem} returns this
10225
+ */
10226
+ proto.bonus.BonusItem.prototype.clearContent = function() {
10227
+ return jspb.Message.setField(this, 46, undefined);
10228
+ };
10229
+
10230
+
10231
+ /**
10232
+ * Returns whether this field is set.
10233
+ * @return {boolean}
10234
+ */
10235
+ proto.bonus.BonusItem.prototype.hasContent = function() {
10236
+ return jspb.Message.getField(this, 46) != null;
10237
+ };
10238
+
10239
+
10192
10240
 
10193
10241
  /**
10194
10242
  * 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.563",
3
+ "version": "1.2.565",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -207,6 +207,8 @@ message ContentItem {
207
207
  optional int32 tournament_id = 2;
208
208
  optional string locale = 3;
209
209
  optional string content = 4;
210
+ optional string title = 5;
211
+ optional string description = 6;
210
212
  }
211
213
  message TournamentContentRequest {
212
214
  int32 tournament_id = 1;
@@ -9522,7 +9522,9 @@ proto.tournament.ContentItem.toObject = function(includeInstance, msg) {
9522
9522
  id: jspb.Message.getFieldWithDefault(msg, 1, 0),
9523
9523
  tournamentId: jspb.Message.getFieldWithDefault(msg, 2, 0),
9524
9524
  locale: jspb.Message.getFieldWithDefault(msg, 3, ""),
9525
- content: jspb.Message.getFieldWithDefault(msg, 4, "")
9525
+ content: jspb.Message.getFieldWithDefault(msg, 4, ""),
9526
+ title: jspb.Message.getFieldWithDefault(msg, 5, ""),
9527
+ description: jspb.Message.getFieldWithDefault(msg, 6, "")
9526
9528
  };
9527
9529
 
9528
9530
  if (includeInstance) {
@@ -9575,6 +9577,14 @@ proto.tournament.ContentItem.deserializeBinaryFromReader = function(msg, reader)
9575
9577
  var value = /** @type {string} */ (reader.readString());
9576
9578
  msg.setContent(value);
9577
9579
  break;
9580
+ case 5:
9581
+ var value = /** @type {string} */ (reader.readString());
9582
+ msg.setTitle(value);
9583
+ break;
9584
+ case 6:
9585
+ var value = /** @type {string} */ (reader.readString());
9586
+ msg.setDescription(value);
9587
+ break;
9578
9588
  default:
9579
9589
  reader.skipField();
9580
9590
  break;
@@ -9632,6 +9642,20 @@ proto.tournament.ContentItem.serializeBinaryToWriter = function(message, writer)
9632
9642
  f
9633
9643
  );
9634
9644
  }
9645
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
9646
+ if (f != null) {
9647
+ writer.writeString(
9648
+ 5,
9649
+ f
9650
+ );
9651
+ }
9652
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
9653
+ if (f != null) {
9654
+ writer.writeString(
9655
+ 6,
9656
+ f
9657
+ );
9658
+ }
9635
9659
  };
9636
9660
 
9637
9661
 
@@ -9779,6 +9803,78 @@ proto.tournament.ContentItem.prototype.hasContent = function() {
9779
9803
  };
9780
9804
 
9781
9805
 
9806
+ /**
9807
+ * optional string title = 5;
9808
+ * @return {string}
9809
+ */
9810
+ proto.tournament.ContentItem.prototype.getTitle = function() {
9811
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
9812
+ };
9813
+
9814
+
9815
+ /**
9816
+ * @param {string} value
9817
+ * @return {!proto.tournament.ContentItem} returns this
9818
+ */
9819
+ proto.tournament.ContentItem.prototype.setTitle = function(value) {
9820
+ return jspb.Message.setField(this, 5, value);
9821
+ };
9822
+
9823
+
9824
+ /**
9825
+ * Clears the field making it undefined.
9826
+ * @return {!proto.tournament.ContentItem} returns this
9827
+ */
9828
+ proto.tournament.ContentItem.prototype.clearTitle = function() {
9829
+ return jspb.Message.setField(this, 5, undefined);
9830
+ };
9831
+
9832
+
9833
+ /**
9834
+ * Returns whether this field is set.
9835
+ * @return {boolean}
9836
+ */
9837
+ proto.tournament.ContentItem.prototype.hasTitle = function() {
9838
+ return jspb.Message.getField(this, 5) != null;
9839
+ };
9840
+
9841
+
9842
+ /**
9843
+ * optional string description = 6;
9844
+ * @return {string}
9845
+ */
9846
+ proto.tournament.ContentItem.prototype.getDescription = function() {
9847
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
9848
+ };
9849
+
9850
+
9851
+ /**
9852
+ * @param {string} value
9853
+ * @return {!proto.tournament.ContentItem} returns this
9854
+ */
9855
+ proto.tournament.ContentItem.prototype.setDescription = function(value) {
9856
+ return jspb.Message.setField(this, 6, value);
9857
+ };
9858
+
9859
+
9860
+ /**
9861
+ * Clears the field making it undefined.
9862
+ * @return {!proto.tournament.ContentItem} returns this
9863
+ */
9864
+ proto.tournament.ContentItem.prototype.clearDescription = function() {
9865
+ return jspb.Message.setField(this, 6, undefined);
9866
+ };
9867
+
9868
+
9869
+ /**
9870
+ * Returns whether this field is set.
9871
+ * @return {boolean}
9872
+ */
9873
+ proto.tournament.ContentItem.prototype.hasDescription = function() {
9874
+ return jspb.Message.getField(this, 6) != null;
9875
+ };
9876
+
9877
+
9782
9878
 
9783
9879
 
9784
9880