@mtgame/core 2.0.23 → 2.0.25

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.
@@ -3,8 +3,8 @@ import { City } from './city';
3
3
  import { File } from './file';
4
4
  import { League } from './league';
5
5
  import { Sport } from './sport';
6
+ import { Team } from './team';
6
7
  import { TournamentSeason } from './tournament-season';
7
- import { TournamentTeam } from './tournament-team';
8
8
  export declare enum TournamentTypes {
9
9
  group = "group",
10
10
  elimination = "elimination",
@@ -94,6 +94,15 @@ export declare class TournamentSettings extends BaseModel {
94
94
  hideOnLeagueMainPage: boolean;
95
95
  get genderTitle(): string;
96
96
  }
97
+ export declare class TournamentTeamWinner extends BaseModel {
98
+ id: number;
99
+ teamId: number;
100
+ tournamentId: number;
101
+ name: string;
102
+ logo: File;
103
+ team: Team;
104
+ points: number;
105
+ }
97
106
  export declare class Tournament extends BaseModel {
98
107
  id: number;
99
108
  name: string;
@@ -107,6 +116,7 @@ export declare class Tournament extends BaseModel {
107
116
  location: string;
108
117
  description: string;
109
118
  date: Date;
119
+ dateEnd: Date;
110
120
  price: number;
111
121
  regulationFiles: File[];
112
122
  settings: TournamentSettings;
@@ -114,9 +124,9 @@ export declare class Tournament extends BaseModel {
114
124
  teamsCount: number;
115
125
  closestGameDatetime: string;
116
126
  status: TournamentStatuses;
117
- teamWinner: TournamentTeam;
118
- teamSecond: TournamentTeam;
119
- teamThird: TournamentTeam;
127
+ teamWinner: TournamentTeamWinner;
128
+ teamSecond: TournamentTeamWinner;
129
+ teamThird: TournamentTeamWinner;
120
130
  season: TournamentSeason;
121
131
  seasonId: number;
122
132
  gamePrice: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mtgame/core",
3
- "version": "2.0.23",
3
+ "version": "2.0.25",
4
4
  "dependencies": {
5
5
  "tslib": "^2.2.0",
6
6
  "@sentry/angular": "~7.36.0",