@mtgame/core 0.0.4 → 0.0.5

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