@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/bundles/mtgame-core.umd.js +80 -0
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/models/game.js +70 -1
- package/esm2015/models/hockey-game-log.js +2 -1
- package/fesm2015/mtgame-core.js +68 -1
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/game.d.ts +23 -0
- package/models/hockey-game-log.d.ts +2 -1
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
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;
|