protobuf-platform 1.0.65 → 1.0.66

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
@@ -231,6 +231,8 @@ message GameItem {
231
231
  optional string type = 8;
232
232
  optional int32 is_mobile = 9;
233
233
  optional int32 has_free_spins = 10;
234
+ optional string collections = 11;
235
+ optional string tags = 12;
234
236
  }
235
237
  //Game CRUD | Requests
236
238
  message GameRequest {
package/game/game_pb.js CHANGED
@@ -9212,7 +9212,9 @@ proto.game.GameItem.toObject = function(includeInstance, msg) {
9212
9212
  image: jspb.Message.getFieldWithDefault(msg, 7, ""),
9213
9213
  type: jspb.Message.getFieldWithDefault(msg, 8, ""),
9214
9214
  isMobile: jspb.Message.getFieldWithDefault(msg, 9, 0),
9215
- hasFreeSpins: jspb.Message.getFieldWithDefault(msg, 10, 0)
9215
+ hasFreeSpins: jspb.Message.getFieldWithDefault(msg, 10, 0),
9216
+ collections: jspb.Message.getFieldWithDefault(msg, 11, ""),
9217
+ tags: jspb.Message.getFieldWithDefault(msg, 12, "")
9216
9218
  };
9217
9219
 
9218
9220
  if (includeInstance) {
@@ -9290,6 +9292,14 @@ proto.game.GameItem.deserializeBinaryFromReader = function(msg, reader) {
9290
9292
  var value = /** @type {number} */ (reader.readInt32());
9291
9293
  msg.setHasFreeSpins(value);
9292
9294
  break;
9295
+ case 11:
9296
+ var value = /** @type {string} */ (reader.readString());
9297
+ msg.setCollections(value);
9298
+ break;
9299
+ case 12:
9300
+ var value = /** @type {string} */ (reader.readString());
9301
+ msg.setTags(value);
9302
+ break;
9293
9303
  default:
9294
9304
  reader.skipField();
9295
9305
  break;
@@ -9390,6 +9400,20 @@ proto.game.GameItem.serializeBinaryToWriter = function(message, writer) {
9390
9400
  f
9391
9401
  );
9392
9402
  }
9403
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
9404
+ if (f != null) {
9405
+ writer.writeString(
9406
+ 11,
9407
+ f
9408
+ );
9409
+ }
9410
+ f = /** @type {string} */ (jspb.Message.getField(message, 12));
9411
+ if (f != null) {
9412
+ writer.writeString(
9413
+ 12,
9414
+ f
9415
+ );
9416
+ }
9393
9417
  };
9394
9418
 
9395
9419
 
@@ -9754,6 +9778,78 @@ proto.game.GameItem.prototype.hasHasFreeSpins = function() {
9754
9778
  };
9755
9779
 
9756
9780
 
9781
+ /**
9782
+ * optional string collections = 11;
9783
+ * @return {string}
9784
+ */
9785
+ proto.game.GameItem.prototype.getCollections = function() {
9786
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
9787
+ };
9788
+
9789
+
9790
+ /**
9791
+ * @param {string} value
9792
+ * @return {!proto.game.GameItem} returns this
9793
+ */
9794
+ proto.game.GameItem.prototype.setCollections = function(value) {
9795
+ return jspb.Message.setField(this, 11, value);
9796
+ };
9797
+
9798
+
9799
+ /**
9800
+ * Clears the field making it undefined.
9801
+ * @return {!proto.game.GameItem} returns this
9802
+ */
9803
+ proto.game.GameItem.prototype.clearCollections = function() {
9804
+ return jspb.Message.setField(this, 11, undefined);
9805
+ };
9806
+
9807
+
9808
+ /**
9809
+ * Returns whether this field is set.
9810
+ * @return {boolean}
9811
+ */
9812
+ proto.game.GameItem.prototype.hasCollections = function() {
9813
+ return jspb.Message.getField(this, 11) != null;
9814
+ };
9815
+
9816
+
9817
+ /**
9818
+ * optional string tags = 12;
9819
+ * @return {string}
9820
+ */
9821
+ proto.game.GameItem.prototype.getTags = function() {
9822
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
9823
+ };
9824
+
9825
+
9826
+ /**
9827
+ * @param {string} value
9828
+ * @return {!proto.game.GameItem} returns this
9829
+ */
9830
+ proto.game.GameItem.prototype.setTags = function(value) {
9831
+ return jspb.Message.setField(this, 12, value);
9832
+ };
9833
+
9834
+
9835
+ /**
9836
+ * Clears the field making it undefined.
9837
+ * @return {!proto.game.GameItem} returns this
9838
+ */
9839
+ proto.game.GameItem.prototype.clearTags = function() {
9840
+ return jspb.Message.setField(this, 12, undefined);
9841
+ };
9842
+
9843
+
9844
+ /**
9845
+ * Returns whether this field is set.
9846
+ * @return {boolean}
9847
+ */
9848
+ proto.game.GameItem.prototype.hasTags = function() {
9849
+ return jspb.Message.getField(this, 12) != null;
9850
+ };
9851
+
9852
+
9757
9853
 
9758
9854
  /**
9759
9855
  * 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.65",
3
+ "version": "1.0.66",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {