protobuf-platform 1.1.20 → 1.1.22
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/package.json +1 -1
- package/tournament/tournament.proto +2 -0
- package/tournament/tournament_pb.js +97 -1
- package/user/user.proto +1 -0
- package/user/user_pb.js +49 -1
package/package.json
CHANGED
@@ -175,6 +175,8 @@ message UserTournamentItem {
|
|
175
175
|
optional string content = 12;
|
176
176
|
optional string slug = 13;
|
177
177
|
optional bool can_activated = 14;
|
178
|
+
optional string user_status = 15;
|
179
|
+
optional int32 finished_in_milliseconds = 16;
|
178
180
|
}
|
179
181
|
message UserTournamentItemsResponse {
|
180
182
|
repeated UserTournamentItem items = 1;
|
@@ -7561,7 +7561,9 @@ proto.tournament.UserTournamentItem.toObject = function(includeInstance, msg) {
|
|
7561
7561
|
proto.tournament.RewardItem.toObject, includeInstance),
|
7562
7562
|
content: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
7563
7563
|
slug: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
7564
|
-
canActivated: jspb.Message.getBooleanFieldWithDefault(msg, 14, false)
|
7564
|
+
canActivated: jspb.Message.getBooleanFieldWithDefault(msg, 14, false),
|
7565
|
+
userStatus: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
7566
|
+
finishedInMilliseconds: jspb.Message.getFieldWithDefault(msg, 16, 0)
|
7565
7567
|
};
|
7566
7568
|
|
7567
7569
|
if (includeInstance) {
|
@@ -7656,6 +7658,14 @@ proto.tournament.UserTournamentItem.deserializeBinaryFromReader = function(msg,
|
|
7656
7658
|
var value = /** @type {boolean} */ (reader.readBool());
|
7657
7659
|
msg.setCanActivated(value);
|
7658
7660
|
break;
|
7661
|
+
case 15:
|
7662
|
+
var value = /** @type {string} */ (reader.readString());
|
7663
|
+
msg.setUserStatus(value);
|
7664
|
+
break;
|
7665
|
+
case 16:
|
7666
|
+
var value = /** @type {number} */ (reader.readInt32());
|
7667
|
+
msg.setFinishedInMilliseconds(value);
|
7668
|
+
break;
|
7659
7669
|
default:
|
7660
7670
|
reader.skipField();
|
7661
7671
|
break;
|
@@ -7785,6 +7795,20 @@ proto.tournament.UserTournamentItem.serializeBinaryToWriter = function(message,
|
|
7785
7795
|
f
|
7786
7796
|
);
|
7787
7797
|
}
|
7798
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 15));
|
7799
|
+
if (f != null) {
|
7800
|
+
writer.writeString(
|
7801
|
+
15,
|
7802
|
+
f
|
7803
|
+
);
|
7804
|
+
}
|
7805
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 16));
|
7806
|
+
if (f != null) {
|
7807
|
+
writer.writeInt32(
|
7808
|
+
16,
|
7809
|
+
f
|
7810
|
+
);
|
7811
|
+
}
|
7788
7812
|
};
|
7789
7813
|
|
7790
7814
|
|
@@ -8296,6 +8320,78 @@ proto.tournament.UserTournamentItem.prototype.hasCanActivated = function() {
|
|
8296
8320
|
};
|
8297
8321
|
|
8298
8322
|
|
8323
|
+
/**
|
8324
|
+
* optional string user_status = 15;
|
8325
|
+
* @return {string}
|
8326
|
+
*/
|
8327
|
+
proto.tournament.UserTournamentItem.prototype.getUserStatus = function() {
|
8328
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
8329
|
+
};
|
8330
|
+
|
8331
|
+
|
8332
|
+
/**
|
8333
|
+
* @param {string} value
|
8334
|
+
* @return {!proto.tournament.UserTournamentItem} returns this
|
8335
|
+
*/
|
8336
|
+
proto.tournament.UserTournamentItem.prototype.setUserStatus = function(value) {
|
8337
|
+
return jspb.Message.setField(this, 15, value);
|
8338
|
+
};
|
8339
|
+
|
8340
|
+
|
8341
|
+
/**
|
8342
|
+
* Clears the field making it undefined.
|
8343
|
+
* @return {!proto.tournament.UserTournamentItem} returns this
|
8344
|
+
*/
|
8345
|
+
proto.tournament.UserTournamentItem.prototype.clearUserStatus = function() {
|
8346
|
+
return jspb.Message.setField(this, 15, undefined);
|
8347
|
+
};
|
8348
|
+
|
8349
|
+
|
8350
|
+
/**
|
8351
|
+
* Returns whether this field is set.
|
8352
|
+
* @return {boolean}
|
8353
|
+
*/
|
8354
|
+
proto.tournament.UserTournamentItem.prototype.hasUserStatus = function() {
|
8355
|
+
return jspb.Message.getField(this, 15) != null;
|
8356
|
+
};
|
8357
|
+
|
8358
|
+
|
8359
|
+
/**
|
8360
|
+
* optional int32 finished_in_milliseconds = 16;
|
8361
|
+
* @return {number}
|
8362
|
+
*/
|
8363
|
+
proto.tournament.UserTournamentItem.prototype.getFinishedInMilliseconds = function() {
|
8364
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
|
8365
|
+
};
|
8366
|
+
|
8367
|
+
|
8368
|
+
/**
|
8369
|
+
* @param {number} value
|
8370
|
+
* @return {!proto.tournament.UserTournamentItem} returns this
|
8371
|
+
*/
|
8372
|
+
proto.tournament.UserTournamentItem.prototype.setFinishedInMilliseconds = function(value) {
|
8373
|
+
return jspb.Message.setField(this, 16, value);
|
8374
|
+
};
|
8375
|
+
|
8376
|
+
|
8377
|
+
/**
|
8378
|
+
* Clears the field making it undefined.
|
8379
|
+
* @return {!proto.tournament.UserTournamentItem} returns this
|
8380
|
+
*/
|
8381
|
+
proto.tournament.UserTournamentItem.prototype.clearFinishedInMilliseconds = function() {
|
8382
|
+
return jspb.Message.setField(this, 16, undefined);
|
8383
|
+
};
|
8384
|
+
|
8385
|
+
|
8386
|
+
/**
|
8387
|
+
* Returns whether this field is set.
|
8388
|
+
* @return {boolean}
|
8389
|
+
*/
|
8390
|
+
proto.tournament.UserTournamentItem.prototype.hasFinishedInMilliseconds = function() {
|
8391
|
+
return jspb.Message.getField(this, 16) != null;
|
8392
|
+
};
|
8393
|
+
|
8394
|
+
|
8299
8395
|
|
8300
8396
|
/**
|
8301
8397
|
* List of repeated fields within this message type.
|
package/user/user.proto
CHANGED
package/user/user_pb.js
CHANGED
@@ -6077,7 +6077,8 @@ proto.user.UserDataResponse.toObject = function(includeInstance, msg) {
|
|
6077
6077
|
phoneConfirmed: jspb.Message.getFieldWithDefault(msg, 30, 0),
|
6078
6078
|
kycConfirmed: jspb.Message.getFieldWithDefault(msg, 31, 0),
|
6079
6079
|
rankingPoints: jspb.Message.getFieldWithDefault(msg, 32, 0),
|
6080
|
-
coins: jspb.Message.getFieldWithDefault(msg, 33, 0)
|
6080
|
+
coins: jspb.Message.getFieldWithDefault(msg, 33, 0),
|
6081
|
+
nickname: jspb.Message.getFieldWithDefault(msg, 34, "")
|
6081
6082
|
};
|
6082
6083
|
|
6083
6084
|
if (includeInstance) {
|
@@ -6247,6 +6248,10 @@ proto.user.UserDataResponse.deserializeBinaryFromReader = function(msg, reader)
|
|
6247
6248
|
var value = /** @type {number} */ (reader.readInt32());
|
6248
6249
|
msg.setCoins(value);
|
6249
6250
|
break;
|
6251
|
+
case 34:
|
6252
|
+
var value = /** @type {string} */ (reader.readString());
|
6253
|
+
msg.setNickname(value);
|
6254
|
+
break;
|
6250
6255
|
default:
|
6251
6256
|
reader.skipField();
|
6252
6257
|
break;
|
@@ -6508,6 +6513,13 @@ proto.user.UserDataResponse.serializeBinaryToWriter = function(message, writer)
|
|
6508
6513
|
f
|
6509
6514
|
);
|
6510
6515
|
}
|
6516
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 34));
|
6517
|
+
if (f != null) {
|
6518
|
+
writer.writeString(
|
6519
|
+
34,
|
6520
|
+
f
|
6521
|
+
);
|
6522
|
+
}
|
6511
6523
|
};
|
6512
6524
|
|
6513
6525
|
|
@@ -7664,6 +7676,42 @@ proto.user.UserDataResponse.prototype.hasCoins = function() {
|
|
7664
7676
|
};
|
7665
7677
|
|
7666
7678
|
|
7679
|
+
/**
|
7680
|
+
* optional string nickname = 34;
|
7681
|
+
* @return {string}
|
7682
|
+
*/
|
7683
|
+
proto.user.UserDataResponse.prototype.getNickname = function() {
|
7684
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 34, ""));
|
7685
|
+
};
|
7686
|
+
|
7687
|
+
|
7688
|
+
/**
|
7689
|
+
* @param {string} value
|
7690
|
+
* @return {!proto.user.UserDataResponse} returns this
|
7691
|
+
*/
|
7692
|
+
proto.user.UserDataResponse.prototype.setNickname = function(value) {
|
7693
|
+
return jspb.Message.setField(this, 34, value);
|
7694
|
+
};
|
7695
|
+
|
7696
|
+
|
7697
|
+
/**
|
7698
|
+
* Clears the field making it undefined.
|
7699
|
+
* @return {!proto.user.UserDataResponse} returns this
|
7700
|
+
*/
|
7701
|
+
proto.user.UserDataResponse.prototype.clearNickname = function() {
|
7702
|
+
return jspb.Message.setField(this, 34, undefined);
|
7703
|
+
};
|
7704
|
+
|
7705
|
+
|
7706
|
+
/**
|
7707
|
+
* Returns whether this field is set.
|
7708
|
+
* @return {boolean}
|
7709
|
+
*/
|
7710
|
+
proto.user.UserDataResponse.prototype.hasNickname = function() {
|
7711
|
+
return jspb.Message.getField(this, 34) != null;
|
7712
|
+
};
|
7713
|
+
|
7714
|
+
|
7667
7715
|
|
7668
7716
|
/**
|
7669
7717
|
* List of repeated fields within this message type.
|