@mtgame/core 1.0.53 → 1.0.54
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 +8 -1
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/models/playoff.js +9 -2
- package/fesm2015/mtgame-core.js +9 -2
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/playoff.d.ts +5 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -2436,6 +2436,11 @@
|
|
|
2436
2436
|
PlayoffTypes["double_elimination"] = "double_elimination";
|
|
2437
2437
|
PlayoffTypes["elimination"] = "elimination";
|
|
2438
2438
|
})(exports.PlayoffTypes || (exports.PlayoffTypes = {}));
|
|
2439
|
+
exports.PlayoffFormationTypes = void 0;
|
|
2440
|
+
(function (PlayoffFormationTypes) {
|
|
2441
|
+
PlayoffFormationTypes["common"] = "common";
|
|
2442
|
+
PlayoffFormationTypes["by_standings"] = "by_standings";
|
|
2443
|
+
})(exports.PlayoffFormationTypes || (exports.PlayoffFormationTypes = {}));
|
|
2439
2444
|
exports.PlayoffSettings = /** @class */ (function (_super) {
|
|
2440
2445
|
__extends(PlayoffSettings, _super);
|
|
2441
2446
|
function PlayoffSettings() {
|
|
@@ -2460,11 +2465,13 @@
|
|
|
2460
2465
|
loser_final_rounds: 'loserFinalRounds',
|
|
2461
2466
|
teams_count: 'teamsCount',
|
|
2462
2467
|
type: 'type',
|
|
2468
|
+
formation_type: 'formationType',
|
|
2463
2469
|
min_player_games_count: 'minPlayerGamesCount',
|
|
2464
2470
|
min_player_time: 'minPlayerTime',
|
|
2465
2471
|
},
|
|
2466
2472
|
relation: {
|
|
2467
|
-
type: enumField(exports.PlayoffTypes)
|
|
2473
|
+
type: enumField(exports.PlayoffTypes),
|
|
2474
|
+
formationType: enumField(exports.PlayoffFormationTypes),
|
|
2468
2475
|
}
|
|
2469
2476
|
})
|
|
2470
2477
|
], exports.PlayoffSettings);
|