@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.
@@ -726,6 +726,7 @@ var League = /** @class */ (function (_super) {
726
726
  tournaments_count: 'tournamentsCount',
727
727
  closest_game_datetime: 'closestGameDatetime',
728
728
  cover: 'cover',
729
+ about: 'about',
729
730
  },
730
731
  relation: {
731
732
  organization: Organization,
@@ -762,6 +763,11 @@ var BasketballStatisticTypes;
762
763
  BasketballStatisticTypes[BasketballStatisticTypes["light"] = 2] = "light";
763
764
  BasketballStatisticTypes[BasketballStatisticTypes["extended"] = 3] = "extended";
764
765
  })(BasketballStatisticTypes || (BasketballStatisticTypes = {}));
766
+ var GameTimeTypes;
767
+ (function (GameTimeTypes) {
768
+ GameTimeTypes[GameTimeTypes["clean"] = 1] = "clean";
769
+ GameTimeTypes[GameTimeTypes["dirty"] = 2] = "dirty";
770
+ })(GameTimeTypes || (GameTimeTypes = {}));
765
771
  var TournamentSettings = /** @class */ (function (_super) {
766
772
  __extends(TournamentSettings, _super);
767
773
  function TournamentSettings() {
@@ -803,11 +809,13 @@ var TournamentSettings = /** @class */ (function (_super) {
803
809
  transfer_is_open: 'transferIsOpen',
804
810
  basketball_statistic_type: 'basketballStatisticType',
805
811
  shot_clock_enabled: 'shotClockEnabled',
812
+ game_time_type: 'gameTimeType',
806
813
  },
807
814
  relation: {
808
815
  type: enumField(TournamentTypes),
809
816
  gender: enumField(TournamentGender),
810
817
  basketballStatisticType: enumField(BasketballStatisticTypes),
818
+ gameTimeType: enumField(GameTimeTypes),
811
819
  }
812
820
  })
813
821
  ], TournamentSettings);
@@ -938,11 +946,13 @@ var BasketballGameConfig = /** @class */ (function (_super) {
938
946
  overtime_timeout_count: 'overtimeTimeoutCount',
939
947
  timeout_time: 'timeoutTime',
940
948
  statistic_type: 'statisticType',
941
- shot_clock_enabled: 'shotClockEnabled'
949
+ shot_clock_enabled: 'shotClockEnabled',
950
+ game_time_type: 'gameTimeType',
942
951
  },
943
952
  relation: {
944
953
  overtimeType: enumField(OvertimeTypes),
945
- statisticType: enumField(BasketballStatisticTypes)
954
+ statisticType: enumField(BasketballStatisticTypes),
955
+ gameTimeType: enumField(GameTimeTypes),
946
956
  }
947
957
  })
948
958
  ], BasketballGameConfig);
@@ -2247,7 +2257,7 @@ var LeagueNewsApi = /** @class */ (function () {
2247
2257
  LeagueNewsApi.prototype.getNewsById = function (newsId) {
2248
2258
  return __awaiter(this, void 0, void 0, function () {
2249
2259
  return __generator(this, function (_a) {
2250
- return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/league_news/" + newsId)
2260
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/league_news/" + newsId + "/")
2251
2261
  .pipe(map(function (response) { return LeagueNews.toFront(response); }))
2252
2262
  .toPromise()];
2253
2263
  });
@@ -5691,5 +5701,5 @@ var HttpCookieInterceptor = /** @class */ (function () {
5691
5701
  * Generated bundle index. Do not edit.
5692
5702
  */
5693
5703
 
5694
- export { BaseModel, BaseService, BasketballGameApi, BasketballGameConfig, BasketballGameLog, BasketballGameLogTypeLocalization, BasketballGameLogTypes, BasketballGameStatistic, BasketballGameTeamStatistic, BasketballProfile, BasketballStatistic, BasketballStatisticTypes, CONFIG_DATA, CentrifugoService, City, ConfigService, DateField, DateTimeField, FAULT_LOG_TYPES, Feedback, FeedbackApi, File, FileApi, FileEngine, Game, GameBasketballPosition, GameBasketballPositionLocalization, GameBasketballPositionShortLocalization, GameInvite, GameInviteStatus, GameResultTypes, GameStatuses, GameTimelineStageItem, GameTimelineStages, GameUser, GameVolleyballPosition, GameVolleyballPositionLocalization, GameVolleyballPositionShortLocalization, GameVolleyballPositionShortRuLocalization, HttpCookieInterceptor, League, LeagueApi, LeagueCourt, LeagueNews, LeagueNewsApi, LocalStorageEngine, MediaApi, MediaItem, ModelInstance, Notification, NotificationAllowTypes, NotificationApi, NotificationBaseApi, NotificationServiceEnum, NotificationSettings, NotificationType, OrgNotificationApi, Organization, OvertimeTypeLocalization, OvertimeTypes, Playoff, PlayoffSettings, Poll, PollAnswer, PollStatuses, PollVariant, ReferenceApi, SCORE_LOG_TYPES, Sport, SportTypes, StorageEngine, StorageEngineField, Store, Team, TeamAccess, TeamApi, TeamEvent, TeamEventApi, TeamEventInvite, TeamEventInviteStatuses, TeamEventTypeLocalization, TeamEventTypes, TeamInvite, TeamInviteExternal, TeamPermission, TeamPermissionTypes, TeamUser, TeamUserRole, TeamUserRoleLocalization, ToBackHook, ToFrontHook, Tournament, TournamentApi, TournamentDisqualification, TournamentEvent, TournamentEventTypes, TournamentGender, TournamentGroup, TournamentInvite, TournamentJoinApi, TournamentJoinData, TournamentJoinTeam, TournamentNews, TournamentSettings, TournamentStage, TournamentStageApi, TournamentStageStatuses, TournamentStageTeam, TournamentStatuses, TournamentTeam, TournamentTeamUser, TournamentTeamUserInvite, TournamentTeamWinner, TournamentTypes, UntilDestroy, User, UserAccess, UserApi, UserGender, UserPermission, UserPermissionTypes, UserProfile, VolleyballGameApi, VolleyballGameConfig, VolleyballGameLog, VolleyballGameLogType, VolleyballGameLogTypeLocalization, VolleyballGameStatistic, VolleyballGameTeamStatistic, VolleyballGameTypes, VolleyballProfile, VolleyballStatistic, VolleyballWorkHand, VolleyballWorkHandLocalization, WorkHand, WorkHandLocalization, addItemInArray, changeFavicons, componentDestroyed, deleteItemFromArray, enumField, fileSizeValidator, generateArray, getArrayChunks, getCookie, getEnumOptions, getIconsData, handleError, isTouchDevice, listField, markFormGroupTouched, minLengthArrayValidator, patchItemInArray, updateItemInArray, updateItemsInArray, validateDate, validateEmail, validatePhone, validateUrl };
5704
+ export { BaseModel, BaseService, BasketballGameApi, BasketballGameConfig, BasketballGameLog, BasketballGameLogTypeLocalization, BasketballGameLogTypes, BasketballGameStatistic, BasketballGameTeamStatistic, BasketballProfile, BasketballStatistic, BasketballStatisticTypes, CONFIG_DATA, CentrifugoService, City, ConfigService, DateField, DateTimeField, FAULT_LOG_TYPES, Feedback, FeedbackApi, File, FileApi, FileEngine, Game, GameBasketballPosition, GameBasketballPositionLocalization, GameBasketballPositionShortLocalization, GameInvite, GameInviteStatus, GameResultTypes, GameStatuses, GameTimeTypes, GameTimelineStageItem, GameTimelineStages, GameUser, GameVolleyballPosition, GameVolleyballPositionLocalization, GameVolleyballPositionShortLocalization, GameVolleyballPositionShortRuLocalization, HttpCookieInterceptor, League, LeagueApi, LeagueCourt, LeagueNews, LeagueNewsApi, LocalStorageEngine, MediaApi, MediaItem, ModelInstance, Notification, NotificationAllowTypes, NotificationApi, NotificationBaseApi, NotificationServiceEnum, NotificationSettings, NotificationType, OrgNotificationApi, Organization, OvertimeTypeLocalization, OvertimeTypes, Playoff, PlayoffSettings, Poll, PollAnswer, PollStatuses, PollVariant, ReferenceApi, SCORE_LOG_TYPES, Sport, SportTypes, StorageEngine, StorageEngineField, Store, Team, TeamAccess, TeamApi, TeamEvent, TeamEventApi, TeamEventInvite, TeamEventInviteStatuses, TeamEventTypeLocalization, TeamEventTypes, TeamInvite, TeamInviteExternal, TeamPermission, TeamPermissionTypes, TeamUser, TeamUserRole, TeamUserRoleLocalization, ToBackHook, ToFrontHook, Tournament, TournamentApi, TournamentDisqualification, TournamentEvent, TournamentEventTypes, TournamentGender, TournamentGroup, TournamentInvite, TournamentJoinApi, TournamentJoinData, TournamentJoinTeam, TournamentNews, TournamentSettings, TournamentStage, TournamentStageApi, TournamentStageStatuses, TournamentStageTeam, TournamentStatuses, TournamentTeam, TournamentTeamUser, TournamentTeamUserInvite, TournamentTeamWinner, TournamentTypes, UntilDestroy, User, UserAccess, UserApi, UserGender, UserPermission, UserPermissionTypes, UserProfile, VolleyballGameApi, VolleyballGameConfig, VolleyballGameLog, VolleyballGameLogType, VolleyballGameLogTypeLocalization, VolleyballGameStatistic, VolleyballGameTeamStatistic, VolleyballGameTypes, VolleyballProfile, VolleyballStatistic, VolleyballWorkHand, VolleyballWorkHandLocalization, WorkHand, WorkHandLocalization, addItemInArray, changeFavicons, componentDestroyed, deleteItemFromArray, enumField, fileSizeValidator, generateArray, getArrayChunks, getCookie, getEnumOptions, getIconsData, handleError, isTouchDevice, listField, markFormGroupTouched, minLengthArrayValidator, patchItemInArray, updateItemInArray, updateItemsInArray, validateDate, validateEmail, validatePhone, validateUrl };
5695
5705
  //# sourceMappingURL=mtgame-core.js.map