@mtgame/core 0.1.29 → 0.1.30

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.
@@ -2029,6 +2029,9 @@ let BasketballStatistic = class BasketballStatistic extends BaseModel {
2029
2029
  get gameMinutes() {
2030
2030
  return Math.floor(this.gameTime / 60);
2031
2031
  }
2032
+ get tournamentTeamPoints() {
2033
+ return this.tournamentTeam && this.tournamentTeam.points;
2034
+ }
2032
2035
  static toFront(data) { }
2033
2036
  static toBack(data) { }
2034
2037
  };
@@ -2749,6 +2752,9 @@ let HockeyStatistic = class HockeyStatistic extends BaseModel {
2749
2752
  }
2750
2753
  return Math.floor(1000 * this.wonGamesCount / this.gamesCount) / 10;
2751
2754
  }
2755
+ get tournamentTeamPoints() {
2756
+ return this.tournamentTeam && this.tournamentTeam.points;
2757
+ }
2752
2758
  static toFront(data) { }
2753
2759
  static toBack(data) { }
2754
2760
  };
@@ -3141,6 +3147,9 @@ let FootballStatistic = class FootballStatistic extends BaseModel {
3141
3147
  const seconds = Math.floor(this.gameTime - minutes * 60);
3142
3148
  return `${minutes < 10 ? 0 : ''}${minutes}:${seconds < 10 ? 0 : ''}${seconds}`;
3143
3149
  }
3150
+ get tournamentTeamPoints() {
3151
+ return this.tournamentTeam && this.tournamentTeam.points;
3152
+ }
3144
3153
  static toFront(data) { }
3145
3154
  static toBack(data) { }
3146
3155
  };
@@ -3494,6 +3503,9 @@ let HandballStatistic = class HandballStatistic extends BaseModel {
3494
3503
  const seconds = Math.floor(this.gameTime - minutes * 60);
3495
3504
  return `${minutes < 10 ? 0 : ''}${minutes}:${seconds < 10 ? 0 : ''}${seconds}`;
3496
3505
  }
3506
+ get tournamentTeamPoints() {
3507
+ return this.tournamentTeam && this.tournamentTeam.points;
3508
+ }
3497
3509
  static toFront(data) { }
3498
3510
  static toBack(data) { }
3499
3511
  };
@@ -3746,6 +3758,9 @@ TournamentStage = __decorate([
3746
3758
  ], TournamentStage);
3747
3759
 
3748
3760
  let VolleyballStatistic = class VolleyballStatistic extends BaseModel {
3761
+ get tournamentTeamPoints() {
3762
+ return this.tournamentTeam && this.tournamentTeam.points;
3763
+ }
3749
3764
  static toFront(data) { }
3750
3765
  static toBack(data) { }
3751
3766
  };