@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.
- package/esm2020/models/tournament.mjs +17 -5
- package/fesm2015/mtgame-core.mjs +108 -97
- package/fesm2015/mtgame-core.mjs.map +1 -1
- package/fesm2020/mtgame-core.mjs +111 -100
- package/fesm2020/mtgame-core.mjs.map +1 -1
- package/models/tournament.d.ts +14 -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;
|
|
@@ -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:
|
|
118
|
-
teamSecond:
|
|
119
|
-
teamThird:
|
|
127
|
+
teamWinner: TournamentTeamWinner;
|
|
128
|
+
teamSecond: TournamentTeamWinner;
|
|
129
|
+
teamThird: TournamentTeamWinner;
|
|
120
130
|
season: TournamentSeason;
|
|
121
131
|
seasonId: number;
|
|
122
132
|
gamePrice: number;
|