@mtgame/core 0.2.109 → 0.2.111
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 +57 -0
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/models/game.js +50 -1
- package/fesm2015/mtgame-core.js +48 -1
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/game.d.ts +17 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -2646,6 +2646,61 @@
|
|
|
2646
2646
|
}
|
|
2647
2647
|
})
|
|
2648
2648
|
], exports.TournamentTeamShort);
|
|
2649
|
+
exports.MhlCarouselTeam = /** @class */ (function (_super) {
|
|
2650
|
+
__extends(MhlCarouselTeam, _super);
|
|
2651
|
+
function MhlCarouselTeam() {
|
|
2652
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2653
|
+
}
|
|
2654
|
+
MhlCarouselTeam.toFront = function (data) { };
|
|
2655
|
+
MhlCarouselTeam.toBack = function (data) { };
|
|
2656
|
+
return MhlCarouselTeam;
|
|
2657
|
+
}(BaseModel));
|
|
2658
|
+
__decorate([
|
|
2659
|
+
ToFrontHook
|
|
2660
|
+
], exports.MhlCarouselTeam, "toFront", null);
|
|
2661
|
+
__decorate([
|
|
2662
|
+
ToBackHook
|
|
2663
|
+
], exports.MhlCarouselTeam, "toBack", null);
|
|
2664
|
+
exports.MhlCarouselTeam = __decorate([
|
|
2665
|
+
ModelInstance({
|
|
2666
|
+
mappingFields: {
|
|
2667
|
+
team: 'team',
|
|
2668
|
+
tournament_team: 'tournamentTeam',
|
|
2669
|
+
score: 'score',
|
|
2670
|
+
score_by_period: 'scoreByPeriod',
|
|
2671
|
+
},
|
|
2672
|
+
relation: {
|
|
2673
|
+
team: exports.Team,
|
|
2674
|
+
tournamentTeam: exports.TournamentTeamShort,
|
|
2675
|
+
}
|
|
2676
|
+
})
|
|
2677
|
+
], exports.MhlCarouselTeam);
|
|
2678
|
+
exports.MhlCarousel = /** @class */ (function (_super) {
|
|
2679
|
+
__extends(MhlCarousel, _super);
|
|
2680
|
+
function MhlCarousel() {
|
|
2681
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2682
|
+
}
|
|
2683
|
+
MhlCarousel.toFront = function (data) { };
|
|
2684
|
+
MhlCarousel.toBack = function (data) { };
|
|
2685
|
+
return MhlCarousel;
|
|
2686
|
+
}(BaseModel));
|
|
2687
|
+
__decorate([
|
|
2688
|
+
ToFrontHook
|
|
2689
|
+
], exports.MhlCarousel, "toFront", null);
|
|
2690
|
+
__decorate([
|
|
2691
|
+
ToBackHook
|
|
2692
|
+
], exports.MhlCarousel, "toBack", null);
|
|
2693
|
+
exports.MhlCarousel = __decorate([
|
|
2694
|
+
ModelInstance({
|
|
2695
|
+
mappingFields: {
|
|
2696
|
+
game_ids: 'gameIds',
|
|
2697
|
+
teams: 'teams',
|
|
2698
|
+
},
|
|
2699
|
+
relation: {
|
|
2700
|
+
teams: listField(exports.MhlCarouselTeam),
|
|
2701
|
+
}
|
|
2702
|
+
})
|
|
2703
|
+
], exports.MhlCarousel);
|
|
2649
2704
|
exports.Game = /** @class */ (function (_super) {
|
|
2650
2705
|
__extends(Game, _super);
|
|
2651
2706
|
function Game() {
|
|
@@ -2917,6 +2972,7 @@
|
|
|
2917
2972
|
tournament: 'tournament',
|
|
2918
2973
|
tournament_group: 'tournamentGroup',
|
|
2919
2974
|
additional_data: 'additionalData',
|
|
2975
|
+
mhl_carousel: 'mhlCarousel',
|
|
2920
2976
|
},
|
|
2921
2977
|
relation: {
|
|
2922
2978
|
status: enumField(exports.GameStatuses),
|
|
@@ -2940,6 +2996,7 @@
|
|
|
2940
2996
|
tournament: exports.Tournament,
|
|
2941
2997
|
tournamentGroup: exports.TournamentGroup,
|
|
2942
2998
|
additionalData: exports.GameAdditionalData,
|
|
2999
|
+
mhlCarousel: exports.MhlCarousel,
|
|
2943
3000
|
}
|
|
2944
3001
|
})
|
|
2945
3002
|
], exports.Game);
|