@mtgame/core 0.2.26 → 2.0.0
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/api/basketball-game-api.d.ts +3 -0
- package/api/feedback-api.d.ts +5 -2
- package/api/file-api.d.ts +3 -0
- package/api/football-game-api.d.ts +3 -0
- package/api/game-base-api.d.ts +3 -0
- package/api/handball-game-api.d.ts +3 -0
- package/api/hockey-game-api.d.ts +3 -0
- package/api/league-api.d.ts +3 -0
- package/api/league-news-api.d.ts +3 -0
- package/api/league-player-api.d.ts +3 -0
- package/api/media-api.d.ts +5 -2
- package/api/notification-api.d.ts +3 -0
- package/api/notification-base-api.d.ts +3 -0
- package/api/org-notification-api.d.ts +3 -0
- package/api/public-team-api.d.ts +3 -2
- package/api/public-user-api.d.ts +3 -0
- package/api/reference-api.d.ts +3 -0
- package/api/rugby-game-api.d.ts +3 -0
- package/api/team-api.d.ts +4 -1
- package/api/team-event-api.d.ts +3 -0
- package/api/tournament-api.d.ts +3 -2
- package/api/tournament-join-api.d.ts +3 -0
- package/api/tournament-round-api.d.ts +3 -0
- package/api/tournament-season-api.d.ts +3 -0
- package/api/tournament-stage-api.d.ts +3 -0
- package/api/user-api.d.ts +5 -2
- package/api/volleyball-game-api.d.ts +3 -1
- package/api/waterpolo-game-api.d.ts +3 -0
- package/esm2020/api/basketball-game-api.mjs +44 -0
- package/esm2020/api/feedback-api.mjs +29 -0
- package/esm2020/api/file-api.mjs +41 -0
- package/esm2020/api/football-game-api.mjs +49 -0
- package/esm2020/api/game-base-api.mjs +40 -0
- package/esm2020/api/handball-game-api.mjs +49 -0
- package/esm2020/api/hockey-game-api.mjs +49 -0
- package/esm2020/api/league-api.mjs +119 -0
- package/esm2020/api/league-news-api.mjs +57 -0
- package/esm2020/api/league-player-api.mjs +31 -0
- package/esm2020/api/media-api.mjs +124 -0
- package/esm2020/api/notification-api.mjs +16 -0
- package/esm2020/api/notification-base-api.mjs +62 -0
- package/esm2020/api/org-notification-api.mjs +16 -0
- package/{esm2015/api/paginated-response.interface.js → esm2020/api/paginated-response.interface.mjs} +0 -0
- package/{esm2015/api/public-api.js → esm2020/api/public-api.mjs} +0 -0
- package/esm2020/api/public-team-api.mjs +28 -0
- package/esm2020/api/public-user-api.mjs +38 -0
- package/esm2020/api/reference-api.mjs +30 -0
- package/esm2020/api/rugby-game-api.mjs +47 -0
- package/esm2020/api/team-api.mjs +302 -0
- package/esm2020/api/team-event-api.mjs +61 -0
- package/esm2020/api/tournament-api.mjs +391 -0
- package/esm2020/api/tournament-join-api.mjs +55 -0
- package/esm2020/api/tournament-round-api.mjs +57 -0
- package/esm2020/api/tournament-season-api.mjs +92 -0
- package/esm2020/api/tournament-stage-api.mjs +48 -0
- package/esm2020/api/user-api.mjs +219 -0
- package/esm2020/api/volleyball-game-api.mjs +49 -0
- package/esm2020/api/waterpolo-game-api.mjs +49 -0
- package/esm2020/http-cookie.interceptor.mjs +38 -0
- package/{esm2015/localization/basketball-game-log-types.js → esm2020/localization/basketball-game-log-types.mjs} +0 -0
- package/{esm2015/localization/basketball-game-sub-log-types.js → esm2020/localization/basketball-game-sub-log-types.mjs} +2 -5
- package/{esm2015/localization/football-game-log-types.js → esm2020/localization/football-game-log-types.mjs} +0 -0
- package/{esm2015/localization/handball-game-log-types.js → esm2020/localization/handball-game-log-types.mjs} +0 -0
- package/{esm2015/localization/hockey-game-log-types.js → esm2020/localization/hockey-game-log-types.mjs} +2 -5
- package/esm2020/localization/hockey-penalty-types.mjs +50 -0
- package/{esm2015/localization/organization-statuses.js → esm2020/localization/organization-statuses.mjs} +0 -0
- package/{esm2015/localization/overtime-types.js → esm2020/localization/overtime-types.mjs} +0 -0
- package/{esm2015/localization/public-api.js → esm2020/localization/public-api.mjs} +0 -0
- package/{esm2015/localization/rugby-foul-game-stage.js → esm2020/localization/rugby-foul-game-stage.mjs} +0 -0
- package/{esm2015/localization/rugby-foul-sanction.js → esm2020/localization/rugby-foul-sanction.mjs} +0 -0
- package/{esm2015/localization/rugby-game-log-types.js → esm2020/localization/rugby-game-log-types.mjs} +0 -0
- package/{esm2015/localization/team-event-type.js → esm2020/localization/team-event-type.mjs} +0 -0
- package/{esm2015/localization/team-user-role.js → esm2020/localization/team-user-role.mjs} +0 -0
- package/{esm2015/localization/user-profile.js → esm2020/localization/user-profile.mjs} +0 -0
- package/{esm2015/localization/volleyball-game-log-types.js → esm2020/localization/volleyball-game-log-types.mjs} +0 -0
- package/{esm2015/localization/waterpolo-game-log-types.js → esm2020/localization/waterpolo-game-log-types.mjs} +3 -3
- package/esm2020/models/achievement.mjs +18 -0
- package/esm2020/models/base-statistic.mjs +4 -0
- package/esm2020/models/basketball-game-config.mjs +18 -0
- package/esm2020/models/basketball-game-log.mjs +158 -0
- package/esm2020/models/basketball-game-statistic.mjs +47 -0
- package/esm2020/models/basketball-game-team-statistic.mjs +15 -0
- package/esm2020/models/basketball-profile.mjs +27 -0
- package/esm2020/models/basketball-statistic.mjs +62 -0
- package/esm2020/models/city.mjs +9 -0
- package/esm2020/models/feedback.mjs +14 -0
- package/esm2020/models/file.mjs +31 -0
- package/esm2020/models/football-game-config.mjs +22 -0
- package/esm2020/models/football-game-log.mjs +83 -0
- package/esm2020/models/football-game-statistic.mjs +93 -0
- package/esm2020/models/football-game-team-statistic.mjs +15 -0
- package/esm2020/models/football-profile.mjs +27 -0
- package/esm2020/models/football-statistic.mjs +76 -0
- package/esm2020/models/game-bill.mjs +30 -0
- package/esm2020/models/game-config-base.mjs +4 -0
- package/esm2020/models/game-invite.mjs +22 -0
- package/esm2020/models/game-log-base.mjs +4 -0
- package/esm2020/models/game-statistic-base.mjs +7 -0
- package/{esm2015/models/game-team-statistic-base.js → esm2020/models/game-team-statistic-base.mjs} +0 -0
- package/esm2020/models/game-timeline-stages.mjs +19 -0
- package/esm2020/models/game-user-disqualification.mjs +14 -0
- package/esm2020/models/game-user-limitation.mjs +19 -0
- package/esm2020/models/game-user.mjs +20 -0
- package/esm2020/models/game.mjs +188 -0
- package/esm2020/models/handball-game-config.mjs +16 -0
- package/esm2020/models/handball-game-log.mjs +71 -0
- package/esm2020/models/handball-game-statistic.mjs +67 -0
- package/esm2020/models/handball-game-team-statistic.mjs +15 -0
- package/esm2020/models/handball-profile.mjs +23 -0
- package/esm2020/models/handball-statistic.mjs +37 -0
- package/esm2020/models/hockey-game-config.mjs +25 -0
- package/esm2020/models/hockey-game-log.mjs +102 -0
- package/esm2020/models/hockey-game-statistic.mjs +101 -0
- package/esm2020/models/hockey-game-team-statistic.mjs +15 -0
- package/esm2020/models/hockey-penalty-types.mjs +6 -0
- package/esm2020/models/hockey-profile.mjs +25 -0
- package/esm2020/models/hockey-statistic.mjs +49 -0
- package/esm2020/models/league-banner.mjs +21 -0
- package/esm2020/models/league-court.mjs +9 -0
- package/esm2020/models/league-document.mjs +14 -0
- package/esm2020/models/league-news.mjs +25 -0
- package/esm2020/models/league-partner.mjs +14 -0
- package/esm2020/models/league-player.mjs +81 -0
- package/esm2020/models/league-playlist.mjs +14 -0
- package/esm2020/models/league-user.mjs +38 -0
- package/esm2020/models/league.mjs +38 -0
- package/esm2020/models/media-item.mjs +20 -0
- package/esm2020/models/notification-settings.mjs +20 -0
- package/esm2020/models/notification.mjs +105 -0
- package/esm2020/models/organization-bill.mjs +31 -0
- package/esm2020/models/organization-statistic.mjs +9 -0
- package/esm2020/models/organization-tariff.mjs +16 -0
- package/esm2020/models/organization.mjs +21 -0
- package/esm2020/models/playoff.mjs +56 -0
- package/esm2020/models/poll.mjs +83 -0
- package/esm2020/models/public-api.mjs +110 -0
- package/esm2020/models/rugby-foul-type.mjs +39 -0
- package/esm2020/models/rugby-game-config.mjs +23 -0
- package/esm2020/models/rugby-game-log.mjs +120 -0
- package/esm2020/models/rugby-game-statistic.mjs +29 -0
- package/esm2020/models/rugby-game-team-statistic.mjs +15 -0
- package/esm2020/models/rugby-profile.mjs +22 -0
- package/esm2020/models/rugby-statistic.mjs +37 -0
- package/esm2020/models/season-tournament.mjs +9 -0
- package/esm2020/models/sport.mjs +96 -0
- package/esm2020/models/team-access.mjs +14 -0
- package/esm2020/models/team-achievement.mjs +18 -0
- package/esm2020/models/team-event-invite.mjs +18 -0
- package/{esm2015/models/team-event-type.js → esm2020/models/team-event-type.mjs} +0 -0
- package/esm2020/models/team-event.mjs +27 -0
- package/esm2020/models/team-invite-external.mjs +9 -0
- package/esm2020/models/team-invite.mjs +18 -0
- package/esm2020/models/team-permission.mjs +23 -0
- package/esm2020/models/team-user.mjs +30 -0
- package/esm2020/models/team.mjs +46 -0
- package/esm2020/models/teams-and-users.mjs +20 -0
- package/esm2020/models/tournament-disqualification.mjs +14 -0
- package/esm2020/models/tournament-division.mjs +14 -0
- package/esm2020/models/tournament-event.mjs +28 -0
- package/esm2020/models/tournament-group.mjs +9 -0
- package/esm2020/models/tournament-invite.mjs +21 -0
- package/esm2020/models/tournament-join-team.mjs +27 -0
- package/esm2020/models/tournament-join1x1-data.mjs +15 -0
- package/esm2020/models/tournament-news.mjs +17 -0
- package/esm2020/models/tournament-round-team.mjs +40 -0
- package/esm2020/models/tournament-round.mjs +22 -0
- package/esm2020/models/tournament-season.mjs +25 -0
- package/esm2020/models/tournament-stage-team.mjs +22 -0
- package/esm2020/models/tournament-stage.mjs +20 -0
- package/esm2020/models/tournament-team-user-invite.mjs +14 -0
- package/esm2020/models/tournament-team-user.mjs +20 -0
- package/esm2020/models/tournament-team.mjs +28 -0
- package/esm2020/models/tournament.mjs +153 -0
- package/esm2020/models/user-access.mjs +9 -0
- package/esm2020/models/user-permission.mjs +23 -0
- package/esm2020/models/user-profile.mjs +9 -0
- package/esm2020/models/user.mjs +55 -0
- package/esm2020/models/util.mjs +143 -0
- package/esm2020/models/volleyball-game-config.mjs +27 -0
- package/esm2020/models/volleyball-game-log.mjs +124 -0
- package/esm2020/models/volleyball-game-statistic.mjs +34 -0
- package/esm2020/models/volleyball-game-team-statistic.mjs +15 -0
- package/esm2020/models/volleyball-profile.mjs +27 -0
- package/esm2020/models/volleyball-statistic.mjs +44 -0
- package/esm2020/models/waterpolo-game-config.mjs +25 -0
- package/esm2020/models/waterpolo-game-log.mjs +142 -0
- package/esm2020/models/waterpolo-game-statistic.mjs +472 -0
- package/esm2020/models/waterpolo-game-team-statistic.mjs +15 -0
- package/esm2020/models/waterpolo-profile.mjs +26 -0
- package/esm2020/models/waterpolo-statistic.mjs +57 -0
- package/{esm2015/mtgame-core.js → esm2020/mtgame-core.mjs} +0 -0
- package/{esm2015/public-api.js → esm2020/public-api.mjs} +2 -1
- package/esm2020/services/base.controller.mjs +19 -0
- package/esm2020/services/base.service.mjs +18 -0
- package/esm2020/services/centrifugo.service.mjs +105 -0
- package/esm2020/services/config.service.mjs +44 -0
- package/{esm2015/services/public-api.js → esm2020/services/public-api.mjs} +2 -1
- package/esm2020/storage/local-storage-engine.mjs +18 -0
- package/esm2020/storage/new.mjs +46 -0
- package/esm2020/storage/old-local-storage-engine.mjs +18 -0
- package/esm2020/storage/old-storage-engine.mjs +49 -0
- package/esm2020/storage/public-api.mjs +7 -0
- package/esm2020/storage/storage-engine.mjs +47 -0
- package/{esm2015/storage/store.js → esm2020/storage/store.mjs} +1 -1
- package/{esm2015/utils/array.js → esm2020/utils/array.mjs} +0 -0
- package/esm2020/utils/component-destroyed.mjs +27 -0
- package/{esm2015/utils/cookie.js → esm2020/utils/cookie.mjs} +0 -0
- package/esm2020/utils/data.mjs +164 -0
- package/{esm2015/utils/date.js → esm2020/utils/date.mjs} +0 -0
- package/{esm2015/utils/device.js → esm2020/utils/device.mjs} +0 -0
- package/{esm2015/utils/enum.js → esm2020/utils/enum.mjs} +0 -0
- package/{esm2015/utils/errors.js → esm2020/utils/errors.mjs} +2 -4
- package/{esm2015/utils/favicon.js → esm2020/utils/favicon.mjs} +0 -0
- package/{esm2015/utils/form.js → esm2020/utils/form.mjs} +0 -0
- package/{esm2015/utils/public-api.js → esm2020/utils/public-api.mjs} +0 -0
- package/{esm2015/utils/validators.js → esm2020/utils/validators.mjs} +0 -0
- package/esm2020/websocket/game.websocket.mjs +61 -0
- package/esm2020/websocket/public-api.mjs +2 -0
- package/fesm2015/{mtgame-core.js → mtgame-core.mjs} +1665 -4848
- package/fesm2015/mtgame-core.mjs.map +1 -0
- package/fesm2020/mtgame-core.mjs +7270 -0
- package/fesm2020/mtgame-core.mjs.map +1 -0
- package/http-cookie.interceptor.d.ts +3 -0
- package/localization/basketball-game-sub-log-types.d.ts +0 -3
- package/localization/football-game-log-types.d.ts +29 -29
- package/localization/hockey-game-log-types.d.ts +0 -3
- package/localization/hockey-penalty-types.d.ts +2 -5
- package/models/achievement.d.ts +0 -2
- package/models/base-statistic.d.ts +2 -1
- package/models/basketball-game-config.d.ts +2 -4
- package/models/basketball-game-log.d.ts +2 -9
- package/models/basketball-game-statistic.d.ts +1 -4
- package/models/basketball-game-team-statistic.d.ts +0 -2
- package/models/basketball-profile.d.ts +0 -2
- package/models/basketball-statistic.d.ts +1 -4
- package/models/city.d.ts +0 -2
- package/models/feedback.d.ts +2 -3
- package/models/file.d.ts +2 -3
- package/models/football-game-config.d.ts +2 -4
- package/models/football-game-log.d.ts +30 -33
- package/models/football-game-statistic.d.ts +1 -4
- package/models/football-game-team-statistic.d.ts +0 -2
- package/models/football-profile.d.ts +0 -2
- package/models/football-statistic.d.ts +1 -4
- package/models/game-bill.d.ts +0 -2
- package/models/game-config-base.d.ts +3 -0
- package/models/game-invite.d.ts +0 -2
- package/models/game-log-base.d.ts +3 -2
- package/models/game-statistic-base.d.ts +3 -1
- package/models/game-timeline-stages.d.ts +1 -5
- package/models/game-user-disqualification.d.ts +0 -2
- package/models/game-user-limitation.d.ts +0 -4
- package/models/game-user.d.ts +0 -2
- package/models/game.d.ts +10 -21
- package/models/handball-game-config.d.ts +2 -4
- package/models/handball-game-log.d.ts +1 -4
- package/models/handball-game-statistic.d.ts +1 -4
- package/models/handball-game-team-statistic.d.ts +0 -2
- package/models/handball-profile.d.ts +0 -2
- package/models/handball-statistic.d.ts +1 -4
- package/models/hockey-game-config.d.ts +2 -4
- package/models/hockey-game-log.d.ts +4 -15
- package/models/hockey-game-statistic.d.ts +1 -18
- package/models/hockey-game-team-statistic.d.ts +0 -2
- package/models/hockey-penalty-types.d.ts +7 -0
- package/models/hockey-profile.d.ts +0 -2
- package/models/hockey-statistic.d.ts +1 -18
- package/models/league-banner.d.ts +0 -2
- package/models/league-court.d.ts +0 -2
- package/models/league-document.d.ts +0 -2
- package/models/league-news.d.ts +0 -2
- package/models/league-partner.d.ts +0 -2
- package/models/league-player.d.ts +2 -13
- package/models/league-playlist.d.ts +0 -2
- package/models/league-user.d.ts +0 -2
- package/models/league.d.ts +1 -6
- package/models/media-item.d.ts +0 -2
- package/models/notification-settings.d.ts +0 -2
- package/models/notification.d.ts +0 -2
- package/models/organization-bill.d.ts +0 -2
- package/models/organization-statistic.d.ts +0 -2
- package/models/organization-tariff.d.ts +0 -2
- package/models/organization.d.ts +0 -2
- package/models/playoff.d.ts +0 -4
- package/models/poll.d.ts +0 -6
- package/models/public-api.d.ts +0 -6
- package/models/rugby-foul-type.d.ts +0 -2
- package/models/rugby-game-config.d.ts +2 -4
- package/models/rugby-game-log.d.ts +1 -4
- package/models/rugby-game-statistic.d.ts +7 -10
- package/models/rugby-game-team-statistic.d.ts +0 -2
- package/models/rugby-profile.d.ts +0 -2
- package/models/rugby-statistic.d.ts +1 -4
- package/models/season-tournament.d.ts +0 -2
- package/models/sport.d.ts +0 -2
- package/models/team-access.d.ts +0 -2
- package/models/team-achievement.d.ts +0 -2
- package/models/team-event-invite.d.ts +2 -3
- package/models/team-event.d.ts +0 -2
- package/models/team-invite-external.d.ts +0 -2
- package/models/team-invite.d.ts +0 -2
- package/models/team-permission.d.ts +0 -2
- package/models/team-user.d.ts +0 -2
- package/models/team.d.ts +0 -2
- package/models/teams-and-users.d.ts +0 -2
- package/models/tournament-disqualification.d.ts +0 -2
- package/models/tournament-division.d.ts +0 -2
- package/models/tournament-event.d.ts +0 -2
- package/models/tournament-group.d.ts +0 -2
- package/models/tournament-invite.d.ts +0 -2
- package/models/tournament-join-team.d.ts +0 -4
- package/models/tournament-join1x1-data.d.ts +0 -2
- package/models/tournament-news.d.ts +0 -2
- package/models/tournament-round-team.d.ts +4 -14
- package/models/tournament-round.d.ts +0 -2
- package/models/tournament-season.d.ts +0 -2
- package/models/tournament-stage-team.d.ts +0 -2
- package/models/tournament-stage.d.ts +0 -2
- package/models/tournament-team-user-invite.d.ts +0 -2
- package/models/tournament-team-user.d.ts +0 -5
- package/models/tournament-team.d.ts +0 -16
- package/models/tournament.d.ts +5 -21
- package/models/user-access.d.ts +0 -2
- package/models/user-permission.d.ts +0 -2
- package/models/user-profile.d.ts +2 -3
- package/models/user.d.ts +2 -6
- package/models/util.d.ts +22 -46
- package/models/volleyball-game-config.d.ts +2 -4
- package/models/volleyball-game-log.d.ts +1 -4
- package/models/volleyball-game-statistic.d.ts +1 -4
- package/models/volleyball-game-team-statistic.d.ts +0 -2
- package/models/volleyball-profile.d.ts +0 -2
- package/models/volleyball-statistic.d.ts +1 -4
- package/models/waterpolo-game-config.d.ts +2 -4
- package/models/waterpolo-game-log.d.ts +1 -4
- package/models/waterpolo-game-statistic.d.ts +1 -4
- package/models/waterpolo-game-team-statistic.d.ts +0 -2
- package/models/waterpolo-profile.d.ts +0 -2
- package/models/waterpolo-statistic.d.ts +1 -4
- package/mtgame-core.d.ts +1 -0
- package/package.json +23 -10
- package/public-api.d.ts +1 -0
- package/services/base.controller.d.ts +12 -0
- package/services/base.service.d.ts +3 -0
- package/services/centrifugo.service.d.ts +6 -4
- package/services/config.service.d.ts +3 -0
- package/services/public-api.d.ts +1 -0
- package/storage/local-storage-engine.d.ts +2 -2
- package/storage/new.d.ts +17 -0
- package/storage/old-local-storage-engine.d.ts +6 -0
- package/storage/old-storage-engine.d.ts +24 -0
- package/storage/public-api.d.ts +5 -2
- package/storage/storage-engine.d.ts +25 -18
- package/storage/store.d.ts +3 -3
- package/utils/component-destroyed.d.ts +1 -1
- package/utils/data.d.ts +36 -6
- package/websocket/game.websocket.d.ts +24 -0
- package/websocket/public-api.d.ts +1 -0
- package/bundles/mtgame-core.umd.js +0 -14010
- package/bundles/mtgame-core.umd.js.map +0 -1
- package/esm2015/api/basketball-game-api.js +0 -61
- package/esm2015/api/feedback-api.js +0 -38
- package/esm2015/api/file-api.js +0 -49
- package/esm2015/api/football-game-api.js +0 -65
- package/esm2015/api/game-base-api.js +0 -54
- package/esm2015/api/handball-game-api.js +0 -65
- package/esm2015/api/hockey-game-api.js +0 -65
- package/esm2015/api/league-api.js +0 -151
- package/esm2015/api/league-news-api.js +0 -71
- package/esm2015/api/league-player-api.js +0 -34
- package/esm2015/api/media-api.js +0 -131
- package/esm2015/api/notification-api.js +0 -16
- package/esm2015/api/notification-base-api.js +0 -82
- package/esm2015/api/org-notification-api.js +0 -16
- package/esm2015/api/public-team-api.js +0 -41
- package/esm2015/api/public-user-api.js +0 -41
- package/esm2015/api/reference-api.js +0 -39
- package/esm2015/api/rugby-game-api.js +0 -63
- package/esm2015/api/team-api.js +0 -393
- package/esm2015/api/team-event-api.js +0 -80
- package/esm2015/api/tournament-api.js +0 -471
- package/esm2015/api/tournament-join-api.js +0 -72
- package/esm2015/api/tournament-round-api.js +0 -71
- package/esm2015/api/tournament-season-api.js +0 -112
- package/esm2015/api/tournament-stage-api.js +0 -63
- package/esm2015/api/user-api.js +0 -283
- package/esm2015/api/volleyball-game-api.js +0 -73
- package/esm2015/api/waterpolo-game-api.js +0 -65
- package/esm2015/http-cookie.interceptor.js +0 -37
- package/esm2015/localization/hockey-penalty-types.js +0 -50
- package/esm2015/models/achievement.js +0 -33
- package/esm2015/models/base-statistic.js +0 -2
- package/esm2015/models/basketball-game-config.js +0 -41
- package/esm2015/models/basketball-game-log.js +0 -192
- package/esm2015/models/basketball-game-statistic.js +0 -81
- package/esm2015/models/basketball-game-team-statistic.js +0 -27
- package/esm2015/models/basketball-profile.js +0 -43
- package/esm2015/models/basketball-statistic.js +0 -114
- package/esm2015/models/city.js +0 -22
- package/esm2015/models/feedback.js +0 -34
- package/esm2015/models/file.js +0 -54
- package/esm2015/models/football-game-config.js +0 -44
- package/esm2015/models/football-game-log.js +0 -104
- package/esm2015/models/football-game-statistic.js +0 -137
- package/esm2015/models/football-game-team-statistic.js +0 -27
- package/esm2015/models/football-profile.js +0 -43
- package/esm2015/models/football-statistic.js +0 -150
- package/esm2015/models/game-bill.js +0 -47
- package/esm2015/models/game-invite.js +0 -37
- package/esm2015/models/game-log-base.js +0 -2
- package/esm2015/models/game-statistic-base.js +0 -2
- package/esm2015/models/game-timeline-stages.js +0 -53
- package/esm2015/models/game-user-disqualification.js +0 -28
- package/esm2015/models/game-user-limitation.js +0 -51
- package/esm2015/models/game-user.js +0 -37
- package/esm2015/models/game.js +0 -281
- package/esm2015/models/handball-game-config.js +0 -34
- package/esm2015/models/handball-game-log.js +0 -92
- package/esm2015/models/handball-game-statistic.js +0 -101
- package/esm2015/models/handball-game-team-statistic.js +0 -27
- package/esm2015/models/handball-profile.js +0 -39
- package/esm2015/models/handball-statistic.js +0 -95
- package/esm2015/models/hockey-game-config.js +0 -48
- package/esm2015/models/hockey-game-log.js +0 -128
- package/esm2015/models/hockey-game-statistic.js +0 -159
- package/esm2015/models/hockey-game-team-statistic.js +0 -27
- package/esm2015/models/hockey-profile.js +0 -41
- package/esm2015/models/hockey-statistic.js +0 -143
- package/esm2015/models/league-banner.js +0 -39
- package/esm2015/models/league-court.js +0 -25
- package/esm2015/models/league-document.js +0 -26
- package/esm2015/models/league-field-base-value.js +0 -4
- package/esm2015/models/league-field-base.js +0 -25
- package/esm2015/models/league-news.js +0 -50
- package/esm2015/models/league-partner.js +0 -29
- package/esm2015/models/league-player-field-value.js +0 -32
- package/esm2015/models/league-player-field.js +0 -30
- package/esm2015/models/league-player.js +0 -116
- package/esm2015/models/league-playlist.js +0 -28
- package/esm2015/models/league-team-field.js +0 -30
- package/esm2015/models/league-user.js +0 -52
- package/esm2015/models/league.js +0 -71
- package/esm2015/models/media-item.js +0 -41
- package/esm2015/models/notification-settings.js +0 -35
- package/esm2015/models/notification.js +0 -134
- package/esm2015/models/organization-bill.js +0 -50
- package/esm2015/models/organization-statistic.js +0 -26
- package/esm2015/models/organization-tariff.js +0 -30
- package/esm2015/models/organization.js +0 -40
- package/esm2015/models/playoff.js +0 -91
- package/esm2015/models/poll.js +0 -132
- package/esm2015/models/public-api.js +0 -116
- package/esm2015/models/rugby-foul-type.js +0 -53
- package/esm2015/models/rugby-game-config.js +0 -42
- package/esm2015/models/rugby-game-log.js +0 -144
- package/esm2015/models/rugby-game-statistic.js +0 -89
- package/esm2015/models/rugby-game-team-statistic.js +0 -27
- package/esm2015/models/rugby-profile.js +0 -37
- package/esm2015/models/rugby-statistic.js +0 -123
- package/esm2015/models/season-tournament.js +0 -22
- package/esm2015/models/sport.js +0 -115
- package/esm2015/models/team-access.js +0 -45
- package/esm2015/models/team-achievement.js +0 -34
- package/esm2015/models/team-event-invite.js +0 -32
- package/esm2015/models/team-event.js +0 -45
- package/esm2015/models/team-invite-external.js +0 -25
- package/esm2015/models/team-invite.js +0 -41
- package/esm2015/models/team-permission.js +0 -38
- package/esm2015/models/team-user.js +0 -48
- package/esm2015/models/team.js +0 -71
- package/esm2015/models/teams-and-users.js +0 -32
- package/esm2015/models/tournament-disqualification.js +0 -30
- package/esm2015/models/tournament-division.js +0 -27
- package/esm2015/models/tournament-event.js +0 -45
- package/esm2015/models/tournament-group.js +0 -26
- package/esm2015/models/tournament-invite.js +0 -39
- package/esm2015/models/tournament-join-team.js +0 -55
- package/esm2015/models/tournament-join1x1-data.js +0 -32
- package/esm2015/models/tournament-news.js +0 -33
- package/esm2015/models/tournament-round-team.js +0 -95
- package/esm2015/models/tournament-round.js +0 -36
- package/esm2015/models/tournament-season.js +0 -45
- package/esm2015/models/tournament-stage-team.js +0 -47
- package/esm2015/models/tournament-stage.js +0 -35
- package/esm2015/models/tournament-team-field-value.js +0 -32
- package/esm2015/models/tournament-team-user-invite.js +0 -29
- package/esm2015/models/tournament-team-user.js +0 -39
- package/esm2015/models/tournament-team.js +0 -103
- package/esm2015/models/tournament.js +0 -266
- package/esm2015/models/user-access.js +0 -25
- package/esm2015/models/user-permission.js +0 -38
- package/esm2015/models/user-profile.js +0 -24
- package/esm2015/models/user.js +0 -91
- package/esm2015/models/util.js +0 -237
- package/esm2015/models/volleyball-game-config.js +0 -44
- package/esm2015/models/volleyball-game-log.js +0 -145
- package/esm2015/models/volleyball-game-statistic.js +0 -64
- package/esm2015/models/volleyball-game-team-statistic.js +0 -27
- package/esm2015/models/volleyball-profile.js +0 -43
- package/esm2015/models/volleyball-statistic.js +0 -92
- package/esm2015/models/waterpolo-game-config.js +0 -45
- package/esm2015/models/waterpolo-game-log.js +0 -167
- package/esm2015/models/waterpolo-game-statistic.js +0 -641
- package/esm2015/models/waterpolo-game-team-statistic.js +0 -27
- package/esm2015/models/waterpolo-profile.js +0 -42
- package/esm2015/models/waterpolo-statistic.js +0 -336
- package/esm2015/services/base.service.js +0 -16
- package/esm2015/services/centrifugo.service.js +0 -123
- package/esm2015/services/config.service.js +0 -37
- package/esm2015/storage/local-storage-engine.js +0 -18
- package/esm2015/storage/public-api.js +0 -4
- package/esm2015/storage/storage-engine.js +0 -61
- package/esm2015/utils/component-destroyed.js +0 -26
- package/esm2015/utils/data.js +0 -75
- package/fesm2015/mtgame-core.js.map +0 -1
- package/models/league-field-base-value.d.ts +0 -7
- package/models/league-field-base.d.ts +0 -24
- package/models/league-player-field-value.d.ts +0 -8
- package/models/league-player-field.d.ts +0 -5
- package/models/league-team-field.d.ts +0 -5
- package/models/tournament-team-field-value.d.ts +0 -8
- package/mtgame-core.metadata.json +0 -1
|
@@ -2,6 +2,7 @@ import { Injector } from '@angular/core';
|
|
|
2
2
|
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { ConfigService } from './services/config.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class HttpCookieInterceptor implements HttpInterceptor {
|
|
6
7
|
private injector;
|
|
7
8
|
private configService;
|
|
@@ -9,4 +10,6 @@ export declare class HttpCookieInterceptor implements HttpInterceptor {
|
|
|
9
10
|
private isBrowser;
|
|
10
11
|
constructor(injector: Injector, configService: ConfigService, platformId: string);
|
|
11
12
|
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HttpCookieInterceptor, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HttpCookieInterceptor>;
|
|
12
15
|
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
export declare const FootballGameLogTypeLocalization: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
2
|
+
enter_game: string;
|
|
3
|
+
exit_game: string;
|
|
4
|
+
shot_miss: string;
|
|
5
|
+
shot_on_goal: string;
|
|
6
|
+
shot_blocked: string;
|
|
7
|
+
goal: string;
|
|
8
|
+
assist: string;
|
|
9
|
+
penalty_attempt: string;
|
|
10
|
+
penalty_goal: string;
|
|
11
|
+
small_penalty_attempt: string;
|
|
12
|
+
small_penalty_goal: string;
|
|
13
|
+
block_shot: string;
|
|
14
|
+
corner: string;
|
|
15
|
+
free_kick: string;
|
|
16
|
+
save: string;
|
|
17
|
+
penalty_save: string;
|
|
18
|
+
small_penalty_save: string;
|
|
19
|
+
foul: string;
|
|
20
|
+
yellow_card: string;
|
|
21
|
+
red_card: string;
|
|
22
|
+
perfect_pass: string;
|
|
23
|
+
loss: string;
|
|
24
|
+
steal: string;
|
|
25
|
+
out: string;
|
|
26
|
+
timeout: string;
|
|
27
|
+
auto_goal: string;
|
|
28
|
+
end_game_penalty_goal: string;
|
|
29
|
+
end_game_penalty_miss: string;
|
|
30
|
+
end_game_penalty_save: string;
|
|
31
31
|
};
|
package/models/achievement.d.ts
CHANGED
|
@@ -4,8 +4,9 @@ import { TeamUser } from './team-user';
|
|
|
4
4
|
import { User } from './user';
|
|
5
5
|
import { TournamentTeam } from './tournament-team';
|
|
6
6
|
import { LeaguePlayer } from './league-player';
|
|
7
|
+
import { BaseModel } from './util';
|
|
7
8
|
export declare type WinLoseType = 'win' | 'lose' | 'draw';
|
|
8
|
-
export
|
|
9
|
+
export declare abstract class BaseStatistic extends BaseModel {
|
|
9
10
|
leaguePlayer: LeaguePlayer;
|
|
10
11
|
tournamentTeamUser: TournamentTeamUser;
|
|
11
12
|
team: Team;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BaseModel } from './util';
|
|
2
1
|
import { BasketballStatisticTypes, GameTimeTypes, OvertimeTypes, TimerTypes } from './tournament';
|
|
3
|
-
|
|
2
|
+
import { GameConfigBase } from './game-config-base';
|
|
3
|
+
export declare class BasketballGameConfig extends GameConfigBase {
|
|
4
4
|
periodsCount: number;
|
|
5
5
|
periodTime: number;
|
|
6
6
|
gameUpToScore: number;
|
|
@@ -15,6 +15,4 @@ export declare class BasketballGameConfig extends BaseModel {
|
|
|
15
15
|
shotClockEnabled: boolean;
|
|
16
16
|
gameTimeType: GameTimeTypes;
|
|
17
17
|
timerType: TimerTypes;
|
|
18
|
-
static toFront(data: any): any;
|
|
19
|
-
static toBack(data: any): any;
|
|
20
18
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { BaseModel } from './util';
|
|
2
1
|
import { GameUser } from './game-user';
|
|
3
2
|
import { GameLogBase } from './game-log-base';
|
|
4
3
|
export declare enum BasketballGameLogTypes {
|
|
@@ -50,10 +49,7 @@ export declare enum BasketballSubLogTypes {
|
|
|
50
49
|
three_seconds = 20,
|
|
51
50
|
five_seconds = 21,
|
|
52
51
|
eight_seconds = 22,
|
|
53
|
-
twenty_four_seconds = 23
|
|
54
|
-
back_court = 24,
|
|
55
|
-
offensive_goal_tending = 25,
|
|
56
|
-
other_turnover = 26
|
|
52
|
+
twenty_four_seconds = 23
|
|
57
53
|
}
|
|
58
54
|
export declare enum BasketballCourtZones {
|
|
59
55
|
paint = 1,
|
|
@@ -81,7 +77,7 @@ export declare enum BasketballPenaltyTypes {
|
|
|
81
77
|
two_shots_and_possession = 6,
|
|
82
78
|
three_shots_and_possession = 7
|
|
83
79
|
}
|
|
84
|
-
export declare class BasketballGameLog extends
|
|
80
|
+
export declare class BasketballGameLog extends GameLogBase {
|
|
85
81
|
id: number;
|
|
86
82
|
uniqueId: string;
|
|
87
83
|
gameId: number;
|
|
@@ -108,13 +104,10 @@ export declare class BasketballGameLog extends BaseModel implements GameLogBase
|
|
|
108
104
|
isBench: boolean;
|
|
109
105
|
group: string;
|
|
110
106
|
marked: boolean;
|
|
111
|
-
coords: [number, number];
|
|
112
107
|
isPointsType(): boolean;
|
|
113
108
|
isReboundType(): boolean;
|
|
114
109
|
isFoulType(): boolean;
|
|
115
110
|
getScore(): any;
|
|
116
111
|
compare(model: BasketballGameLog): number;
|
|
117
112
|
get timeFormatted(): string;
|
|
118
|
-
static toFront(value: any): any;
|
|
119
|
-
static toBack(value: any): any;
|
|
120
113
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { BaseModel } from './util';
|
|
2
1
|
import { GameStatisticBase } from './game-statistic-base';
|
|
3
|
-
export declare class BasketballGameStatistic extends
|
|
2
|
+
export declare class BasketballGameStatistic extends GameStatisticBase {
|
|
4
3
|
gameUserId: number;
|
|
5
4
|
points: number;
|
|
6
5
|
freeThrowsMade: number;
|
|
@@ -27,8 +26,6 @@ export declare class BasketballGameStatistic extends BaseModel implements GameSt
|
|
|
27
26
|
shotsBlocked: number;
|
|
28
27
|
updatedAt: Date;
|
|
29
28
|
get id(): number;
|
|
30
|
-
static toFront(data: any): any;
|
|
31
|
-
static toBack(data: any): any;
|
|
32
29
|
get totalFouls(): number;
|
|
33
30
|
get onePointsPercent(): number;
|
|
34
31
|
get twoPointsPercent(): number;
|
|
@@ -4,6 +4,4 @@ import { GameTeamStatisticBase } from './game-team-statistic-base';
|
|
|
4
4
|
export declare class BasketballGameTeamStatistic extends BaseModel implements GameTeamStatisticBase {
|
|
5
5
|
team: BasketballStatistic;
|
|
6
6
|
competitorTeam: BasketballStatistic;
|
|
7
|
-
static toFront(data: any): any;
|
|
8
|
-
static toBack(data: any): any;
|
|
9
7
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { BaseModel } from './util';
|
|
2
1
|
import { TournamentTeamUser } from './tournament-team-user';
|
|
3
2
|
import { Team } from './team';
|
|
4
3
|
import { TeamUser } from './team-user';
|
|
@@ -6,7 +5,7 @@ import { User } from './user';
|
|
|
6
5
|
import { TournamentTeam } from './tournament-team';
|
|
7
6
|
import { BaseStatistic, WinLoseType } from './base-statistic';
|
|
8
7
|
import { LeaguePlayer } from './league-player';
|
|
9
|
-
export declare class BasketballStatistic extends
|
|
8
|
+
export declare class BasketballStatistic extends BaseStatistic {
|
|
10
9
|
leaguePlayer: LeaguePlayer;
|
|
11
10
|
tournamentTeamUser: TournamentTeamUser;
|
|
12
11
|
team: Team;
|
|
@@ -58,6 +57,4 @@ export declare class BasketballStatistic extends BaseModel implements BaseStatis
|
|
|
58
57
|
get threePointsPercent(): number;
|
|
59
58
|
get freeThrowsPercent(): number;
|
|
60
59
|
get totalRebounds(): number;
|
|
61
|
-
static toFront(data: any): any;
|
|
62
|
-
static toBack(data: any): any;
|
|
63
60
|
}
|
package/models/city.d.ts
CHANGED
package/models/feedback.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
+
import { BaseModel } from './util';
|
|
1
2
|
import { File } from './file';
|
|
2
|
-
export declare class Feedback {
|
|
3
|
+
export declare class Feedback extends BaseModel {
|
|
3
4
|
id: number;
|
|
4
5
|
theme: string;
|
|
5
6
|
message: string;
|
|
6
7
|
email: string;
|
|
7
8
|
captcha: string;
|
|
8
9
|
files: File[];
|
|
9
|
-
static toFront(data: any): any;
|
|
10
|
-
static toBack(value: any): any;
|
|
11
10
|
}
|
package/models/file.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { BaseModel } from './util';
|
|
1
2
|
export declare enum FileEngine {
|
|
2
3
|
django = 1,
|
|
3
4
|
s3 = 2
|
|
4
5
|
}
|
|
5
|
-
export declare class File {
|
|
6
|
+
export declare class File extends BaseModel {
|
|
6
7
|
id: number;
|
|
7
8
|
name: string;
|
|
8
9
|
_originalName: string;
|
|
@@ -16,6 +17,4 @@ export declare class File {
|
|
|
16
17
|
get originalName(): string;
|
|
17
18
|
set path(filePath: string);
|
|
18
19
|
get path(): string;
|
|
19
|
-
static toFront(data: any): File;
|
|
20
|
-
static toBack(file: File): any;
|
|
21
20
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BaseModel } from './util';
|
|
2
1
|
import { GameTimeTypes, OvertimeTypes } from './tournament';
|
|
3
|
-
|
|
2
|
+
import { GameConfigBase } from './game-config-base';
|
|
3
|
+
export declare class FootballGameConfig extends GameConfigBase {
|
|
4
4
|
periodsCount: number;
|
|
5
5
|
periodTime: number;
|
|
6
6
|
overtimeType: OvertimeTypes;
|
|
@@ -15,6 +15,4 @@ export declare class FootballGameConfig extends BaseModel {
|
|
|
15
15
|
freeSubstituteEnabled: boolean;
|
|
16
16
|
substituteManageEnabled: boolean;
|
|
17
17
|
get penaltyPeriod(): number;
|
|
18
|
-
static toFront(data: any): any;
|
|
19
|
-
static toBack(data: any): any;
|
|
20
18
|
}
|
|
@@ -1,38 +1,37 @@
|
|
|
1
|
-
import { BaseModel } from './util';
|
|
2
1
|
import { GameUser } from './game-user';
|
|
3
2
|
import { GameLogBase } from './game-log-base';
|
|
4
3
|
export declare enum FootballGameLogTypes {
|
|
5
|
-
enter_game =
|
|
6
|
-
exit_game =
|
|
7
|
-
shot_miss =
|
|
8
|
-
shot_on_goal =
|
|
9
|
-
shot_blocked =
|
|
10
|
-
goal =
|
|
11
|
-
penalty_attempt =
|
|
12
|
-
penalty_goal =
|
|
13
|
-
penalty_save =
|
|
14
|
-
small_penalty_attempt =
|
|
15
|
-
small_penalty_goal =
|
|
16
|
-
small_penalty_save =
|
|
17
|
-
assist =
|
|
18
|
-
block_shot =
|
|
19
|
-
corner =
|
|
20
|
-
free_kick =
|
|
21
|
-
foul =
|
|
22
|
-
save =
|
|
23
|
-
yellow_card =
|
|
24
|
-
red_card =
|
|
25
|
-
perfect_pass =
|
|
26
|
-
loss =
|
|
27
|
-
steal =
|
|
28
|
-
out =
|
|
29
|
-
timeout =
|
|
30
|
-
auto_goal =
|
|
31
|
-
end_game_penalty_miss =
|
|
32
|
-
end_game_penalty_goal =
|
|
33
|
-
end_game_penalty_save =
|
|
4
|
+
enter_game = "enter_game",
|
|
5
|
+
exit_game = "exit_game",
|
|
6
|
+
shot_miss = "shot_miss",
|
|
7
|
+
shot_on_goal = "shot_on_goal",
|
|
8
|
+
shot_blocked = "shot_blocked",
|
|
9
|
+
goal = "goal",
|
|
10
|
+
penalty_attempt = "penalty_attempt",
|
|
11
|
+
penalty_goal = "penalty_goal",
|
|
12
|
+
penalty_save = "penalty_save",
|
|
13
|
+
small_penalty_attempt = "small_penalty_attempt",
|
|
14
|
+
small_penalty_goal = "small_penalty_goal",
|
|
15
|
+
small_penalty_save = "small_penalty_save",
|
|
16
|
+
assist = "assist",
|
|
17
|
+
block_shot = "block_shot",
|
|
18
|
+
corner = "corner",
|
|
19
|
+
free_kick = "free_kick",
|
|
20
|
+
foul = "foul",
|
|
21
|
+
save = "save",
|
|
22
|
+
yellow_card = "yellow_card",
|
|
23
|
+
red_card = "red_card",
|
|
24
|
+
perfect_pass = "perfect_pass",
|
|
25
|
+
loss = "loss",
|
|
26
|
+
steal = "steal",
|
|
27
|
+
out = "out",
|
|
28
|
+
timeout = "timeout",
|
|
29
|
+
auto_goal = "auto_goal",
|
|
30
|
+
end_game_penalty_miss = "end_game_penalty_miss",
|
|
31
|
+
end_game_penalty_goal = "end_game_penalty_goal",
|
|
32
|
+
end_game_penalty_save = "end_game_penalty_save"
|
|
34
33
|
}
|
|
35
|
-
export declare class FootballGameLog extends
|
|
34
|
+
export declare class FootballGameLog extends GameLogBase {
|
|
36
35
|
id: number;
|
|
37
36
|
uniqueId: string;
|
|
38
37
|
gameId: number;
|
|
@@ -52,6 +51,4 @@ export declare class FootballGameLog extends BaseModel implements GameLogBase {
|
|
|
52
51
|
get timeFormatted(): string;
|
|
53
52
|
isScoreType(): boolean;
|
|
54
53
|
isAfter(log: FootballGameLog): boolean;
|
|
55
|
-
static toFront(value: any): any;
|
|
56
|
-
static toBack(value: any): any;
|
|
57
54
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { BaseModel } from './util';
|
|
2
1
|
import { GameStatisticBase } from './game-statistic-base';
|
|
3
|
-
export declare class FootballGameStatistic extends
|
|
2
|
+
export declare class FootballGameStatistic extends GameStatisticBase {
|
|
4
3
|
gameUserId: number;
|
|
5
4
|
points: number;
|
|
6
5
|
shotMisses: number;
|
|
@@ -56,6 +55,4 @@ export declare class FootballGameStatistic extends BaseModel implements GameStat
|
|
|
56
55
|
get smallPenaltySavesPercent(): number;
|
|
57
56
|
get goalpass(): number;
|
|
58
57
|
get gameMinutes(): number;
|
|
59
|
-
static toFront(data: any): any;
|
|
60
|
-
static toBack(data: any): any;
|
|
61
58
|
}
|
|
@@ -4,6 +4,4 @@ import { GameTeamStatisticBase } from './game-team-statistic-base';
|
|
|
4
4
|
export declare class FootballGameTeamStatistic extends BaseModel implements GameTeamStatisticBase {
|
|
5
5
|
team: FootballStatistic;
|
|
6
6
|
competitorTeam: FootballStatistic;
|
|
7
|
-
static toFront(data: any): any;
|
|
8
|
-
static toBack(data: any): any;
|
|
9
7
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { BaseModel } from './util';
|
|
2
1
|
import { TournamentTeamUser } from './tournament-team-user';
|
|
3
2
|
import { Team } from './team';
|
|
4
3
|
import { TeamUser } from './team-user';
|
|
@@ -6,7 +5,7 @@ import { User } from './user';
|
|
|
6
5
|
import { TournamentTeam } from './tournament-team';
|
|
7
6
|
import { BaseStatistic, WinLoseType } from './base-statistic';
|
|
8
7
|
import { LeaguePlayer } from './league-player';
|
|
9
|
-
export declare class FootballStatistic extends
|
|
8
|
+
export declare class FootballStatistic extends BaseStatistic {
|
|
10
9
|
leaguePlayer: LeaguePlayer;
|
|
11
10
|
tournamentTeamUser: TournamentTeamUser;
|
|
12
11
|
team: Team;
|
|
@@ -85,6 +84,4 @@ export declare class FootballStatistic extends BaseModel implements BaseStatisti
|
|
|
85
84
|
get tournamentTeamScoreSum(): number;
|
|
86
85
|
get tournamentTeamMissedSum(): number;
|
|
87
86
|
get tournamentTeamPlusMinus(): number;
|
|
88
|
-
static toFront(data: any): any;
|
|
89
|
-
static toBack(data: any): any;
|
|
90
87
|
}
|
package/models/game-bill.d.ts
CHANGED
package/models/game-invite.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { BaseModel } from './util';
|
|
2
|
+
export declare abstract class GameLogBase extends BaseModel {
|
|
2
3
|
id: number;
|
|
3
4
|
uniqueId: string;
|
|
4
5
|
active: boolean;
|
|
@@ -6,5 +7,5 @@ export interface GameLogBase {
|
|
|
6
7
|
teamId: number;
|
|
7
8
|
gameUserId: number;
|
|
8
9
|
logType: any;
|
|
9
|
-
compare(model: GameLogBase): number;
|
|
10
|
+
abstract compare(model: GameLogBase): number;
|
|
10
11
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { BaseModel } from './util';
|
|
2
|
-
export declare class GameTimelineStageItem {
|
|
2
|
+
export declare class GameTimelineStageItem extends BaseModel {
|
|
3
3
|
stageId: number;
|
|
4
4
|
toursCount: number;
|
|
5
5
|
playoffStagesCount: number;
|
|
6
6
|
playoffTeamsCount: number;
|
|
7
|
-
static toFront(data: any): any;
|
|
8
|
-
static toBack(data: any): any;
|
|
9
7
|
}
|
|
10
8
|
export declare class GameTimelineStages extends BaseModel {
|
|
11
9
|
toursCount: number;
|
|
@@ -17,6 +15,4 @@ export declare class GameTimelineStages extends BaseModel {
|
|
|
17
15
|
stages: GameTimelineStageItem[];
|
|
18
16
|
tournamentStageId: number;
|
|
19
17
|
tournamentRoundId: number;
|
|
20
|
-
static toFront(data: any): any;
|
|
21
|
-
static toBack(data: any): any;
|
|
22
18
|
}
|
|
@@ -3,6 +3,4 @@ import { TournamentDisqualification } from './tournament-disqualification';
|
|
|
3
3
|
export declare class GameUserDisqualification extends BaseModel {
|
|
4
4
|
tournamentTeamUserId: number;
|
|
5
5
|
disqualification: TournamentDisqualification;
|
|
6
|
-
static toFront(data: any): any;
|
|
7
|
-
static toBack(data: any): any;
|
|
8
6
|
}
|
|
@@ -9,13 +9,9 @@ export declare class GameUserLimitationTypes extends BaseModel {
|
|
|
9
9
|
minGoalkeeperUserGamesCount: LimitationValue;
|
|
10
10
|
minGoalkeeperUserTime: LimitationValue;
|
|
11
11
|
manual: boolean;
|
|
12
|
-
static toFront(data: any): any;
|
|
13
|
-
static toBack(data: any): any;
|
|
14
12
|
}
|
|
15
13
|
export declare class GameUserLimitations extends BaseModel {
|
|
16
14
|
tournamentTeamUserId: number;
|
|
17
15
|
limitations: GameUserLimitationTypes;
|
|
18
|
-
static toFront(data: any): any;
|
|
19
|
-
static toBack(data: any): any;
|
|
20
16
|
}
|
|
21
17
|
export {};
|
package/models/game-user.d.ts
CHANGED
package/models/game.d.ts
CHANGED
|
@@ -10,9 +10,9 @@ import { FootballGameConfig } from './football-game-config';
|
|
|
10
10
|
import { HandballGameConfig } from './handball-game-config';
|
|
11
11
|
import { Playoff } from './playoff';
|
|
12
12
|
import { TournamentGroup } from './tournament-group';
|
|
13
|
-
import { File } from './file';
|
|
14
13
|
import { RugbyGameConfig } from './rugby-game-config';
|
|
15
14
|
import { WaterpoloGameConfig } from './waterpolo-game-config';
|
|
15
|
+
import { TournamentTeam } from './tournament-team';
|
|
16
16
|
export declare enum GameStatuses {
|
|
17
17
|
open = 1,
|
|
18
18
|
in_progress = 2,
|
|
@@ -27,20 +27,9 @@ export declare enum GameResultTypes {
|
|
|
27
27
|
competitor_team_technical_defeat = 4,
|
|
28
28
|
draw = 5
|
|
29
29
|
}
|
|
30
|
-
export declare
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
static toFront(data: any): any;
|
|
34
|
-
static toBack(data: any): any;
|
|
35
|
-
}
|
|
36
|
-
export declare class TournamentTeamShort extends BaseModel {
|
|
37
|
-
id: number;
|
|
38
|
-
name: string;
|
|
39
|
-
logo: File;
|
|
40
|
-
additionalData: GameTeamAdditionalData;
|
|
41
|
-
static toFront(data: any): any;
|
|
42
|
-
static toBack(data: any): any;
|
|
43
|
-
}
|
|
30
|
+
export declare type ScoreByPeriod = {
|
|
31
|
+
[key: string]: [number, number];
|
|
32
|
+
};
|
|
44
33
|
export declare class Game extends BaseModel {
|
|
45
34
|
private _basketballGameConfig;
|
|
46
35
|
private _volleyballGameConfig;
|
|
@@ -52,15 +41,17 @@ export declare class Game extends BaseModel {
|
|
|
52
41
|
id: number;
|
|
53
42
|
status: GameStatuses;
|
|
54
43
|
team: Team;
|
|
55
|
-
tournamentTeam:
|
|
44
|
+
tournamentTeam: TournamentTeam;
|
|
56
45
|
teamId: number;
|
|
57
46
|
tournamentTeamId: number;
|
|
58
47
|
competitorTeam: Team;
|
|
59
|
-
competitorTournamentTeam:
|
|
48
|
+
competitorTournamentTeam: TournamentTeam;
|
|
60
49
|
competitorTeamId: number;
|
|
61
50
|
competitorTournamentTeamId: number;
|
|
62
51
|
competitorTeamName: string;
|
|
63
|
-
gameConfig:
|
|
52
|
+
gameConfig: {
|
|
53
|
+
[key: string]: any;
|
|
54
|
+
};
|
|
64
55
|
datetime: Date;
|
|
65
56
|
location: string;
|
|
66
57
|
teamScore: number;
|
|
@@ -69,7 +60,7 @@ export declare class Game extends BaseModel {
|
|
|
69
60
|
playoffNumber: string;
|
|
70
61
|
tournamentId: number;
|
|
71
62
|
tournamentTour: number;
|
|
72
|
-
scoreByPeriod:
|
|
63
|
+
scoreByPeriod: ScoreByPeriod;
|
|
73
64
|
playoffStage: string;
|
|
74
65
|
playoffRound: number;
|
|
75
66
|
tournamentStageId: number;
|
|
@@ -105,6 +96,4 @@ export declare class Game extends BaseModel {
|
|
|
105
96
|
get isCompetitorTeamWon(): boolean;
|
|
106
97
|
get teamWinnerId(): number;
|
|
107
98
|
get teamLoserId(): number;
|
|
108
|
-
static toFront(data: any): any;
|
|
109
|
-
static toBack(data: any): any;
|
|
110
99
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BaseModel } from './util';
|
|
2
1
|
import { GameTimeTypes, OvertimeTypes } from './tournament';
|
|
3
|
-
|
|
2
|
+
import { GameConfigBase } from './game-config-base';
|
|
3
|
+
export declare class HandballGameConfig extends GameConfigBase {
|
|
4
4
|
periodsCount: number;
|
|
5
5
|
periodTime: number;
|
|
6
6
|
overtimeType: OvertimeTypes;
|
|
@@ -10,6 +10,4 @@ export declare class HandballGameConfig extends BaseModel {
|
|
|
10
10
|
overtimeTimeoutCount: number;
|
|
11
11
|
timeoutTime: number;
|
|
12
12
|
gameTimeType: GameTimeTypes;
|
|
13
|
-
static toFront(data: any): any;
|
|
14
|
-
static toBack(data: any): any;
|
|
15
13
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { BaseModel } from './util';
|
|
2
1
|
import { GameLogBase } from './game-log-base';
|
|
3
2
|
import { GameUser } from './game-user';
|
|
4
3
|
export declare enum HandballGameLogTypes {
|
|
@@ -23,7 +22,7 @@ export declare enum HandballGameLogTypes {
|
|
|
23
22
|
block_shot = 19,
|
|
24
23
|
timeout = 20
|
|
25
24
|
}
|
|
26
|
-
export declare class HandballGameLog extends
|
|
25
|
+
export declare class HandballGameLog extends GameLogBase {
|
|
27
26
|
id: number;
|
|
28
27
|
uniqueId: string;
|
|
29
28
|
gameId: number;
|
|
@@ -44,6 +43,4 @@ export declare class HandballGameLog extends BaseModel implements GameLogBase {
|
|
|
44
43
|
isScoreType(): boolean;
|
|
45
44
|
isAfter(log: HandballGameLog): boolean;
|
|
46
45
|
isFoulType(): boolean;
|
|
47
|
-
static toFront(value: any): any;
|
|
48
|
-
static toBack(value: any): any;
|
|
49
46
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { BaseModel } from './util';
|
|
2
1
|
import { GameStatisticBase } from './game-statistic-base';
|
|
3
|
-
export declare class HandballGameStatistic extends
|
|
2
|
+
export declare class HandballGameStatistic extends GameStatisticBase {
|
|
4
3
|
gameUserId: number;
|
|
5
4
|
points: number;
|
|
6
5
|
shotMisses: number;
|
|
@@ -39,6 +38,4 @@ export declare class HandballGameStatistic extends BaseModel implements GameStat
|
|
|
39
38
|
get savesPercent(): number;
|
|
40
39
|
get penaltySavesPercent(): number;
|
|
41
40
|
get gameMinutes(): number;
|
|
42
|
-
static toFront(data: any): any;
|
|
43
|
-
static toBack(data: any): any;
|
|
44
41
|
}
|
|
@@ -4,6 +4,4 @@ import { GameTeamStatisticBase } from './game-team-statistic-base';
|
|
|
4
4
|
export declare class HandballGameTeamStatistic extends BaseModel implements GameTeamStatisticBase {
|
|
5
5
|
team: HandballStatistic;
|
|
6
6
|
competitorTeam: HandballStatistic;
|
|
7
|
-
static toFront(data: any): any;
|
|
8
|
-
static toBack(data: any): any;
|
|
9
7
|
}
|