@mtgame/core 0.0.49 → 0.0.51
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 +41 -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/league-playlist.js +28 -0
- package/esm2015/models/public-api.js +2 -1
- package/esm2015/models/tournament-season.js +6 -2
- package/esm5/models/hockey-game-statistic.js +8 -1
- package/esm5/models/league-playlist.js +33 -0
- package/esm5/models/public-api.js +2 -1
- package/esm5/models/tournament-season.js +6 -2
- package/fesm2015/mtgame-core.js +32 -1
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +41 -1
- package/fesm5/mtgame-core.js.map +1 -1
- package/models/hockey-game-statistic.d.ts +1 -0
- package/models/league-playlist.d.ts +10 -0
- package/models/public-api.d.ts +1 -0
- package/models/tournament-season.d.ts +2 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -1121,12 +1121,16 @@
|
|
|
1121
1121
|
cover: 'cover',
|
|
1122
1122
|
preview_image: 'previewImage',
|
|
1123
1123
|
status: 'status',
|
|
1124
|
+
start_date: 'startDate',
|
|
1125
|
+
closed_date: 'closedDate',
|
|
1124
1126
|
},
|
|
1125
1127
|
relation: {
|
|
1126
1128
|
logo: File,
|
|
1127
1129
|
cover: File,
|
|
1128
1130
|
previewImage: File,
|
|
1129
1131
|
status: enumField(exports.TournamentSeasonStatuses),
|
|
1132
|
+
startDate: DateField,
|
|
1133
|
+
closedDate: DateField,
|
|
1130
1134
|
}
|
|
1131
1135
|
})
|
|
1132
1136
|
], TournamentSeason);
|
|
@@ -2824,6 +2828,13 @@
|
|
|
2824
2828
|
enumerable: true,
|
|
2825
2829
|
configurable: true
|
|
2826
2830
|
});
|
|
2831
|
+
Object.defineProperty(HockeyGameStatistic.prototype, "gameMinutes", {
|
|
2832
|
+
get: function () {
|
|
2833
|
+
return Math.floor(this.gameTime / 60);
|
|
2834
|
+
},
|
|
2835
|
+
enumerable: true,
|
|
2836
|
+
configurable: true
|
|
2837
|
+
});
|
|
2827
2838
|
HockeyGameStatistic.toFront = function (data) { };
|
|
2828
2839
|
HockeyGameStatistic.toBack = function (data) { };
|
|
2829
2840
|
__decorate([
|
|
@@ -6747,6 +6758,35 @@
|
|
|
6747
6758
|
_a$6[exports.VolleyballGameLogType.yellow_card] = 'Предупреждение',
|
|
6748
6759
|
_a$6);
|
|
6749
6760
|
|
|
6761
|
+
var LeaguePlaylist = /** @class */ (function (_super) {
|
|
6762
|
+
__extends(LeaguePlaylist, _super);
|
|
6763
|
+
function LeaguePlaylist() {
|
|
6764
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
6765
|
+
}
|
|
6766
|
+
LeaguePlaylist.toFront = function (data) { };
|
|
6767
|
+
LeaguePlaylist.toBack = function (data) { };
|
|
6768
|
+
__decorate([
|
|
6769
|
+
ToFrontHook
|
|
6770
|
+
], LeaguePlaylist, "toFront", null);
|
|
6771
|
+
__decorate([
|
|
6772
|
+
ToBackHook
|
|
6773
|
+
], LeaguePlaylist, "toBack", null);
|
|
6774
|
+
LeaguePlaylist = __decorate([
|
|
6775
|
+
ModelInstance({
|
|
6776
|
+
mappingFields: {
|
|
6777
|
+
id: 'id',
|
|
6778
|
+
name: 'name',
|
|
6779
|
+
files: 'files',
|
|
6780
|
+
key_code: 'keyCode',
|
|
6781
|
+
},
|
|
6782
|
+
relation: {
|
|
6783
|
+
files: listField(File)
|
|
6784
|
+
}
|
|
6785
|
+
})
|
|
6786
|
+
], LeaguePlaylist);
|
|
6787
|
+
return LeaguePlaylist;
|
|
6788
|
+
}(BaseModel));
|
|
6789
|
+
|
|
6750
6790
|
var CentrifugoService = /** @class */ (function () {
|
|
6751
6791
|
function CentrifugoService(httpClient, configService) {
|
|
6752
6792
|
this.httpClient = httpClient;
|
|
@@ -7207,6 +7247,7 @@
|
|
|
7207
7247
|
exports.LeagueNews = LeagueNews;
|
|
7208
7248
|
exports.LeagueNewsApi = LeagueNewsApi;
|
|
7209
7249
|
exports.LeaguePartner = LeaguePartner;
|
|
7250
|
+
exports.LeaguePlaylist = LeaguePlaylist;
|
|
7210
7251
|
exports.LocalStorageEngine = LocalStorageEngine;
|
|
7211
7252
|
exports.MediaApi = MediaApi;
|
|
7212
7253
|
exports.MediaItem = MediaItem;
|