@mtgame/core 0.1.29 → 0.1.31
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-player-api.d.ts +1 -1
- package/api/tournament-season-api.d.ts +1 -1
- package/bundles/mtgame-core.umd.js +86 -4
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/bundles/mtgame-core.umd.min.js +2 -2
- package/bundles/mtgame-core.umd.min.js.map +1 -1
- package/esm2015/api/league-player-api.js +8 -4
- package/esm2015/api/tournament-season-api.js +7 -3
- package/esm2015/models/base-statistic.js +1 -1
- package/esm2015/models/basketball-statistic.js +4 -1
- package/esm2015/models/football-statistic.js +4 -1
- package/esm2015/models/game.js +29 -1
- package/esm2015/models/handball-statistic.js +4 -1
- package/esm2015/models/hockey-statistic.js +4 -1
- package/esm2015/models/tournament-team.js +5 -1
- package/esm2015/models/tournament.js +4 -1
- package/esm2015/models/volleyball-statistic.js +4 -1
- package/esm5/api/league-player-api.js +8 -4
- package/esm5/api/tournament-season-api.js +8 -3
- package/esm5/models/base-statistic.js +1 -1
- package/esm5/models/basketball-statistic.js +8 -1
- package/esm5/models/football-statistic.js +8 -1
- package/esm5/models/game.js +34 -1
- package/esm5/models/handball-statistic.js +8 -1
- package/esm5/models/hockey-statistic.js +8 -1
- package/esm5/models/tournament-team.js +5 -1
- package/esm5/models/tournament.js +4 -1
- package/esm5/models/volleyball-statistic.js +8 -1
- package/fesm2015/mtgame-core.js +60 -5
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +86 -5
- package/fesm5/mtgame-core.js.map +1 -1
- package/models/base-statistic.d.ts +1 -0
- package/models/basketball-statistic.d.ts +1 -0
- package/models/football-statistic.d.ts +1 -0
- package/models/game.d.ts +10 -0
- package/models/handball-statistic.d.ts +1 -0
- package/models/hockey-statistic.d.ts +1 -0
- package/models/tournament-team.d.ts +3 -0
- package/models/tournament.d.ts +2 -0
- package/models/volleyball-statistic.d.ts +1 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -45,6 +45,7 @@ export declare class BasketballStatistic extends BaseModel implements BaseStatis
|
|
|
45
45
|
rank: number;
|
|
46
46
|
get totalFouls(): number;
|
|
47
47
|
get gameMinutes(): number;
|
|
48
|
+
get tournamentTeamPoints(): number;
|
|
48
49
|
static toFront(data: any): any;
|
|
49
50
|
static toBack(data: any): any;
|
|
50
51
|
}
|
|
@@ -65,6 +65,7 @@ export declare class FootballStatistic extends BaseModel implements BaseStatisti
|
|
|
65
65
|
autoGoals: number;
|
|
66
66
|
autoGoalsAgainst: number;
|
|
67
67
|
get userMinutes(): string;
|
|
68
|
+
get tournamentTeamPoints(): number;
|
|
68
69
|
static toFront(data: any): any;
|
|
69
70
|
static toBack(data: any): any;
|
|
70
71
|
}
|
package/models/game.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import { FootballGameConfig } from './football-game-config';
|
|
|
10
10
|
import { HandballGameConfig } from './handball-game-config';
|
|
11
11
|
import { Playoff } from './playoff';
|
|
12
12
|
import { TournamentGroup } from './tournament-group';
|
|
13
|
+
import { File } from './file';
|
|
13
14
|
export declare enum GameStatuses {
|
|
14
15
|
open = 1,
|
|
15
16
|
in_progress = 2,
|
|
@@ -23,6 +24,13 @@ export declare enum GameResultTypes {
|
|
|
23
24
|
team_technical_defeat = 3,
|
|
24
25
|
competitor_team_technical_defeat = 4
|
|
25
26
|
}
|
|
27
|
+
export declare class TournamentTeamShort extends BaseModel {
|
|
28
|
+
id: number;
|
|
29
|
+
name: string;
|
|
30
|
+
logo: File;
|
|
31
|
+
static toFront(data: any): any;
|
|
32
|
+
static toBack(data: any): any;
|
|
33
|
+
}
|
|
26
34
|
export declare class Game extends BaseModel {
|
|
27
35
|
private _basketballGameConfig;
|
|
28
36
|
private _volleyballGameConfig;
|
|
@@ -32,9 +40,11 @@ export declare class Game extends BaseModel {
|
|
|
32
40
|
id: number;
|
|
33
41
|
status: GameStatuses;
|
|
34
42
|
team: Team;
|
|
43
|
+
tournamentTeam: TournamentTeamShort;
|
|
35
44
|
teamId: number;
|
|
36
45
|
tournamentTeamId: number;
|
|
37
46
|
competitorTeam: Team;
|
|
47
|
+
competitorTournamentTeam: TournamentTeamShort;
|
|
38
48
|
competitorTeamId: number;
|
|
39
49
|
competitorTournamentTeamId: number;
|
|
40
50
|
competitorTeamName: string;
|
|
@@ -66,6 +66,7 @@ export declare class HockeyStatistic extends BaseModel implements BaseStatistic
|
|
|
66
66
|
get assists(): number;
|
|
67
67
|
get userMinutes(): string;
|
|
68
68
|
get gamesWonPercent(): number;
|
|
69
|
+
get tournamentTeamPoints(): number;
|
|
69
70
|
static toFront(data: any): any;
|
|
70
71
|
static toBack(data: any): any;
|
|
71
72
|
}
|
|
@@ -3,8 +3,11 @@ import { Team } from './team';
|
|
|
3
3
|
import { TournamentGroup } from './tournament-group';
|
|
4
4
|
import { Game } from './game';
|
|
5
5
|
import { Tournament } from './tournament';
|
|
6
|
+
import { File } from './file';
|
|
6
7
|
export declare class TournamentTeam extends BaseModel {
|
|
7
8
|
id: number;
|
|
9
|
+
name: string;
|
|
10
|
+
logo: File;
|
|
8
11
|
teamId: number;
|
|
9
12
|
tournamentId: number;
|
|
10
13
|
tournament: Tournament;
|
package/models/tournament.d.ts
CHANGED
|
@@ -42,6 +42,7 @@ export declare class VolleyballStatistic extends BaseModel implements BaseStatis
|
|
|
42
42
|
serveReceivePercent: number;
|
|
43
43
|
points: number;
|
|
44
44
|
faults: number;
|
|
45
|
+
get tournamentTeamPoints(): number;
|
|
45
46
|
static toFront(data: any): any;
|
|
46
47
|
static toBack(data: any): any;
|
|
47
48
|
}
|