@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
|
@@ -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 HandballStatistic extends
|
|
8
|
+
export declare class HandballStatistic extends BaseStatistic {
|
|
10
9
|
leaguePlayer: LeaguePlayer;
|
|
11
10
|
tournamentTeamUser: TournamentTeamUser;
|
|
12
11
|
team: Team;
|
|
@@ -58,6 +57,4 @@ export declare class HandballStatistic extends BaseModel implements BaseStatisti
|
|
|
58
57
|
rank: number;
|
|
59
58
|
get userMinutes(): string;
|
|
60
59
|
get tournamentTeamPoints(): number;
|
|
61
|
-
static toFront(data: any): any;
|
|
62
|
-
static toBack(data: any): any;
|
|
63
60
|
}
|
|
@@ -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 HockeyGameConfig extends GameConfigBase {
|
|
4
4
|
periodsCount: number;
|
|
5
5
|
periodTime: number;
|
|
6
6
|
overtimeType: OvertimeTypes;
|
|
@@ -15,8 +15,6 @@ export declare class HockeyGameConfig extends BaseModel {
|
|
|
15
15
|
majorPenaltyTime: number;
|
|
16
16
|
misconductPenaltyTime: number;
|
|
17
17
|
gameMisconductPenaltyTime: number;
|
|
18
|
-
static toFront(data: any): any;
|
|
19
|
-
static toBack(data: any): any;
|
|
20
18
|
get overtimePeriod(): number;
|
|
21
19
|
get bullitsPeriod(): number;
|
|
22
20
|
get playoffBullitsPeriod(): number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BaseModel } from './util';
|
|
2
1
|
import { GameUser } from './game-user';
|
|
3
2
|
import { GameLogBase } from './game-log-base';
|
|
3
|
+
import { HockeyPenaltyType } from './hockey-penalty-types';
|
|
4
4
|
export declare enum HockeyGameLogTypes {
|
|
5
5
|
enter_game = 1,
|
|
6
6
|
exit_game = 2,
|
|
@@ -27,22 +27,14 @@ export declare enum HockeyGameLogTypes {
|
|
|
27
27
|
after_game_shootout_attempt = 23,
|
|
28
28
|
after_game_shootout_goal = 24,
|
|
29
29
|
after_game_shootout_save = 25,
|
|
30
|
-
shootout_save = 26
|
|
31
|
-
steal = 27,
|
|
32
|
-
loss = 28,
|
|
33
|
-
sharp_pass = 29
|
|
30
|
+
shootout_save = 26
|
|
34
31
|
}
|
|
35
32
|
export declare enum HockeyAdvantageTypes {
|
|
36
33
|
power_play = 1,
|
|
37
34
|
shorthanded = 2,
|
|
38
35
|
even_strength = 3
|
|
39
36
|
}
|
|
40
|
-
export
|
|
41
|
-
id: number;
|
|
42
|
-
code: string;
|
|
43
|
-
title: string;
|
|
44
|
-
}
|
|
45
|
-
export declare class HockeyGameLog extends BaseModel implements GameLogBase {
|
|
37
|
+
export declare class HockeyGameLog extends GameLogBase {
|
|
46
38
|
id: number;
|
|
47
39
|
uniqueId: string;
|
|
48
40
|
gameId: number;
|
|
@@ -60,10 +52,9 @@ export declare class HockeyGameLog extends BaseModel implements GameLogBase {
|
|
|
60
52
|
advantage: HockeyAdvantageTypes;
|
|
61
53
|
advantageNum: number;
|
|
62
54
|
isGoalie: boolean;
|
|
63
|
-
penaltyType:
|
|
55
|
+
penaltyType: HockeyPenaltyType;
|
|
64
56
|
_penalizedGameUserId: number;
|
|
65
57
|
mutualPenalty: boolean;
|
|
66
|
-
foulOnGameUserId: number;
|
|
67
58
|
get penalizedGameUserId(): number;
|
|
68
59
|
set penalizedGameUserId(value: number);
|
|
69
60
|
compare(model: HockeyGameLog): number;
|
|
@@ -71,6 +62,4 @@ export declare class HockeyGameLog extends BaseModel implements GameLogBase {
|
|
|
71
62
|
isScoreType(): boolean;
|
|
72
63
|
isPenaltyType(): boolean;
|
|
73
64
|
isAfter(log: HockeyGameLog): boolean;
|
|
74
|
-
static toFront(value: any): any;
|
|
75
|
-
static toBack(value: any): any;
|
|
76
65
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { BaseModel } from './util';
|
|
2
1
|
import { GameStatisticBase } from './game-statistic-base';
|
|
3
|
-
export declare class HockeyGameStatistic extends
|
|
2
|
+
export declare class HockeyGameStatistic extends GameStatisticBase {
|
|
4
3
|
gameUserId: number;
|
|
5
4
|
points: number;
|
|
6
5
|
ppShotMisses: number;
|
|
@@ -35,20 +34,6 @@ export declare class HockeyGameStatistic extends BaseModel implements GameStatis
|
|
|
35
34
|
penaltyMinutes: number;
|
|
36
35
|
gameTime: number;
|
|
37
36
|
plusMinus: number;
|
|
38
|
-
steals: number;
|
|
39
|
-
ppSteals: number;
|
|
40
|
-
evSteals: number;
|
|
41
|
-
shSteals: number;
|
|
42
|
-
losses: number;
|
|
43
|
-
ppLosses: number;
|
|
44
|
-
evLosses: number;
|
|
45
|
-
shLosses: number;
|
|
46
|
-
sharpPasses: number;
|
|
47
|
-
ppSharpPasses: number;
|
|
48
|
-
evSharpPasses: number;
|
|
49
|
-
shSharpPasses: number;
|
|
50
|
-
drawnFouls: number;
|
|
51
|
-
efficiency: number;
|
|
52
37
|
updatedAt: Date;
|
|
53
38
|
get id(): number;
|
|
54
39
|
get shotsOnGoal(): number;
|
|
@@ -75,6 +60,4 @@ export declare class HockeyGameStatistic extends BaseModel implements GameStatis
|
|
|
75
60
|
get goalsPercent(): number;
|
|
76
61
|
get faceOffPercent(): number;
|
|
77
62
|
get goalpass(): number;
|
|
78
|
-
static toFront(data: any): any;
|
|
79
|
-
static toBack(data: any): any;
|
|
80
63
|
}
|
|
@@ -4,6 +4,4 @@ import { GameTeamStatisticBase } from './game-team-statistic-base';
|
|
|
4
4
|
export declare class HockeyGameTeamStatistic extends BaseModel implements GameTeamStatisticBase {
|
|
5
5
|
team: HockeyStatistic;
|
|
6
6
|
competitorTeam: HockeyStatistic;
|
|
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 HockeyStatistic extends
|
|
8
|
+
export declare class HockeyStatistic extends BaseStatistic {
|
|
10
9
|
leaguePlayer: LeaguePlayer;
|
|
11
10
|
tournamentTeamUser: TournamentTeamUser;
|
|
12
11
|
team: Team;
|
|
@@ -76,20 +75,6 @@ export declare class HockeyStatistic extends BaseModel implements BaseStatistic
|
|
|
76
75
|
penaltyMinutes: number;
|
|
77
76
|
gameTime: number;
|
|
78
77
|
plusMinus: number;
|
|
79
|
-
steals: number;
|
|
80
|
-
ppSteals: number;
|
|
81
|
-
evSteals: number;
|
|
82
|
-
shSteals: number;
|
|
83
|
-
losses: number;
|
|
84
|
-
ppLosses: number;
|
|
85
|
-
evLosses: number;
|
|
86
|
-
shLosses: number;
|
|
87
|
-
sharpPasses: number;
|
|
88
|
-
ppSharpPasses: number;
|
|
89
|
-
evSharpPasses: number;
|
|
90
|
-
shSharpPasses: number;
|
|
91
|
-
drawnFouls: number;
|
|
92
|
-
efficiency: number;
|
|
93
78
|
newbie: boolean;
|
|
94
79
|
rank: number;
|
|
95
80
|
get assists(): number;
|
|
@@ -97,6 +82,4 @@ export declare class HockeyStatistic extends BaseModel implements BaseStatistic
|
|
|
97
82
|
get userMinutes(): string;
|
|
98
83
|
get gamesWonPercent(): number;
|
|
99
84
|
get tournamentTeamPoints(): number;
|
|
100
|
-
static toFront(data: any): any;
|
|
101
|
-
static toBack(data: any): any;
|
|
102
85
|
}
|
package/models/league-court.d.ts
CHANGED
package/models/league-news.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { BaseModel } from './util';
|
|
2
2
|
import { File } from './file';
|
|
3
|
-
import { User
|
|
4
|
-
import { LeaguePlayerFieldValue } from './league-player-field-value';
|
|
3
|
+
import { User } from './user';
|
|
5
4
|
export declare enum Qualification {
|
|
6
5
|
practician = 1,
|
|
7
6
|
amateur = 2,
|
|
@@ -23,10 +22,7 @@ export declare enum Qualification {
|
|
|
23
22
|
goalkeeper_vhl = 18,
|
|
24
23
|
goalkeeper_khl = 19,
|
|
25
24
|
beginner = 20,
|
|
26
|
-
junior = 21
|
|
27
|
-
debutant = 22,
|
|
28
|
-
schoolchild = 23,
|
|
29
|
-
preschool_child = 24
|
|
25
|
+
junior = 21
|
|
30
26
|
}
|
|
31
27
|
export declare const QualificationLocalization: {
|
|
32
28
|
1: string;
|
|
@@ -50,9 +46,6 @@ export declare const QualificationLocalization: {
|
|
|
50
46
|
19: string;
|
|
51
47
|
20: string;
|
|
52
48
|
21: string;
|
|
53
|
-
22: string;
|
|
54
|
-
23: string;
|
|
55
|
-
24: string;
|
|
56
49
|
};
|
|
57
50
|
export declare class LeaguePlayer extends BaseModel {
|
|
58
51
|
id: number;
|
|
@@ -64,15 +57,11 @@ export declare class LeaguePlayer extends BaseModel {
|
|
|
64
57
|
birthDate: Date;
|
|
65
58
|
photo: File;
|
|
66
59
|
user: User;
|
|
67
|
-
gender: UserGender;
|
|
68
60
|
hasChanges: boolean;
|
|
69
61
|
rating: number;
|
|
70
62
|
qualification: Qualification;
|
|
71
|
-
fieldValues: LeaguePlayerFieldValue[];
|
|
72
63
|
get fullName(): string;
|
|
73
64
|
get shortName(): string;
|
|
74
65
|
get initials(): string;
|
|
75
66
|
get age(): number;
|
|
76
|
-
static toFront(data: any): any;
|
|
77
|
-
static toBack(data: any): any;
|
|
78
67
|
}
|
package/models/league-user.d.ts
CHANGED
package/models/league.d.ts
CHANGED
|
@@ -7,9 +7,8 @@ export declare class League extends BaseModel {
|
|
|
7
7
|
logo: File;
|
|
8
8
|
contactEmail: string;
|
|
9
9
|
contactPhone: string;
|
|
10
|
-
name: string;
|
|
10
|
+
readonly name: string;
|
|
11
11
|
alias: string;
|
|
12
|
-
domain: string;
|
|
13
12
|
sport: Sport;
|
|
14
13
|
description: string;
|
|
15
14
|
socialLinks: string[];
|
|
@@ -19,15 +18,11 @@ export declare class League extends BaseModel {
|
|
|
19
18
|
documentsCount: number;
|
|
20
19
|
closestGameDatetime: string;
|
|
21
20
|
cover: File;
|
|
22
|
-
coverMobile: File;
|
|
23
21
|
about: string;
|
|
24
|
-
static toFront(data: any): any;
|
|
25
|
-
static toBack(data: any): any;
|
|
26
22
|
get vkLink(): string;
|
|
27
23
|
get fbLink(): string;
|
|
28
24
|
get instaLink(): string;
|
|
29
25
|
get youtubeLink(): string;
|
|
30
26
|
get telegramLink(): string;
|
|
31
27
|
get tiktokLink(): string;
|
|
32
|
-
checkRuDomain(): boolean;
|
|
33
28
|
}
|
package/models/media-item.d.ts
CHANGED
package/models/notification.d.ts
CHANGED
package/models/organization.d.ts
CHANGED
package/models/playoff.d.ts
CHANGED
|
@@ -11,8 +11,6 @@ export declare class PlayoffSettings extends BaseModel {
|
|
|
11
11
|
type: PlayoffTypes;
|
|
12
12
|
minPlayerGamesCount: number;
|
|
13
13
|
minPlayerTime: number;
|
|
14
|
-
static toFront(data: any): any;
|
|
15
|
-
static toBack(data: any): any;
|
|
16
14
|
}
|
|
17
15
|
export declare class Playoff extends BaseModel {
|
|
18
16
|
id: number;
|
|
@@ -24,8 +22,6 @@ export declare class Playoff extends BaseModel {
|
|
|
24
22
|
tournamentRoundId: number;
|
|
25
23
|
divisionId: number;
|
|
26
24
|
private stages;
|
|
27
|
-
static toFront(data: any): any;
|
|
28
|
-
static toBack(data: any): any;
|
|
29
25
|
get stagesCount(): number;
|
|
30
26
|
getPlayoffStages(): {
|
|
31
27
|
title: string;
|
package/models/poll.d.ts
CHANGED
|
@@ -8,16 +8,12 @@ export declare enum PollStatuses {
|
|
|
8
8
|
export declare class PollVariant extends BaseModel {
|
|
9
9
|
uuid: string;
|
|
10
10
|
name: string;
|
|
11
|
-
static toFront(data: any): any;
|
|
12
|
-
static toBack(data: any): any;
|
|
13
11
|
}
|
|
14
12
|
export declare class PollAnswer extends BaseModel {
|
|
15
13
|
id: number;
|
|
16
14
|
answerUuid: string;
|
|
17
15
|
user: User;
|
|
18
16
|
pollId: number;
|
|
19
|
-
static toFront(data: any): any;
|
|
20
|
-
static toBack(data: any): any;
|
|
21
17
|
}
|
|
22
18
|
export declare class Poll extends BaseModel {
|
|
23
19
|
id: number;
|
|
@@ -41,6 +37,4 @@ export declare class Poll extends BaseModel {
|
|
|
41
37
|
set answers(value: PollAnswer[]);
|
|
42
38
|
get answers(): PollAnswer[];
|
|
43
39
|
calculateAnswersPercentage(): void;
|
|
44
|
-
static toFront(data: any): any;
|
|
45
|
-
static toBack(data: any): any;
|
|
46
40
|
}
|
package/models/public-api.d.ts
CHANGED
|
@@ -42,12 +42,6 @@ export * from './league-banner';
|
|
|
42
42
|
export * from './league-playlist';
|
|
43
43
|
export * from './league-player';
|
|
44
44
|
export * from './league-document';
|
|
45
|
-
export * from './league-field-base';
|
|
46
|
-
export * from './league-field-base-value';
|
|
47
|
-
export * from './league-player-field';
|
|
48
|
-
export * from './league-player-field-value';
|
|
49
|
-
export * from './league-team-field';
|
|
50
|
-
export * from './tournament-team-field-value';
|
|
51
45
|
export * from './media-item';
|
|
52
46
|
export * from './notification';
|
|
53
47
|
export * from './notification-settings';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BaseModel } from './util';
|
|
2
1
|
import { GameTimeTypes, OvertimeTypes, RugbyStatisticTypes } from './tournament';
|
|
3
|
-
|
|
2
|
+
import { GameConfigBase } from './game-config-base';
|
|
3
|
+
export declare class RugbyGameConfig extends GameConfigBase {
|
|
4
4
|
periodsCount: number;
|
|
5
5
|
periodTime: number;
|
|
6
6
|
overtimeType: OvertimeTypes;
|
|
@@ -12,6 +12,4 @@ export declare class RugbyGameConfig extends BaseModel {
|
|
|
12
12
|
freeSubstituteEnabled: boolean;
|
|
13
13
|
statisticType: RugbyStatisticTypes;
|
|
14
14
|
get penaltyPeriod(): number;
|
|
15
|
-
static toFront(data: any): any;
|
|
16
|
-
static toBack(data: any): any;
|
|
17
15
|
}
|
|
@@ -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
|
import { RugbyFoulGameStage, RugbyFoulSanctions, RugbyFoulType } from './rugby-foul-type';
|
|
@@ -54,7 +53,7 @@ export declare const RUGBY_GAME_LOG_TYPE_POINTS: {
|
|
|
54
53
|
22: number;
|
|
55
54
|
};
|
|
56
55
|
export declare const RUGBY_TEAM_LOG_TYPES: RugbyGameLogTypes[];
|
|
57
|
-
export declare class RugbyGameLog extends
|
|
56
|
+
export declare class RugbyGameLog extends GameLogBase {
|
|
58
57
|
id: number;
|
|
59
58
|
uniqueId: string;
|
|
60
59
|
group: string;
|
|
@@ -80,6 +79,4 @@ export declare class RugbyGameLog extends BaseModel implements GameLogBase {
|
|
|
80
79
|
isAfter(log: RugbyGameLog): boolean;
|
|
81
80
|
isFoulType(): boolean;
|
|
82
81
|
isTeamType(): boolean;
|
|
83
|
-
static toFront(value: any): any;
|
|
84
|
-
static toBack(value: any): any;
|
|
85
82
|
}
|
|
@@ -1,16 +1,21 @@
|
|
|
1
|
-
import { BaseModel } from './util';
|
|
2
1
|
import { GameStatisticBase } from './game-statistic-base';
|
|
3
|
-
export declare class RugbyGameStatistic extends
|
|
2
|
+
export declare class RugbyGameStatistic extends GameStatisticBase {
|
|
4
3
|
gameUserId: number;
|
|
5
4
|
points: number;
|
|
6
5
|
tries: number;
|
|
7
6
|
penaltyTries: number;
|
|
7
|
+
conversionKicks: number;
|
|
8
8
|
conversionGoals: number;
|
|
9
9
|
conversionMisses: number;
|
|
10
|
+
conversionGoalsPercent: number;
|
|
10
11
|
penaltyMisses: number;
|
|
11
12
|
penaltyGoals: number;
|
|
13
|
+
penaltyKicksOnGoal: number;
|
|
14
|
+
penaltyGoalsPercent: number;
|
|
12
15
|
dropGoals: number;
|
|
13
16
|
dropGoalMisses: number;
|
|
17
|
+
dropGoalKicks: number;
|
|
18
|
+
dropGoalsPercent: number;
|
|
14
19
|
freeKicks: number;
|
|
15
20
|
yellowCards: number;
|
|
16
21
|
redCards: number;
|
|
@@ -27,15 +32,7 @@ export declare class RugbyGameStatistic extends BaseModel implements GameStatist
|
|
|
27
32
|
updatedAt: Date;
|
|
28
33
|
get id(): number;
|
|
29
34
|
get gameMinutes(): number;
|
|
30
|
-
get conversionKicks(): number;
|
|
31
|
-
get conversionGoalsPercent(): number;
|
|
32
|
-
get penaltyKicksOnGoal(): number;
|
|
33
|
-
get penaltyGoalsPercent(): number;
|
|
34
|
-
get dropGoalKicks(): number;
|
|
35
|
-
get dropGoalsPercent(): number;
|
|
36
35
|
get totalGoals(): number;
|
|
37
36
|
get footShots(): number;
|
|
38
37
|
get totalFouls(): number;
|
|
39
|
-
static toFront(data: any): any;
|
|
40
|
-
static toBack(data: any): any;
|
|
41
38
|
}
|
|
@@ -4,6 +4,4 @@ import { GameTeamStatisticBase } from './game-team-statistic-base';
|
|
|
4
4
|
export declare class RugbyGameTeamStatistic extends BaseModel implements GameTeamStatisticBase {
|
|
5
5
|
team: RugbyStatistic;
|
|
6
6
|
competitorTeam: RugbyStatistic;
|
|
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 RugbyStatistic extends
|
|
8
|
+
export declare class RugbyStatistic extends BaseStatistic {
|
|
10
9
|
leaguePlayer: LeaguePlayer;
|
|
11
10
|
tournamentTeamUser: TournamentTeamUser;
|
|
12
11
|
team: Team;
|
|
@@ -85,6 +84,4 @@ export declare class RugbyStatistic extends BaseModel implements BaseStatistic {
|
|
|
85
84
|
teamFouls: number;
|
|
86
85
|
get userMinutes(): string;
|
|
87
86
|
get totalFouls(): number;
|
|
88
|
-
static toFront(data: any): any;
|
|
89
|
-
static toBack(data: any): any;
|
|
90
87
|
}
|
package/models/sport.d.ts
CHANGED
package/models/team-access.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
+
import { BaseModel } from './util';
|
|
1
2
|
export declare enum TeamEventInviteStatuses {
|
|
2
3
|
accepted = 1,
|
|
3
4
|
declined = 2
|
|
4
5
|
}
|
|
5
|
-
export declare class TeamEventInvite {
|
|
6
|
+
export declare class TeamEventInvite extends BaseModel {
|
|
6
7
|
id: number;
|
|
7
8
|
teamEventId: number;
|
|
8
9
|
teamUserId: number;
|
|
9
10
|
status: TeamEventInviteStatuses;
|
|
10
|
-
static toFront(data: any): any;
|
|
11
|
-
static toBack(data: any): any;
|
|
12
11
|
}
|
package/models/team-event.d.ts
CHANGED
package/models/team-invite.d.ts
CHANGED