@mtgame/core 0.1.129 → 0.1.131

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.
@@ -3671,6 +3671,13 @@
3671
3671
  function GameUser() {
3672
3672
  return _super !== null && _super.apply(this, arguments) || this;
3673
3673
  }
3674
+ Object.defineProperty(GameUser.prototype, "gameUserNumber", {
3675
+ get: function () {
3676
+ return this.number ? this.number : this.teamUser.number;
3677
+ },
3678
+ enumerable: false,
3679
+ configurable: true
3680
+ });
3674
3681
  GameUser.toFront = function (data) { };
3675
3682
  GameUser.toBack = function (data) { };
3676
3683
  return GameUser;
@@ -3689,6 +3696,7 @@
3689
3696
  team_user: 'teamUser',
3690
3697
  tournament_team_user: 'tournamentTeamUser',
3691
3698
  is_mvp: 'isMvp',
3699
+ number: 'number',
3692
3700
  updated_at: 'updatedAt'
3693
3701
  },
3694
3702
  relation: {