@mtgame/core 0.1.12 → 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 -25
- 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/esm2015/models/tournament-group.js +2 -1
- package/esm5/models/game.js +4 -1
- package/esm5/models/tournament-group.js +2 -1
- package/fesm2015/mtgame-core.js +23 -20
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +28 -25
- package/fesm5/mtgame-core.js.map +1 -1
- package/models/game.d.ts +2 -0
- package/models/tournament-group.d.ts +1 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -1892,6 +1892,32 @@
|
|
|
1892
1892
|
return Playoff;
|
|
1893
1893
|
}(BaseModel));
|
|
1894
1894
|
|
|
1895
|
+
var TournamentGroup = /** @class */ (function (_super) {
|
|
1896
|
+
__extends(TournamentGroup, _super);
|
|
1897
|
+
function TournamentGroup() {
|
|
1898
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1899
|
+
}
|
|
1900
|
+
TournamentGroup.toFront = function (data) { };
|
|
1901
|
+
TournamentGroup.toBack = function (data) { };
|
|
1902
|
+
__decorate([
|
|
1903
|
+
ToFrontHook
|
|
1904
|
+
], TournamentGroup, "toFront", null);
|
|
1905
|
+
__decorate([
|
|
1906
|
+
ToBackHook
|
|
1907
|
+
], TournamentGroup, "toBack", null);
|
|
1908
|
+
TournamentGroup = __decorate([
|
|
1909
|
+
ModelInstance({
|
|
1910
|
+
mappingFields: {
|
|
1911
|
+
id: 'id',
|
|
1912
|
+
name: 'name',
|
|
1913
|
+
sort: 'sort',
|
|
1914
|
+
tournament_stage_id: 'tournamentStageId'
|
|
1915
|
+
}
|
|
1916
|
+
})
|
|
1917
|
+
], TournamentGroup);
|
|
1918
|
+
return TournamentGroup;
|
|
1919
|
+
}(BaseModel));
|
|
1920
|
+
|
|
1895
1921
|
|
|
1896
1922
|
(function (GameStatuses) {
|
|
1897
1923
|
GameStatuses[GameStatuses["open"] = 1] = "open";
|
|
@@ -2009,6 +2035,7 @@
|
|
|
2009
2035
|
media_live_count: 'mediaLiveCount',
|
|
2010
2036
|
media: 'media',
|
|
2011
2037
|
tournament: 'tournament',
|
|
2038
|
+
tournament_group: 'tournamentGroup',
|
|
2012
2039
|
},
|
|
2013
2040
|
relation: {
|
|
2014
2041
|
status: enumField(exports.GameStatuses),
|
|
@@ -2025,6 +2052,7 @@
|
|
|
2025
2052
|
tournamentCourt: LeagueCourt,
|
|
2026
2053
|
media: listField(MediaItem),
|
|
2027
2054
|
tournament: Tournament,
|
|
2055
|
+
tournamentGroup: TournamentGroup,
|
|
2028
2056
|
}
|
|
2029
2057
|
})
|
|
2030
2058
|
], Game);
|
|
@@ -2242,31 +2270,6 @@
|
|
|
2242
2270
|
return ConfigService;
|
|
2243
2271
|
}(BaseService));
|
|
2244
2272
|
|
|
2245
|
-
var TournamentGroup = /** @class */ (function (_super) {
|
|
2246
|
-
__extends(TournamentGroup, _super);
|
|
2247
|
-
function TournamentGroup() {
|
|
2248
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
2249
|
-
}
|
|
2250
|
-
TournamentGroup.toFront = function (data) { };
|
|
2251
|
-
TournamentGroup.toBack = function (data) { };
|
|
2252
|
-
__decorate([
|
|
2253
|
-
ToFrontHook
|
|
2254
|
-
], TournamentGroup, "toFront", null);
|
|
2255
|
-
__decorate([
|
|
2256
|
-
ToBackHook
|
|
2257
|
-
], TournamentGroup, "toBack", null);
|
|
2258
|
-
TournamentGroup = __decorate([
|
|
2259
|
-
ModelInstance({
|
|
2260
|
-
mappingFields: {
|
|
2261
|
-
id: 'id',
|
|
2262
|
-
name: 'name',
|
|
2263
|
-
tournament_stage_id: 'tournamentStageId'
|
|
2264
|
-
}
|
|
2265
|
-
})
|
|
2266
|
-
], TournamentGroup);
|
|
2267
|
-
return TournamentGroup;
|
|
2268
|
-
}(BaseModel));
|
|
2269
|
-
|
|
2270
2273
|
var TournamentTeam = /** @class */ (function (_super) {
|
|
2271
2274
|
__extends(TournamentTeam, _super);
|
|
2272
2275
|
function TournamentTeam() {
|