@mtgame/core 0.1.10 → 0.1.12
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/api/tournament-season-api.d.ts +2 -0
- package/bundles/mtgame-core.umd.js +9 -1
- 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/api/tournament-season-api.js +7 -1
- package/esm2015/models/game-user-limitation.js +3 -2
- package/esm5/api/tournament-season-api.js +9 -1
- package/esm5/models/game-user-limitation.js +3 -2
- package/fesm2015/mtgame-core.js +7 -1
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +9 -1
- package/fesm5/mtgame-core.js.map +1 -1
- package/models/game-user-limitation.d.ts +1 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
package/fesm5/mtgame-core.js
CHANGED
|
@@ -2622,7 +2622,8 @@ var GameUserLimitationTypes = /** @class */ (function (_super) {
|
|
|
2622
2622
|
ModelInstance({
|
|
2623
2623
|
mappingFields: {
|
|
2624
2624
|
min_user_games_count: 'minUserGamesCount',
|
|
2625
|
-
min_user_time: 'minUserTime'
|
|
2625
|
+
min_user_time: 'minUserTime',
|
|
2626
|
+
manual: 'manual',
|
|
2626
2627
|
},
|
|
2627
2628
|
})
|
|
2628
2629
|
], GameUserLimitationTypes);
|
|
@@ -7312,6 +7313,13 @@ var TournamentSeasonApi = /** @class */ (function () {
|
|
|
7312
7313
|
});
|
|
7313
7314
|
});
|
|
7314
7315
|
};
|
|
7316
|
+
TournamentSeasonApi.prototype.getPlayoffs = function (seasonId) {
|
|
7317
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7318
|
+
return __generator(this, function (_a) {
|
|
7319
|
+
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_season/" + seasonId + "/playoffs/").pipe(map(function (result) { return Playoff.toFront(result); })).toPromise()];
|
|
7320
|
+
});
|
|
7321
|
+
});
|
|
7322
|
+
};
|
|
7315
7323
|
TournamentSeasonApi.prototype.getGamesStages = function (seasonId) {
|
|
7316
7324
|
return __awaiter(this, void 0, void 0, function () {
|
|
7317
7325
|
return __generator(this, function (_a) {
|