@mtgame/core 0.2.108 → 0.2.109
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 +23 -0
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/models/game.js +21 -1
- package/esm2015/models/hockey-game-log.js +2 -1
- package/fesm2015/mtgame-core.js +21 -1
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/game.d.ts +6 -0
- package/models/hockey-game-log.d.ts +2 -1
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -2576,6 +2576,26 @@
|
|
|
2576
2576
|
GameResultTypes[GameResultTypes["competitor_team_technical_defeat"] = 4] = "competitor_team_technical_defeat";
|
|
2577
2577
|
GameResultTypes[GameResultTypes["draw"] = 5] = "draw";
|
|
2578
2578
|
})(exports.GameResultTypes || (exports.GameResultTypes = {}));
|
|
2579
|
+
exports.GameAdditionalData = /** @class */ (function () {
|
|
2580
|
+
function GameAdditionalData() {
|
|
2581
|
+
}
|
|
2582
|
+
GameAdditionalData.toFront = function (data) { };
|
|
2583
|
+
GameAdditionalData.toBack = function (data) { };
|
|
2584
|
+
return GameAdditionalData;
|
|
2585
|
+
}());
|
|
2586
|
+
__decorate([
|
|
2587
|
+
ToFrontHook
|
|
2588
|
+
], exports.GameAdditionalData, "toFront", null);
|
|
2589
|
+
__decorate([
|
|
2590
|
+
ToBackHook
|
|
2591
|
+
], exports.GameAdditionalData, "toBack", null);
|
|
2592
|
+
exports.GameAdditionalData = __decorate([
|
|
2593
|
+
ModelInstance({
|
|
2594
|
+
mappingFields: {
|
|
2595
|
+
mhl_carousel: 'mhlCarousel',
|
|
2596
|
+
}
|
|
2597
|
+
})
|
|
2598
|
+
], exports.GameAdditionalData);
|
|
2579
2599
|
exports.GameTeamAdditionalData = /** @class */ (function () {
|
|
2580
2600
|
function GameTeamAdditionalData() {
|
|
2581
2601
|
}
|
|
@@ -2896,6 +2916,7 @@
|
|
|
2896
2916
|
media: 'media',
|
|
2897
2917
|
tournament: 'tournament',
|
|
2898
2918
|
tournament_group: 'tournamentGroup',
|
|
2919
|
+
additional_data: 'additionalData',
|
|
2899
2920
|
},
|
|
2900
2921
|
relation: {
|
|
2901
2922
|
status: enumField(exports.GameStatuses),
|
|
@@ -2918,6 +2939,7 @@
|
|
|
2918
2939
|
media: listField(exports.MediaItem),
|
|
2919
2940
|
tournament: exports.Tournament,
|
|
2920
2941
|
tournamentGroup: exports.TournamentGroup,
|
|
2942
|
+
additionalData: exports.GameAdditionalData,
|
|
2921
2943
|
}
|
|
2922
2944
|
})
|
|
2923
2945
|
], exports.Game);
|
|
@@ -4717,6 +4739,7 @@
|
|
|
4717
4739
|
HockeyGameLogTypes[HockeyGameLogTypes["loss"] = 28] = "loss";
|
|
4718
4740
|
HockeyGameLogTypes[HockeyGameLogTypes["sharp_pass"] = 29] = "sharp_pass";
|
|
4719
4741
|
HockeyGameLogTypes[HockeyGameLogTypes["qualified_for_playoff"] = 30] = "qualified_for_playoff";
|
|
4742
|
+
HockeyGameLogTypes[HockeyGameLogTypes["mhl_carousel_segment_end"] = 31] = "mhl_carousel_segment_end";
|
|
4720
4743
|
})(exports.HockeyGameLogTypes || (exports.HockeyGameLogTypes = {}));
|
|
4721
4744
|
exports.HockeyAdvantageTypes = void 0;
|
|
4722
4745
|
(function (HockeyAdvantageTypes) {
|