@mtgame/core 0.2.108 → 0.2.110

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/models/game.d.ts CHANGED
@@ -29,6 +29,11 @@ export declare enum GameResultTypes {
29
29
  competitor_team_technical_defeat = 4,
30
30
  draw = 5
31
31
  }
32
+ export declare class GameAdditionalData {
33
+ mhlCarousel: boolean;
34
+ static toFront(data: any): any;
35
+ static toBack(data: any): any;
36
+ }
32
37
  export declare class GameTeamAdditionalData {
33
38
  nickname: string;
34
39
  color: string;
@@ -43,6 +48,22 @@ export declare class TournamentTeamShort extends BaseModel {
43
48
  static toFront(data: any): any;
44
49
  static toBack(data: any): any;
45
50
  }
51
+ export declare class MhlCarouselTeam extends BaseModel {
52
+ team: Team;
53
+ tournamentTeam: TournamentTeamShort;
54
+ score: number;
55
+ scoreByPeriod: {
56
+ [key: string]: number;
57
+ };
58
+ static toFront(data: any): any;
59
+ static toBack(data: any): any;
60
+ }
61
+ export declare class MhlCarousel extends BaseModel {
62
+ gameIds: number[];
63
+ teams: MhlCarouselTeam;
64
+ static toFront(data: any): any;
65
+ static toBack(data: any): any;
66
+ }
46
67
  export declare class Game extends BaseModel {
47
68
  private _basketballGameConfig;
48
69
  private _volleyballGameConfig;
@@ -84,6 +105,8 @@ export declare class Game extends BaseModel {
84
105
  media: MediaItem[];
85
106
  tournament: Tournament;
86
107
  tournamentGroup: TournamentGroup;
108
+ additionalData: GameAdditionalData;
109
+ mhlCarousel: MhlCarousel;
87
110
  get basketballGameConfig(): BasketballGameConfig;
88
111
  set basketballGameConfig(value: BasketballGameConfig);
89
112
  get volleyballGameConfig(): VolleyballGameConfig;
@@ -31,7 +31,8 @@ export declare enum HockeyGameLogTypes {
31
31
  steal = 27,
32
32
  loss = 28,
33
33
  sharp_pass = 29,
34
- qualified_for_playoff = 30
34
+ qualified_for_playoff = 30,
35
+ mhl_carousel_segment_end = 31
35
36
  }
36
37
  export declare enum HockeyAdvantageTypes {
37
38
  power_play = 1,