@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.
@@ -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,32 +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
- sort: 'sort',
2264
- tournament_stage_id: 'tournamentStageId'
2265
- }
2266
- })
2267
- ], TournamentGroup);
2268
- return TournamentGroup;
2269
- }(BaseModel));
2270
-
2271
2273
  var TournamentTeam = /** @class */ (function (_super) {
2272
2274
  __extends(TournamentTeam, _super);
2273
2275
  function TournamentTeam() {