@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.
Files changed (43) hide show
  1. package/api/league-player-api.d.ts +1 -1
  2. package/api/tournament-season-api.d.ts +1 -1
  3. package/bundles/mtgame-core.umd.js +86 -4
  4. package/bundles/mtgame-core.umd.js.map +1 -1
  5. package/bundles/mtgame-core.umd.min.js +2 -2
  6. package/bundles/mtgame-core.umd.min.js.map +1 -1
  7. package/esm2015/api/league-player-api.js +8 -4
  8. package/esm2015/api/tournament-season-api.js +7 -3
  9. package/esm2015/models/base-statistic.js +1 -1
  10. package/esm2015/models/basketball-statistic.js +4 -1
  11. package/esm2015/models/football-statistic.js +4 -1
  12. package/esm2015/models/game.js +29 -1
  13. package/esm2015/models/handball-statistic.js +4 -1
  14. package/esm2015/models/hockey-statistic.js +4 -1
  15. package/esm2015/models/tournament-team.js +5 -1
  16. package/esm2015/models/tournament.js +4 -1
  17. package/esm2015/models/volleyball-statistic.js +4 -1
  18. package/esm5/api/league-player-api.js +8 -4
  19. package/esm5/api/tournament-season-api.js +8 -3
  20. package/esm5/models/base-statistic.js +1 -1
  21. package/esm5/models/basketball-statistic.js +8 -1
  22. package/esm5/models/football-statistic.js +8 -1
  23. package/esm5/models/game.js +34 -1
  24. package/esm5/models/handball-statistic.js +8 -1
  25. package/esm5/models/hockey-statistic.js +8 -1
  26. package/esm5/models/tournament-team.js +5 -1
  27. package/esm5/models/tournament.js +4 -1
  28. package/esm5/models/volleyball-statistic.js +8 -1
  29. package/fesm2015/mtgame-core.js +60 -5
  30. package/fesm2015/mtgame-core.js.map +1 -1
  31. package/fesm5/mtgame-core.js +86 -5
  32. package/fesm5/mtgame-core.js.map +1 -1
  33. package/models/base-statistic.d.ts +1 -0
  34. package/models/basketball-statistic.d.ts +1 -0
  35. package/models/football-statistic.d.ts +1 -0
  36. package/models/game.d.ts +10 -0
  37. package/models/handball-statistic.d.ts +1 -0
  38. package/models/hockey-statistic.d.ts +1 -0
  39. package/models/tournament-team.d.ts +3 -0
  40. package/models/tournament.d.ts +2 -0
  41. package/models/volleyball-statistic.d.ts +1 -0
  42. package/mtgame-core.metadata.json +1 -1
  43. package/package.json +1 -1
@@ -16,6 +16,7 @@ export interface BaseStatistic {
16
16
  winLose: WinLoseType;
17
17
  gamesCount: number;
18
18
  wonGamesCount: number;
19
+ tournamentTeamPoints: number;
19
20
  newbie: boolean;
20
21
  rank: number;
21
22
  }
@@ -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;
@@ -54,6 +54,7 @@ export declare class HandballStatistic extends BaseModel implements BaseStatisti
54
54
  newbie: boolean;
55
55
  rank: number;
56
56
  get userMinutes(): string;
57
+ get tournamentTeamPoints(): number;
57
58
  static toFront(data: any): any;
58
59
  static toBack(data: any): any;
59
60
  }
@@ -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;
@@ -81,6 +81,8 @@ export declare class TournamentTeamWinner extends BaseModel {
81
81
  id: number;
82
82
  teamId: number;
83
83
  tournamentId: number;
84
+ name: string;
85
+ logo: File;
84
86
  team: Team;
85
87
  points: number;
86
88
  static toFront(data: any): any;
@@ -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
  }