@mtgame/core 0.1.148 → 0.1.150
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 +23 -0
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/models/tournament-team.js +22 -1
- package/fesm2015/mtgame-core.js +21 -1
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/tournament-team.d.ts +7 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -2927,6 +2927,27 @@
|
|
|
2927
2927
|
})
|
|
2928
2928
|
], exports.TournamentDivision);
|
|
2929
2929
|
|
|
2930
|
+
exports.TeamAdditionalData = /** @class */ (function () {
|
|
2931
|
+
function TeamAdditionalData() {
|
|
2932
|
+
}
|
|
2933
|
+
TeamAdditionalData.toFront = function (data) { };
|
|
2934
|
+
TeamAdditionalData.toBack = function (data) { };
|
|
2935
|
+
return TeamAdditionalData;
|
|
2936
|
+
}());
|
|
2937
|
+
__decorate([
|
|
2938
|
+
ToFrontHook
|
|
2939
|
+
], exports.TeamAdditionalData, "toFront", null);
|
|
2940
|
+
__decorate([
|
|
2941
|
+
ToBackHook
|
|
2942
|
+
], exports.TeamAdditionalData, "toBack", null);
|
|
2943
|
+
exports.TeamAdditionalData = __decorate([
|
|
2944
|
+
ModelInstance({
|
|
2945
|
+
mappingFields: {
|
|
2946
|
+
nickname: 'nickname',
|
|
2947
|
+
color: 'color',
|
|
2948
|
+
}
|
|
2949
|
+
})
|
|
2950
|
+
], exports.TeamAdditionalData);
|
|
2930
2951
|
exports.TournamentTeam = /** @class */ (function (_super) {
|
|
2931
2952
|
__extends(TournamentTeam, _super);
|
|
2932
2953
|
function TournamentTeam() {
|
|
@@ -2991,6 +3012,7 @@
|
|
|
2991
3012
|
tries_missed: 'triesMissed',
|
|
2992
3013
|
attack_bonuses: 'attackBonuses',
|
|
2993
3014
|
defense_bonuses: 'defenseBonuses',
|
|
3015
|
+
team_additional_data: 'teamAdditionalData',
|
|
2994
3016
|
},
|
|
2995
3017
|
relation: {
|
|
2996
3018
|
logo: exports.File,
|
|
@@ -3002,6 +3024,7 @@
|
|
|
3002
3024
|
games: exports.Game,
|
|
3003
3025
|
lastFiveGames: exports.Game,
|
|
3004
3026
|
division: exports.TournamentDivision,
|
|
3027
|
+
teamAdditionalData: exports.TeamAdditionalData,
|
|
3005
3028
|
}
|
|
3006
3029
|
})
|
|
3007
3030
|
], exports.TournamentTeam);
|