protobuf-platform 1.0.96 → 1.0.97

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
@@ -212,6 +212,7 @@ message ProviderItem {
212
212
  optional string description = 4;
213
213
  optional int32 is_active = 5;
214
214
  optional string image = 6;
215
+ optional int32 count_of_games = 7;
215
216
  }
216
217
  //Provider CRUD | Requests
217
218
  message ProviderRequest {
package/game/game_pb.js CHANGED
@@ -8272,7 +8272,8 @@ proto.game.ProviderItem.toObject = function(includeInstance, msg) {
8272
8272
  slug: jspb.Message.getFieldWithDefault(msg, 3, ""),
8273
8273
  description: jspb.Message.getFieldWithDefault(msg, 4, ""),
8274
8274
  isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
8275
- image: jspb.Message.getFieldWithDefault(msg, 6, "")
8275
+ image: jspb.Message.getFieldWithDefault(msg, 6, ""),
8276
+ countOfGames: jspb.Message.getFieldWithDefault(msg, 7, 0)
8276
8277
  };
8277
8278
 
8278
8279
  if (includeInstance) {
@@ -8333,6 +8334,10 @@ proto.game.ProviderItem.deserializeBinaryFromReader = function(msg, reader) {
8333
8334
  var value = /** @type {string} */ (reader.readString());
8334
8335
  msg.setImage(value);
8335
8336
  break;
8337
+ case 7:
8338
+ var value = /** @type {number} */ (reader.readInt32());
8339
+ msg.setCountOfGames(value);
8340
+ break;
8336
8341
  default:
8337
8342
  reader.skipField();
8338
8343
  break;
@@ -8404,6 +8409,13 @@ proto.game.ProviderItem.serializeBinaryToWriter = function(message, writer) {
8404
8409
  f
8405
8410
  );
8406
8411
  }
8412
+ f = /** @type {number} */ (jspb.Message.getField(message, 7));
8413
+ if (f != null) {
8414
+ writer.writeInt32(
8415
+ 7,
8416
+ f
8417
+ );
8418
+ }
8407
8419
  };
8408
8420
 
8409
8421
 
@@ -8623,6 +8635,42 @@ proto.game.ProviderItem.prototype.hasImage = function() {
8623
8635
  };
8624
8636
 
8625
8637
 
8638
+ /**
8639
+ * optional int32 count_of_games = 7;
8640
+ * @return {number}
8641
+ */
8642
+ proto.game.ProviderItem.prototype.getCountOfGames = function() {
8643
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
8644
+ };
8645
+
8646
+
8647
+ /**
8648
+ * @param {number} value
8649
+ * @return {!proto.game.ProviderItem} returns this
8650
+ */
8651
+ proto.game.ProviderItem.prototype.setCountOfGames = function(value) {
8652
+ return jspb.Message.setField(this, 7, value);
8653
+ };
8654
+
8655
+
8656
+ /**
8657
+ * Clears the field making it undefined.
8658
+ * @return {!proto.game.ProviderItem} returns this
8659
+ */
8660
+ proto.game.ProviderItem.prototype.clearCountOfGames = function() {
8661
+ return jspb.Message.setField(this, 7, undefined);
8662
+ };
8663
+
8664
+
8665
+ /**
8666
+ * Returns whether this field is set.
8667
+ * @return {boolean}
8668
+ */
8669
+ proto.game.ProviderItem.prototype.hasCountOfGames = function() {
8670
+ return jspb.Message.getField(this, 7) != null;
8671
+ };
8672
+
8673
+
8626
8674
 
8627
8675
  /**
8628
8676
  * Oneof group definitions for this message. Each group defines the field
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.96",
3
+ "version": "1.0.97",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {