protobuf-platform 1.0.86 → 1.0.87

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
@@ -264,6 +264,7 @@ message GameItem {
264
264
  optional int32 has_free_spins = 10;
265
265
  optional string collections = 11;
266
266
  optional string tags = 12;
267
+ optional string uuid = 13;
267
268
  }
268
269
  //Game CRUD | Requests
269
270
  message GameRequest {
package/game/game_pb.js CHANGED
@@ -10733,7 +10733,8 @@ proto.game.GameItem.toObject = function(includeInstance, msg) {
10733
10733
  isMobile: jspb.Message.getFieldWithDefault(msg, 9, 0),
10734
10734
  hasFreeSpins: jspb.Message.getFieldWithDefault(msg, 10, 0),
10735
10735
  collections: jspb.Message.getFieldWithDefault(msg, 11, ""),
10736
- tags: jspb.Message.getFieldWithDefault(msg, 12, "")
10736
+ tags: jspb.Message.getFieldWithDefault(msg, 12, ""),
10737
+ uuid: jspb.Message.getFieldWithDefault(msg, 13, "")
10737
10738
  };
10738
10739
 
10739
10740
  if (includeInstance) {
@@ -10819,6 +10820,10 @@ proto.game.GameItem.deserializeBinaryFromReader = function(msg, reader) {
10819
10820
  var value = /** @type {string} */ (reader.readString());
10820
10821
  msg.setTags(value);
10821
10822
  break;
10823
+ case 13:
10824
+ var value = /** @type {string} */ (reader.readString());
10825
+ msg.setUuid(value);
10826
+ break;
10822
10827
  default:
10823
10828
  reader.skipField();
10824
10829
  break;
@@ -10933,6 +10938,13 @@ proto.game.GameItem.serializeBinaryToWriter = function(message, writer) {
10933
10938
  f
10934
10939
  );
10935
10940
  }
10941
+ f = /** @type {string} */ (jspb.Message.getField(message, 13));
10942
+ if (f != null) {
10943
+ writer.writeString(
10944
+ 13,
10945
+ f
10946
+ );
10947
+ }
10936
10948
  };
10937
10949
 
10938
10950
 
@@ -11369,6 +11381,42 @@ proto.game.GameItem.prototype.hasTags = function() {
11369
11381
  };
11370
11382
 
11371
11383
 
11384
+ /**
11385
+ * optional string uuid = 13;
11386
+ * @return {string}
11387
+ */
11388
+ proto.game.GameItem.prototype.getUuid = function() {
11389
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
11390
+ };
11391
+
11392
+
11393
+ /**
11394
+ * @param {string} value
11395
+ * @return {!proto.game.GameItem} returns this
11396
+ */
11397
+ proto.game.GameItem.prototype.setUuid = function(value) {
11398
+ return jspb.Message.setField(this, 13, value);
11399
+ };
11400
+
11401
+
11402
+ /**
11403
+ * Clears the field making it undefined.
11404
+ * @return {!proto.game.GameItem} returns this
11405
+ */
11406
+ proto.game.GameItem.prototype.clearUuid = function() {
11407
+ return jspb.Message.setField(this, 13, undefined);
11408
+ };
11409
+
11410
+
11411
+ /**
11412
+ * Returns whether this field is set.
11413
+ * @return {boolean}
11414
+ */
11415
+ proto.game.GameItem.prototype.hasUuid = function() {
11416
+ return jspb.Message.getField(this, 13) != null;
11417
+ };
11418
+
11419
+
11372
11420
 
11373
11421
  /**
11374
11422
  * 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.86",
3
+ "version": "1.0.87",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {