protobuf-platform 1.0.95 → 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
@@ -52,6 +52,7 @@ service Game {
52
52
  //Cross Services
53
53
  rpc getGamesByUuids(GamesUuids) returns (GamePoorItemsResponse);
54
54
  rpc getGameScopesByIds(ScopeRequest) returns (ScopeResponse);
55
+ rpc getCounterScopes(ScopeRequest) returns (ScopeResponse);
55
56
  }
56
57
 
57
58
  message PingRequest { string ping = 1; }
@@ -211,6 +212,7 @@ message ProviderItem {
211
212
  optional string description = 4;
212
213
  optional int32 is_active = 5;
213
214
  optional string image = 6;
215
+ optional int32 count_of_games = 7;
214
216
  }
215
217
  //Provider CRUD | Requests
216
218
  message ProviderRequest {
@@ -1025,6 +1025,17 @@ getGamesByUuids: {
1025
1025
  responseSerialize: serialize_game_ScopeResponse,
1026
1026
  responseDeserialize: deserialize_game_ScopeResponse,
1027
1027
  },
1028
+ getCounterScopes: {
1029
+ path: '/game.Game/getCounterScopes',
1030
+ requestStream: false,
1031
+ responseStream: false,
1032
+ requestType: game_pb.ScopeRequest,
1033
+ responseType: game_pb.ScopeResponse,
1034
+ requestSerialize: serialize_game_ScopeRequest,
1035
+ requestDeserialize: deserialize_game_ScopeRequest,
1036
+ responseSerialize: serialize_game_ScopeResponse,
1037
+ responseDeserialize: deserialize_game_ScopeResponse,
1038
+ },
1028
1039
  };
1029
1040
 
1030
1041
  exports.GameClient = grpc.makeGenericClientConstructor(GameService);
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.95",
3
+ "version": "1.0.97",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {