@mtgame/core 0.1.101 → 0.1.103
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 +15 -3
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/api/tournament-api.js +3 -4
- package/esm2015/models/league-player.js +13 -2
- package/fesm2015/mtgame-core.js +14 -4
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/league-player.d.ts +9 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -2871,6 +2871,16 @@
|
|
|
2871
2871
|
})
|
|
2872
2872
|
], exports.TournamentDisqualification);
|
|
2873
2873
|
|
|
2874
|
+
var _a$g;
|
|
2875
|
+
exports.Qualification = void 0;
|
|
2876
|
+
(function (Qualification) {
|
|
2877
|
+
Qualification[Qualification["practician"] = 1] = "practician";
|
|
2878
|
+
Qualification[Qualification["amateur"] = 2] = "amateur";
|
|
2879
|
+
})(exports.Qualification || (exports.Qualification = {}));
|
|
2880
|
+
var QualificationLocalization = (_a$g = {},
|
|
2881
|
+
_a$g[exports.Qualification.practician] = 'Практик',
|
|
2882
|
+
_a$g[exports.Qualification.amateur] = 'Любитель',
|
|
2883
|
+
_a$g);
|
|
2874
2884
|
exports.LeaguePlayer = /** @class */ (function (_super) {
|
|
2875
2885
|
__extends(LeaguePlayer, _super);
|
|
2876
2886
|
function LeaguePlayer() {
|
|
@@ -2934,11 +2944,13 @@
|
|
|
2934
2944
|
user: 'user',
|
|
2935
2945
|
has_changes: 'hasChanges',
|
|
2936
2946
|
rating: 'rating',
|
|
2947
|
+
qualification: 'qualification',
|
|
2937
2948
|
},
|
|
2938
2949
|
relation: {
|
|
2939
2950
|
birthDate: DateField,
|
|
2940
2951
|
photo: exports.File,
|
|
2941
2952
|
user: exports.User,
|
|
2953
|
+
qualification: enumField(exports.Qualification)
|
|
2942
2954
|
}
|
|
2943
2955
|
})
|
|
2944
2956
|
], exports.LeaguePlayer);
|
|
@@ -6211,10 +6223,9 @@
|
|
|
6211
6223
|
return __awaiter(this, void 0, void 0, function () {
|
|
6212
6224
|
var httpParams;
|
|
6213
6225
|
return __generator(this, function (_a) {
|
|
6214
|
-
httpParams = new i1.HttpParams();
|
|
6215
|
-
httpParams.set('file_type', format);
|
|
6226
|
+
httpParams = new i1.HttpParams().set('file_type', format);
|
|
6216
6227
|
if (isChess) {
|
|
6217
|
-
httpParams.set('isChess',
|
|
6228
|
+
httpParams = httpParams.set('isChess', true);
|
|
6218
6229
|
}
|
|
6219
6230
|
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament/" + tournamentId + "/table_file/", {
|
|
6220
6231
|
params: httpParams,
|
|
@@ -10912,6 +10923,7 @@
|
|
|
10912
10923
|
exports.OvertimeTypeLocalization = OvertimeTypeLocalization;
|
|
10913
10924
|
exports.PublicTeamApi = PublicTeamApi;
|
|
10914
10925
|
exports.PublicUserApi = PublicUserApi;
|
|
10926
|
+
exports.QualificationLocalization = QualificationLocalization;
|
|
10915
10927
|
exports.RUGBY_GAME_LOG_TYPE_POINTS = RUGBY_GAME_LOG_TYPE_POINTS;
|
|
10916
10928
|
exports.RUGBY_TEAM_LOG_TYPES = RUGBY_TEAM_LOG_TYPES;
|
|
10917
10929
|
exports.ReferenceApi = ReferenceApi;
|