@mtgame/core 0.1.30 → 0.1.32

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 (37) 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 +60 -5
  4. package/bundles/mtgame-core.umd.js.map +1 -1
  5. package/bundles/mtgame-core.umd.min.js +1 -1
  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/localization/hockey-game-log-types.js +3 -1
  10. package/esm2015/models/game.js +29 -1
  11. package/esm2015/models/hockey-game-log.js +4 -2
  12. package/esm2015/models/hockey-game-statistic.js +3 -1
  13. package/esm2015/models/hockey-statistic.js +3 -1
  14. package/esm2015/models/tournament-team.js +5 -1
  15. package/esm2015/models/tournament.js +4 -1
  16. package/esm5/api/league-player-api.js +8 -4
  17. package/esm5/api/tournament-season-api.js +8 -3
  18. package/esm5/localization/hockey-game-log-types.js +3 -1
  19. package/esm5/models/game.js +34 -1
  20. package/esm5/models/hockey-game-log.js +4 -2
  21. package/esm5/models/hockey-game-statistic.js +3 -1
  22. package/esm5/models/hockey-statistic.js +3 -1
  23. package/esm5/models/tournament-team.js +5 -1
  24. package/esm5/models/tournament.js +4 -1
  25. package/fesm2015/mtgame-core.js +54 -6
  26. package/fesm2015/mtgame-core.js.map +1 -1
  27. package/fesm5/mtgame-core.js +60 -6
  28. package/fesm5/mtgame-core.js.map +1 -1
  29. package/localization/hockey-game-log-types.d.ts +2 -0
  30. package/models/game.d.ts +10 -0
  31. package/models/hockey-game-log.d.ts +3 -1
  32. package/models/hockey-game-statistic.d.ts +2 -0
  33. package/models/hockey-statistic.d.ts +2 -0
  34. package/models/tournament-team.d.ts +3 -0
  35. package/models/tournament.d.ts +2 -0
  36. package/mtgame-core.metadata.json +1 -1
  37. package/package.json +1 -1
@@ -8,6 +8,8 @@ export declare const HockeyGameLogTypeLocalization: {
8
8
  6: string;
9
9
  7: string;
10
10
  8: string;
11
+ 23: string;
12
+ 24: string;
11
13
  9: string;
12
14
  10: string;
13
15
  11: string;
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;
@@ -23,7 +23,9 @@ export declare enum HockeyGameLogTypes {
23
23
  save = 19,
24
24
  timeout = 20,
25
25
  penalty_start = 21,
26
- penalty_end = 22
26
+ penalty_end = 22,
27
+ after_game_shootout_attempt = 23,
28
+ after_game_shootout_goal = 24
27
29
  }
28
30
  export declare enum HockeyAdvantageTypes {
29
31
  power_play = 1,
@@ -20,6 +20,8 @@ export declare class HockeyGameStatistic extends BaseModel implements GameStatis
20
20
  shAssists: number;
21
21
  shootoutAttempts: number;
22
22
  shootoutGoals: number;
23
+ afterGameShootoutAttempts: number;
24
+ afterGameShootoutGoals: number;
23
25
  blockShots: number;
24
26
  faceOffLosses: number;
25
27
  faceOffWins: number;
@@ -48,6 +48,8 @@ export declare class HockeyStatistic extends BaseModel implements BaseStatistic
48
48
  shAssists: number;
49
49
  shootoutAttempts: number;
50
50
  shootoutGoals: number;
51
+ afterGameShootoutAttempts: number;
52
+ afterGameShootoutGoals: number;
51
53
  blockShots: number;
52
54
  faceOffLosses: number;
53
55
  faceOffWins: number;
@@ -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;