@mtgame/core 0.1.13 → 0.1.14
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 +28 -26
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/bundles/mtgame-core.umd.min.js +1 -1
- package/bundles/mtgame-core.umd.min.js.map +1 -1
- package/esm2015/models/game.js +4 -1
- package/esm5/models/game.js +4 -1
- package/fesm2015/mtgame-core.js +23 -21
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +28 -26
- package/fesm5/mtgame-core.js.map +1 -1
- package/models/game.d.ts +2 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
package/fesm5/mtgame-core.js
CHANGED
|
@@ -1679,6 +1679,32 @@ var Playoff = /** @class */ (function (_super) {
|
|
|
1679
1679
|
return Playoff;
|
|
1680
1680
|
}(BaseModel));
|
|
1681
1681
|
|
|
1682
|
+
var TournamentGroup = /** @class */ (function (_super) {
|
|
1683
|
+
__extends(TournamentGroup, _super);
|
|
1684
|
+
function TournamentGroup() {
|
|
1685
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1686
|
+
}
|
|
1687
|
+
TournamentGroup.toFront = function (data) { };
|
|
1688
|
+
TournamentGroup.toBack = function (data) { };
|
|
1689
|
+
__decorate([
|
|
1690
|
+
ToFrontHook
|
|
1691
|
+
], TournamentGroup, "toFront", null);
|
|
1692
|
+
__decorate([
|
|
1693
|
+
ToBackHook
|
|
1694
|
+
], TournamentGroup, "toBack", null);
|
|
1695
|
+
TournamentGroup = __decorate([
|
|
1696
|
+
ModelInstance({
|
|
1697
|
+
mappingFields: {
|
|
1698
|
+
id: 'id',
|
|
1699
|
+
name: 'name',
|
|
1700
|
+
sort: 'sort',
|
|
1701
|
+
tournament_stage_id: 'tournamentStageId'
|
|
1702
|
+
}
|
|
1703
|
+
})
|
|
1704
|
+
], TournamentGroup);
|
|
1705
|
+
return TournamentGroup;
|
|
1706
|
+
}(BaseModel));
|
|
1707
|
+
|
|
1682
1708
|
var GameStatuses;
|
|
1683
1709
|
(function (GameStatuses) {
|
|
1684
1710
|
GameStatuses[GameStatuses["open"] = 1] = "open";
|
|
@@ -1796,6 +1822,7 @@ var Game = /** @class */ (function (_super) {
|
|
|
1796
1822
|
media_live_count: 'mediaLiveCount',
|
|
1797
1823
|
media: 'media',
|
|
1798
1824
|
tournament: 'tournament',
|
|
1825
|
+
tournament_group: 'tournamentGroup',
|
|
1799
1826
|
},
|
|
1800
1827
|
relation: {
|
|
1801
1828
|
status: enumField(GameStatuses),
|
|
@@ -1812,6 +1839,7 @@ var Game = /** @class */ (function (_super) {
|
|
|
1812
1839
|
tournamentCourt: LeagueCourt,
|
|
1813
1840
|
media: listField(MediaItem),
|
|
1814
1841
|
tournament: Tournament,
|
|
1842
|
+
tournamentGroup: TournamentGroup,
|
|
1815
1843
|
}
|
|
1816
1844
|
})
|
|
1817
1845
|
], Game);
|
|
@@ -2029,32 +2057,6 @@ var ConfigService = /** @class */ (function (_super) {
|
|
|
2029
2057
|
return ConfigService;
|
|
2030
2058
|
}(BaseService));
|
|
2031
2059
|
|
|
2032
|
-
var TournamentGroup = /** @class */ (function (_super) {
|
|
2033
|
-
__extends(TournamentGroup, _super);
|
|
2034
|
-
function TournamentGroup() {
|
|
2035
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
2036
|
-
}
|
|
2037
|
-
TournamentGroup.toFront = function (data) { };
|
|
2038
|
-
TournamentGroup.toBack = function (data) { };
|
|
2039
|
-
__decorate([
|
|
2040
|
-
ToFrontHook
|
|
2041
|
-
], TournamentGroup, "toFront", null);
|
|
2042
|
-
__decorate([
|
|
2043
|
-
ToBackHook
|
|
2044
|
-
], TournamentGroup, "toBack", null);
|
|
2045
|
-
TournamentGroup = __decorate([
|
|
2046
|
-
ModelInstance({
|
|
2047
|
-
mappingFields: {
|
|
2048
|
-
id: 'id',
|
|
2049
|
-
name: 'name',
|
|
2050
|
-
sort: 'sort',
|
|
2051
|
-
tournament_stage_id: 'tournamentStageId'
|
|
2052
|
-
}
|
|
2053
|
-
})
|
|
2054
|
-
], TournamentGroup);
|
|
2055
|
-
return TournamentGroup;
|
|
2056
|
-
}(BaseModel));
|
|
2057
|
-
|
|
2058
2060
|
var TournamentTeam = /** @class */ (function (_super) {
|
|
2059
2061
|
__extends(TournamentTeam, _super);
|
|
2060
2062
|
function TournamentTeam() {
|