@mtgame/core 2.0.23 → 2.0.24
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/esm2020/models/tournament.mjs +16 -5
- package/fesm2015/mtgame-core.mjs +107 -97
- package/fesm2015/mtgame-core.mjs.map +1 -1
- package/fesm2020/mtgame-core.mjs +110 -100
- package/fesm2020/mtgame-core.mjs.map +1 -1
- package/models/tournament.d.ts +13 -4
- package/package.json +1 -1
package/models/tournament.d.ts
CHANGED
|
@@ -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;
|
|
@@ -114,9 +123,9 @@ export declare class Tournament extends BaseModel {
|
|
|
114
123
|
teamsCount: number;
|
|
115
124
|
closestGameDatetime: string;
|
|
116
125
|
status: TournamentStatuses;
|
|
117
|
-
teamWinner:
|
|
118
|
-
teamSecond:
|
|
119
|
-
teamThird:
|
|
126
|
+
teamWinner: TournamentTeamWinner;
|
|
127
|
+
teamSecond: TournamentTeamWinner;
|
|
128
|
+
teamThird: TournamentTeamWinner;
|
|
120
129
|
season: TournamentSeason;
|
|
121
130
|
seasonId: number;
|
|
122
131
|
gamePrice: number;
|