@mtgame/core 0.1.62 → 0.1.64
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/api/league-news-api.d.ts +1 -1
- package/bundles/mtgame-core.umd.js +15 -1
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/api/league-news-api.js +6 -3
- package/esm2015/models/organization.js +12 -2
- package/esm2015/models/tournament.js +2 -1
- package/fesm2015/mtgame-core.js +17 -3
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/organization.d.ts +8 -0
- package/models/tournament.d.ts +1 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
package/models/organization.d.ts
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { BaseModel } from './util';
|
|
2
2
|
import { User } from './user';
|
|
3
|
+
export declare enum OrganizationStatuses {
|
|
4
|
+
open = 1,
|
|
5
|
+
blocked = 2
|
|
6
|
+
}
|
|
3
7
|
export declare class Organization extends BaseModel {
|
|
4
8
|
id: number;
|
|
5
9
|
ownerId: number;
|
|
6
10
|
owner: User;
|
|
11
|
+
status: OrganizationStatuses;
|
|
12
|
+
name: string;
|
|
13
|
+
phone: string;
|
|
14
|
+
email: string;
|
|
7
15
|
static toFront(data: any): any;
|
|
8
16
|
static toBack(data: any): any;
|
|
9
17
|
}
|
package/models/tournament.d.ts
CHANGED
|
@@ -120,6 +120,7 @@ export declare class Tournament extends BaseModel {
|
|
|
120
120
|
teamThird: TournamentTeamWinner;
|
|
121
121
|
season: TournamentSeason;
|
|
122
122
|
seasonId: number;
|
|
123
|
+
gamePrice: number;
|
|
123
124
|
getEmptyLogoClass(): string;
|
|
124
125
|
static toFront(data: any): any;
|
|
125
126
|
static toBack(data: any): any;
|