@mtgame/core 0.0.49 → 0.0.50
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 +11 -0
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/bundles/mtgame-core.umd.min.js +1 -1
- package/bundles/mtgame-core.umd.min.js.map +1 -1
- package/esm2015/models/hockey-game-statistic.js +4 -1
- package/esm2015/models/tournament-season.js +6 -2
- package/esm5/models/hockey-game-statistic.js +8 -1
- package/esm5/models/tournament-season.js +6 -2
- package/fesm2015/mtgame-core.js +7 -0
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +11 -0
- package/fesm5/mtgame-core.js.map +1 -1
- package/models/hockey-game-statistic.d.ts +1 -0
- package/models/tournament-season.d.ts +2 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
package/fesm5/mtgame-core.js
CHANGED
|
@@ -908,12 +908,16 @@ var TournamentSeason = /** @class */ (function (_super) {
|
|
|
908
908
|
cover: 'cover',
|
|
909
909
|
preview_image: 'previewImage',
|
|
910
910
|
status: 'status',
|
|
911
|
+
start_date: 'startDate',
|
|
912
|
+
closed_date: 'closedDate',
|
|
911
913
|
},
|
|
912
914
|
relation: {
|
|
913
915
|
logo: File,
|
|
914
916
|
cover: File,
|
|
915
917
|
previewImage: File,
|
|
916
918
|
status: enumField(TournamentSeasonStatuses),
|
|
919
|
+
startDate: DateField,
|
|
920
|
+
closedDate: DateField,
|
|
917
921
|
}
|
|
918
922
|
})
|
|
919
923
|
], TournamentSeason);
|
|
@@ -2611,6 +2615,13 @@ var HockeyGameStatistic = /** @class */ (function (_super) {
|
|
|
2611
2615
|
enumerable: true,
|
|
2612
2616
|
configurable: true
|
|
2613
2617
|
});
|
|
2618
|
+
Object.defineProperty(HockeyGameStatistic.prototype, "gameMinutes", {
|
|
2619
|
+
get: function () {
|
|
2620
|
+
return Math.floor(this.gameTime / 60);
|
|
2621
|
+
},
|
|
2622
|
+
enumerable: true,
|
|
2623
|
+
configurable: true
|
|
2624
|
+
});
|
|
2614
2625
|
HockeyGameStatistic.toFront = function (data) { };
|
|
2615
2626
|
HockeyGameStatistic.toBack = function (data) { };
|
|
2616
2627
|
__decorate([
|