@mtgame/core 0.1.150 → 0.1.153
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 +24 -1
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/models/game.js +23 -2
- package/fesm2015/mtgame-core.js +22 -2
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/game.d.ts +7 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -2400,6 +2400,27 @@
|
|
|
2400
2400
|
GameResultTypes[GameResultTypes["competitor_team_technical_defeat"] = 4] = "competitor_team_technical_defeat";
|
|
2401
2401
|
GameResultTypes[GameResultTypes["draw"] = 5] = "draw";
|
|
2402
2402
|
})(exports.GameResultTypes || (exports.GameResultTypes = {}));
|
|
2403
|
+
exports.GameTeamAdditionalData = /** @class */ (function () {
|
|
2404
|
+
function GameTeamAdditionalData() {
|
|
2405
|
+
}
|
|
2406
|
+
GameTeamAdditionalData.toFront = function (data) { };
|
|
2407
|
+
GameTeamAdditionalData.toBack = function (data) { };
|
|
2408
|
+
return GameTeamAdditionalData;
|
|
2409
|
+
}());
|
|
2410
|
+
__decorate([
|
|
2411
|
+
ToFrontHook
|
|
2412
|
+
], exports.GameTeamAdditionalData, "toFront", null);
|
|
2413
|
+
__decorate([
|
|
2414
|
+
ToBackHook
|
|
2415
|
+
], exports.GameTeamAdditionalData, "toBack", null);
|
|
2416
|
+
exports.GameTeamAdditionalData = __decorate([
|
|
2417
|
+
ModelInstance({
|
|
2418
|
+
mappingFields: {
|
|
2419
|
+
nickname: 'nickname',
|
|
2420
|
+
color: 'color',
|
|
2421
|
+
}
|
|
2422
|
+
})
|
|
2423
|
+
], exports.GameTeamAdditionalData);
|
|
2403
2424
|
exports.TournamentTeamShort = /** @class */ (function (_super) {
|
|
2404
2425
|
__extends(TournamentTeamShort, _super);
|
|
2405
2426
|
function TournamentTeamShort() {
|
|
@@ -2421,9 +2442,11 @@
|
|
|
2421
2442
|
id: 'id',
|
|
2422
2443
|
name: 'name',
|
|
2423
2444
|
logo: 'logo',
|
|
2445
|
+
additional_data: 'additionalData',
|
|
2424
2446
|
},
|
|
2425
2447
|
relation: {
|
|
2426
|
-
logo: exports.File
|
|
2448
|
+
logo: exports.File,
|
|
2449
|
+
additionalData: exports.GameTeamAdditionalData,
|
|
2427
2450
|
}
|
|
2428
2451
|
})
|
|
2429
2452
|
], exports.TournamentTeamShort);
|