@mtgame/core 0.1.106 → 0.1.107
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 +6 -6
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/api/game-base-api.js +2 -2
- package/esm2015/models/public-api.js +2 -1
- package/fesm2015/mtgame-core.js +2 -2
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/public-api.d.ts +1 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -3544,7 +3544,7 @@
|
|
|
3544
3544
|
})
|
|
3545
3545
|
], exports.GameUserLimitations);
|
|
3546
3546
|
|
|
3547
|
-
|
|
3547
|
+
exports.GameUserDisqualification = /** @class */ (function (_super) {
|
|
3548
3548
|
__extends(GameUserDisqualification, _super);
|
|
3549
3549
|
function GameUserDisqualification() {
|
|
3550
3550
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -3557,11 +3557,11 @@
|
|
|
3557
3557
|
}(BaseModel));
|
|
3558
3558
|
__decorate([
|
|
3559
3559
|
ToFrontHook
|
|
3560
|
-
], GameUserDisqualification, "toFront", null);
|
|
3560
|
+
], exports.GameUserDisqualification, "toFront", null);
|
|
3561
3561
|
__decorate([
|
|
3562
3562
|
ToBackHook
|
|
3563
|
-
], GameUserDisqualification, "toBack", null);
|
|
3564
|
-
GameUserDisqualification = __decorate([
|
|
3563
|
+
], exports.GameUserDisqualification, "toBack", null);
|
|
3564
|
+
exports.GameUserDisqualification = __decorate([
|
|
3565
3565
|
ModelInstance({
|
|
3566
3566
|
mappingFields: {
|
|
3567
3567
|
tournament_team_user_id: 'tournamentTeamUserId',
|
|
@@ -3571,7 +3571,7 @@
|
|
|
3571
3571
|
disqualification: exports.TournamentDisqualification
|
|
3572
3572
|
}
|
|
3573
3573
|
})
|
|
3574
|
-
], GameUserDisqualification);
|
|
3574
|
+
], exports.GameUserDisqualification);
|
|
3575
3575
|
|
|
3576
3576
|
var GameBaseApi = /** @class */ (function () {
|
|
3577
3577
|
function GameBaseApi(httpClient, configService) {
|
|
@@ -3602,7 +3602,7 @@
|
|
|
3602
3602
|
GameBaseApi.prototype.getUsersDisqualification = function (gameId) {
|
|
3603
3603
|
return __awaiter(this, void 0, void 0, function () {
|
|
3604
3604
|
return __generator(this, function (_a) {
|
|
3605
|
-
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/
|
|
3605
|
+
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_game/" + gameId + "/users_disqualification/").pipe(operators.map(function (result) { return exports.GameUserDisqualification.toFront(result); })).toPromise()];
|
|
3606
3606
|
});
|
|
3607
3607
|
});
|
|
3608
3608
|
};
|