@mtgame/core 0.0.4 → 0.0.6

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.
@@ -939,6 +939,7 @@
939
939
  tournaments_count: 'tournamentsCount',
940
940
  closest_game_datetime: 'closestGameDatetime',
941
941
  cover: 'cover',
942
+ about: 'about',
942
943
  },
943
944
  relation: {
944
945
  organization: Organization,
@@ -975,6 +976,11 @@
975
976
  BasketballStatisticTypes[BasketballStatisticTypes["light"] = 2] = "light";
976
977
  BasketballStatisticTypes[BasketballStatisticTypes["extended"] = 3] = "extended";
977
978
  })(exports.BasketballStatisticTypes || (exports.BasketballStatisticTypes = {}));
979
+
980
+ (function (GameTimeTypes) {
981
+ GameTimeTypes[GameTimeTypes["clean"] = 1] = "clean";
982
+ GameTimeTypes[GameTimeTypes["dirty"] = 2] = "dirty";
983
+ })(exports.GameTimeTypes || (exports.GameTimeTypes = {}));
978
984
  var TournamentSettings = /** @class */ (function (_super) {
979
985
  __extends(TournamentSettings, _super);
980
986
  function TournamentSettings() {
@@ -1016,11 +1022,13 @@
1016
1022
  transfer_is_open: 'transferIsOpen',
1017
1023
  basketball_statistic_type: 'basketballStatisticType',
1018
1024
  shot_clock_enabled: 'shotClockEnabled',
1025
+ game_time_type: 'gameTimeType',
1019
1026
  },
1020
1027
  relation: {
1021
1028
  type: enumField(exports.TournamentTypes),
1022
1029
  gender: enumField(exports.TournamentGender),
1023
1030
  basketballStatisticType: enumField(exports.BasketballStatisticTypes),
1031
+ gameTimeType: enumField(exports.GameTimeTypes),
1024
1032
  }
1025
1033
  })
1026
1034
  ], TournamentSettings);
@@ -1151,11 +1159,13 @@
1151
1159
  overtime_timeout_count: 'overtimeTimeoutCount',
1152
1160
  timeout_time: 'timeoutTime',
1153
1161
  statistic_type: 'statisticType',
1154
- shot_clock_enabled: 'shotClockEnabled'
1162
+ shot_clock_enabled: 'shotClockEnabled',
1163
+ game_time_type: 'gameTimeType',
1155
1164
  },
1156
1165
  relation: {
1157
1166
  overtimeType: enumField(exports.OvertimeTypes),
1158
- statisticType: enumField(exports.BasketballStatisticTypes)
1167
+ statisticType: enumField(exports.BasketballStatisticTypes),
1168
+ gameTimeType: enumField(exports.GameTimeTypes),
1159
1169
  }
1160
1170
  })
1161
1171
  ], BasketballGameConfig);
@@ -2460,7 +2470,7 @@
2460
2470
  LeagueNewsApi.prototype.getNewsById = function (newsId) {
2461
2471
  return __awaiter(this, void 0, void 0, function () {
2462
2472
  return __generator(this, function (_a) {
2463
- return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/league_news/" + newsId)
2473
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/league_news/" + newsId + "/")
2464
2474
  .pipe(operators.map(function (response) { return LeagueNews.toFront(response); }))
2465
2475
  .toPromise()];
2466
2476
  });