@mtgame/core 0.1.102 → 0.1.104
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/bundles/mtgame-core.umd.js +15 -0
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/models/game-user-limitation.js +3 -1
- package/esm2015/models/league-player.js +13 -2
- package/fesm2015/mtgame-core.js +14 -1
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/game-user-limitation.d.ts +2 -0
- package/models/league-player.d.ts +9 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -6,6 +6,8 @@ interface LimitationValue {
|
|
|
6
6
|
export declare class GameUserLimitationTypes extends BaseModel {
|
|
7
7
|
minUserGamesCount: LimitationValue;
|
|
8
8
|
minUserTime: LimitationValue;
|
|
9
|
+
minGoalkeeperUserGamesCount: LimitationValue;
|
|
10
|
+
minGoalkeeperUserTime: LimitationValue;
|
|
9
11
|
manual: boolean;
|
|
10
12
|
static toFront(data: any): any;
|
|
11
13
|
static toBack(data: any): any;
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import { BaseModel } from './util';
|
|
2
2
|
import { File } from './file';
|
|
3
3
|
import { User } from './user';
|
|
4
|
+
export declare enum Qualification {
|
|
5
|
+
practician = 1,
|
|
6
|
+
amateur = 2
|
|
7
|
+
}
|
|
8
|
+
export declare const QualificationLocalization: {
|
|
9
|
+
1: string;
|
|
10
|
+
2: string;
|
|
11
|
+
};
|
|
4
12
|
export declare class LeaguePlayer extends BaseModel {
|
|
5
13
|
id: number;
|
|
6
14
|
userId: number;
|
|
@@ -13,6 +21,7 @@ export declare class LeaguePlayer extends BaseModel {
|
|
|
13
21
|
user: User;
|
|
14
22
|
hasChanges: boolean;
|
|
15
23
|
rating: number;
|
|
24
|
+
qualification: Qualification;
|
|
16
25
|
get fullName(): string;
|
|
17
26
|
get shortName(): string;
|
|
18
27
|
get initials(): string;
|