@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
package/models/team.d.ts
CHANGED
|
@@ -8,12 +8,8 @@ export declare class TournamentJoinData extends BaseModel {
|
|
|
8
8
|
alreadyInTournament: boolean;
|
|
9
9
|
get usersCount(): number;
|
|
10
10
|
get valid(): boolean;
|
|
11
|
-
static toFront(data: any): any;
|
|
12
|
-
static toBack(data: any): any;
|
|
13
11
|
}
|
|
14
12
|
export declare class TournamentJoinTeam extends BaseModel {
|
|
15
13
|
team: Team;
|
|
16
14
|
joinData: TournamentJoinData;
|
|
17
|
-
static toFront(data: any): any;
|
|
18
|
-
static toBack(data: any): any;
|
|
19
15
|
}
|
|
@@ -2,15 +2,7 @@ import { BaseModel } from './util';
|
|
|
2
2
|
import { TournamentGroup } from './tournament-group';
|
|
3
3
|
import { TournamentDivision } from './tournament-division';
|
|
4
4
|
import { TournamentTeam } from './tournament-team';
|
|
5
|
-
|
|
6
|
-
id: number;
|
|
7
|
-
teamId: number;
|
|
8
|
-
competitorTeamId: number;
|
|
9
|
-
teamScore: number;
|
|
10
|
-
competitorTeamScore: number;
|
|
11
|
-
static toFront(data: any): any;
|
|
12
|
-
static toBack(data: any): any;
|
|
13
|
-
}
|
|
5
|
+
import { Game } from './game';
|
|
14
6
|
export declare class TournamentRoundTeam extends BaseModel {
|
|
15
7
|
private _games;
|
|
16
8
|
id: number;
|
|
@@ -42,10 +34,8 @@ export declare class TournamentRoundTeam extends BaseModel {
|
|
|
42
34
|
[key: string]: number;
|
|
43
35
|
};
|
|
44
36
|
gamesMapping: {
|
|
45
|
-
[key: number]:
|
|
37
|
+
[key: number]: Game[];
|
|
46
38
|
};
|
|
47
|
-
set games(value:
|
|
48
|
-
get games():
|
|
49
|
-
static toFront(data: any): any;
|
|
50
|
-
static toBack(data: any): any;
|
|
39
|
+
set games(value: Game[]);
|
|
40
|
+
get games(): Game[];
|
|
51
41
|
}
|
|
@@ -5,14 +5,9 @@ import { TournamentDisqualification } from './tournament-disqualification';
|
|
|
5
5
|
import { LeaguePlayer } from './league-player';
|
|
6
6
|
export declare class TournamentTeamUser extends BaseModel {
|
|
7
7
|
id: number;
|
|
8
|
-
active: boolean;
|
|
9
8
|
tournamentTeam: TournamentTeam;
|
|
10
9
|
teamUser: TeamUser;
|
|
11
10
|
disqualified: boolean;
|
|
12
11
|
disqualification: TournamentDisqualification;
|
|
13
12
|
leaguePlayer: LeaguePlayer;
|
|
14
|
-
gamesCount: number;
|
|
15
|
-
mvpCount: number;
|
|
16
|
-
static toFront(data: any): any;
|
|
17
|
-
static toBack(data: any): any;
|
|
18
13
|
}
|
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
import { BaseModel } from './util';
|
|
2
2
|
import { Team } from './team';
|
|
3
3
|
import { TournamentGroup } from './tournament-group';
|
|
4
|
-
import { Game } from './game';
|
|
5
|
-
import { Tournament } from './tournament';
|
|
6
4
|
import { File } from './file';
|
|
7
5
|
import { TournamentDivision } from './tournament-division';
|
|
8
|
-
import { TournamentTeamFieldValue } from './tournament-team-field-value';
|
|
9
|
-
export declare class TeamAdditionalData {
|
|
10
|
-
nickname: string;
|
|
11
|
-
color: string;
|
|
12
|
-
static toFront(data: any): any;
|
|
13
|
-
static toBack(data: any): any;
|
|
14
|
-
}
|
|
15
6
|
export declare class TournamentTeam extends BaseModel {
|
|
16
7
|
id: number;
|
|
17
8
|
name: string;
|
|
@@ -20,11 +11,9 @@ export declare class TournamentTeam extends BaseModel {
|
|
|
20
11
|
teamUniform: File;
|
|
21
12
|
teamId: number;
|
|
22
13
|
tournamentId: number;
|
|
23
|
-
tournament: Tournament;
|
|
24
14
|
team: Team;
|
|
25
15
|
group: TournamentGroup;
|
|
26
16
|
division: TournamentDivision;
|
|
27
|
-
teamAdditionalData: TeamAdditionalData;
|
|
28
17
|
finalStanding: number;
|
|
29
18
|
gamesCount: number;
|
|
30
19
|
wonGamesCount: number;
|
|
@@ -39,19 +28,14 @@ export declare class TournamentTeam extends BaseModel {
|
|
|
39
28
|
points: number;
|
|
40
29
|
mtPoints: number;
|
|
41
30
|
usersCount: number;
|
|
42
|
-
games: Game[];
|
|
43
31
|
notificationsCount: number;
|
|
44
32
|
winNormalTimeGamesCount: number;
|
|
45
33
|
loseNormalTimeGamesCount: number;
|
|
46
34
|
winOvertimeGamesCount: number;
|
|
47
35
|
loseOvertimeGamesCount: number;
|
|
48
|
-
lastFiveGames: Game[];
|
|
49
36
|
triesScored: number;
|
|
50
37
|
triesMissed: number;
|
|
51
38
|
attackBonuses: number;
|
|
52
39
|
defenseBonuses: number;
|
|
53
|
-
fieldValues: TournamentTeamFieldValue[];
|
|
54
40
|
get gamesWonPercent(): number;
|
|
55
|
-
static toFront(data: any): any;
|
|
56
|
-
static toBack(data: any): any;
|
|
57
41
|
}
|
package/models/tournament.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { City } from './city';
|
|
|
3
3
|
import { File } from './file';
|
|
4
4
|
import { League } from './league';
|
|
5
5
|
import { Sport } from './sport';
|
|
6
|
-
import { Team } from './team';
|
|
7
6
|
import { TournamentSeason } from './tournament-season';
|
|
7
|
+
import { TournamentTeam } from './tournament-team';
|
|
8
8
|
export declare enum TournamentTypes {
|
|
9
9
|
group = "group",
|
|
10
10
|
elimination = "elimination",
|
|
@@ -91,21 +91,7 @@ export declare class TournamentSettings extends BaseModel {
|
|
|
91
91
|
misconductPenaltyTime: number;
|
|
92
92
|
gameMisconductPenaltyTime: number;
|
|
93
93
|
timerType: TimerTypes;
|
|
94
|
-
hideOnLeagueMainPage: boolean;
|
|
95
94
|
get genderTitle(): string;
|
|
96
|
-
static toFront(data: any): any;
|
|
97
|
-
static toBack(data: any): any;
|
|
98
|
-
}
|
|
99
|
-
export declare class TournamentTeamWinner extends BaseModel {
|
|
100
|
-
id: number;
|
|
101
|
-
teamId: number;
|
|
102
|
-
tournamentId: number;
|
|
103
|
-
name: string;
|
|
104
|
-
logo: File;
|
|
105
|
-
team: Team;
|
|
106
|
-
points: number;
|
|
107
|
-
static toFront(data: any): any;
|
|
108
|
-
static toBack(data: any): any;
|
|
109
95
|
}
|
|
110
96
|
export declare class Tournament extends BaseModel {
|
|
111
97
|
id: number;
|
|
@@ -113,7 +99,6 @@ export declare class Tournament extends BaseModel {
|
|
|
113
99
|
alias: string;
|
|
114
100
|
logo: File;
|
|
115
101
|
cover: File;
|
|
116
|
-
coverMobile: File;
|
|
117
102
|
previewImage: File;
|
|
118
103
|
city: City;
|
|
119
104
|
sport: Sport;
|
|
@@ -127,14 +112,13 @@ export declare class Tournament extends BaseModel {
|
|
|
127
112
|
teamsCount: number;
|
|
128
113
|
closestGameDatetime: string;
|
|
129
114
|
status: TournamentStatuses;
|
|
130
|
-
teamWinner:
|
|
131
|
-
teamSecond:
|
|
132
|
-
teamThird:
|
|
115
|
+
teamWinner: TournamentTeam;
|
|
116
|
+
teamSecond: TournamentTeam;
|
|
117
|
+
teamThird: TournamentTeam;
|
|
133
118
|
season: TournamentSeason;
|
|
134
119
|
seasonId: number;
|
|
135
120
|
gamePrice: number;
|
|
136
121
|
seasonTournamentId: number;
|
|
122
|
+
leagueId: number;
|
|
137
123
|
getEmptyLogoClass(): string;
|
|
138
|
-
static toFront(data: any): any;
|
|
139
|
-
static toBack(data: any): any;
|
|
140
124
|
}
|
package/models/user-access.d.ts
CHANGED
package/models/user-profile.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { BaseModel } from './util';
|
|
2
|
+
export declare class UserProfile extends BaseModel {
|
|
2
3
|
id: number;
|
|
3
4
|
userId: number;
|
|
4
5
|
height: number;
|
|
5
6
|
weight: number;
|
|
6
|
-
static toFront(value: any): any;
|
|
7
|
-
static toBack(value: any): any;
|
|
8
7
|
}
|
package/models/user.d.ts
CHANGED
|
@@ -10,8 +10,8 @@ import { HandballProfile } from './handball-profile';
|
|
|
10
10
|
import { RugbyProfile } from './rugby-profile';
|
|
11
11
|
import { WaterpoloProfile } from './waterpolo-profile';
|
|
12
12
|
export declare enum UserGender {
|
|
13
|
-
male =
|
|
14
|
-
female =
|
|
13
|
+
male = "male",
|
|
14
|
+
female = "female"
|
|
15
15
|
}
|
|
16
16
|
export declare class User extends BaseModel {
|
|
17
17
|
id: number;
|
|
@@ -34,10 +34,6 @@ export declare class User extends BaseModel {
|
|
|
34
34
|
city: City;
|
|
35
35
|
gender: UserGender;
|
|
36
36
|
isActive: boolean;
|
|
37
|
-
uniqueCode: string;
|
|
38
|
-
createdByLeagueId: number;
|
|
39
|
-
static toFront(data: any): any;
|
|
40
|
-
static toBack(user: User): any;
|
|
41
37
|
get fullName(): string;
|
|
42
38
|
get shortName(): string;
|
|
43
39
|
get initials(): string;
|
package/models/util.d.ts
CHANGED
|
@@ -1,53 +1,29 @@
|
|
|
1
|
-
export declare const MODEL_MAPPING_FIELDS_KEY = "_mapping_fields_";
|
|
2
|
-
export declare const MODEL_RELATION_KEY = "_relation_";
|
|
3
|
-
export declare const MODEL_TO_FRONT_KEY = "_to_front_";
|
|
4
|
-
export declare const MODEL_TO_BACK_KEY = "_to_back_";
|
|
5
|
-
interface ModelTypeInterface {
|
|
6
|
-
new (data?: any): any;
|
|
7
|
-
}
|
|
8
|
-
export interface ModelInterface {
|
|
9
|
-
toFront(dto: any): any;
|
|
10
|
-
toBack(dto: any): any;
|
|
11
|
-
}
|
|
12
1
|
export declare abstract class BaseModel {
|
|
13
|
-
constructor(data?:
|
|
2
|
+
constructor(data?: any, fields?: string[]);
|
|
3
|
+
json(fields?: any[]): {
|
|
14
4
|
[key: string]: any;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
5
|
+
};
|
|
6
|
+
update<T>(data: {
|
|
7
|
+
[Property in keyof T]?: T[Property];
|
|
8
|
+
}): T;
|
|
18
9
|
}
|
|
10
|
+
export declare function toJson(data: any, fields?: any[]): object;
|
|
11
|
+
export interface ModelRelation<T> {
|
|
12
|
+
create(data: any): T;
|
|
13
|
+
json(data: T): any;
|
|
14
|
+
}
|
|
15
|
+
export declare function listField<R, T extends ModelRelation<R>>(relation: ModelRelation<R>): ModelRelation<R[]>;
|
|
16
|
+
export declare function nestedModel<T extends BaseModel>(model: new (data: any, fields: any) => T, fields?: string[]): ModelRelation<T>;
|
|
19
17
|
export declare function enumField(enumClass: any): {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
23
|
-
export declare function penaltyTypeField(): {
|
|
24
|
-
toFront: (data: any) => any;
|
|
25
|
-
toBack: (data: any) => any;
|
|
26
|
-
};
|
|
27
|
-
export declare function listField(modelClass: any): {
|
|
28
|
-
toFront: (value: any) => any[];
|
|
29
|
-
toBack: (value: any) => any[];
|
|
18
|
+
create: (value: any) => any;
|
|
19
|
+
json: (value: any) => any;
|
|
30
20
|
};
|
|
31
|
-
export declare
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
export declare
|
|
36
|
-
static toFront(date: any): any;
|
|
37
|
-
static toBack(date: Date): any;
|
|
38
|
-
}
|
|
39
|
-
export declare function ModelInstance(config: {
|
|
40
|
-
mappingFields?: {
|
|
41
|
-
[key: string]: string;
|
|
42
|
-
};
|
|
21
|
+
export declare const dateTimeField: ModelRelation<Date>;
|
|
22
|
+
export declare const dateField: ModelRelation<Date>;
|
|
23
|
+
export declare function toCamelCase(key: string): string;
|
|
24
|
+
export declare function toUnderscore(key: string): string;
|
|
25
|
+
export declare function Model<T>(config?: {
|
|
43
26
|
relation?: {
|
|
44
|
-
[key: string]:
|
|
27
|
+
[key: string]: ModelRelation<any>;
|
|
45
28
|
};
|
|
46
|
-
}): (target:
|
|
47
|
-
export declare const ToFrontHook: (target: ModelTypeInterface, key: string | symbol, descriptor: TypedPropertyDescriptor<Function>) => {
|
|
48
|
-
value: (...args: any[]) => any;
|
|
49
|
-
};
|
|
50
|
-
export declare const ToBackHook: (target: ModelTypeInterface, key: string | symbol, descriptor: TypedPropertyDescriptor<Function>) => {
|
|
51
|
-
value: (...args: any[]) => any;
|
|
52
|
-
};
|
|
53
|
-
export {};
|
|
29
|
+
}): (target: typeof BaseModel) => any;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { BaseModel } from './util';
|
|
2
1
|
import { VolleyballStatisticTypes } from './tournament';
|
|
2
|
+
import { GameConfigBase } from './game-config-base';
|
|
3
3
|
export declare enum VolleyballGameTypes {
|
|
4
4
|
best_of_five = 1,
|
|
5
5
|
best_of_three = 2
|
|
6
6
|
}
|
|
7
|
-
export declare class VolleyballGameConfig extends
|
|
7
|
+
export declare class VolleyballGameConfig extends GameConfigBase {
|
|
8
8
|
gameType: VolleyballGameTypes;
|
|
9
9
|
timeoutCount: number;
|
|
10
10
|
timeoutTime: number;
|
|
@@ -15,6 +15,4 @@ export declare class VolleyballGameConfig extends BaseModel {
|
|
|
15
15
|
liberoUserIds: number[];
|
|
16
16
|
get setsCount(): number;
|
|
17
17
|
getSetMaxScore(set: number): number;
|
|
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 { GameLogBase } from './game-log-base';
|
|
3
2
|
import { GameUser } from './game-user';
|
|
4
3
|
export declare enum VolleyballGameLogType {
|
|
@@ -29,7 +28,7 @@ export declare enum VolleyballGameLogType {
|
|
|
29
28
|
}
|
|
30
29
|
export declare const SCORE_LOG_TYPES: VolleyballGameLogType[];
|
|
31
30
|
export declare const FAULT_LOG_TYPES: VolleyballGameLogType[];
|
|
32
|
-
export declare class VolleyballGameLog extends
|
|
31
|
+
export declare class VolleyballGameLog extends GameLogBase {
|
|
33
32
|
id: number;
|
|
34
33
|
uniqueId: string;
|
|
35
34
|
active: boolean;
|
|
@@ -54,6 +53,4 @@ export declare class VolleyballGameLog extends BaseModel implements GameLogBase
|
|
|
54
53
|
isBlock(): boolean;
|
|
55
54
|
isEnterExit(): boolean;
|
|
56
55
|
isComboType(): boolean;
|
|
57
|
-
static toFront(data: any): any;
|
|
58
|
-
static toBack(data: any): any;
|
|
59
56
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { BaseModel } from './util';
|
|
2
1
|
import { GameStatisticBase } from './game-statistic-base';
|
|
3
|
-
export declare class VolleyballGameStatistic extends
|
|
2
|
+
export declare class VolleyballGameStatistic extends GameStatisticBase {
|
|
4
3
|
gameUserId: number;
|
|
5
4
|
serveHits: number;
|
|
6
5
|
serveFaults: number;
|
|
@@ -29,6 +28,4 @@ export declare class VolleyballGameStatistic extends BaseModel implements GameSt
|
|
|
29
28
|
get totalServes(): number;
|
|
30
29
|
get totalAttacks(): number;
|
|
31
30
|
get totalBlocks(): number;
|
|
32
|
-
static toFront(data: any): any;
|
|
33
|
-
static toBack(data: any): any;
|
|
34
31
|
}
|
|
@@ -4,6 +4,4 @@ import { GameTeamStatisticBase } from './game-team-statistic-base';
|
|
|
4
4
|
export declare class VolleyballGameTeamStatistic extends BaseModel implements GameTeamStatisticBase {
|
|
5
5
|
team: VolleyballStatistic;
|
|
6
6
|
competitorTeam: VolleyballStatistic;
|
|
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 { Team } from './team';
|
|
3
2
|
import { TournamentTeamUser } from './tournament-team-user';
|
|
4
3
|
import { TeamUser } from './team-user';
|
|
@@ -6,7 +5,7 @@ import { TournamentTeam } from './tournament-team';
|
|
|
6
5
|
import { User } from './user';
|
|
7
6
|
import { BaseStatistic, WinLoseType } from './base-statistic';
|
|
8
7
|
import { LeaguePlayer } from './league-player';
|
|
9
|
-
export declare class VolleyballStatistic extends
|
|
8
|
+
export declare class VolleyballStatistic extends BaseStatistic {
|
|
10
9
|
leaguePlayer: LeaguePlayer;
|
|
11
10
|
tournamentTeamUser: TournamentTeamUser;
|
|
12
11
|
team: Team;
|
|
@@ -52,6 +51,4 @@ export declare class VolleyballStatistic extends BaseModel implements BaseStatis
|
|
|
52
51
|
get totalServes(): number;
|
|
53
52
|
get totalAttacks(): number;
|
|
54
53
|
get totalBlocks(): number;
|
|
55
|
-
static toFront(data: any): any;
|
|
56
|
-
static toBack(data: any): any;
|
|
57
54
|
}
|
|
@@ -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 WaterpoloGameConfig extends GameConfigBase {
|
|
4
4
|
periodsCount: number;
|
|
5
5
|
periodTime: number;
|
|
6
6
|
overtimeType: OvertimeTypes;
|
|
@@ -12,8 +12,6 @@ export declare class WaterpoloGameConfig extends BaseModel {
|
|
|
12
12
|
gameTimeType: GameTimeTypes;
|
|
13
13
|
substituteManageEnabled: boolean;
|
|
14
14
|
shotClockEnabled: boolean;
|
|
15
|
-
static toFront(data: any): any;
|
|
16
|
-
static toBack(data: any): any;
|
|
17
15
|
get overtimePeriod(): number;
|
|
18
16
|
get bullitsPeriod(): number;
|
|
19
17
|
get playoffBullitsPeriod(): number;
|
|
@@ -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 WaterpoloGameLogTypes {
|
|
@@ -72,7 +71,7 @@ export declare enum WaterpoloAdvantageTypes {
|
|
|
72
71
|
shorthanded = 2,
|
|
73
72
|
even_strength = 3
|
|
74
73
|
}
|
|
75
|
-
export declare class WaterpoloGameLog extends
|
|
74
|
+
export declare class WaterpoloGameLog extends GameLogBase {
|
|
76
75
|
id: number;
|
|
77
76
|
uniqueId: string;
|
|
78
77
|
gameId: number;
|
|
@@ -102,6 +101,4 @@ export declare class WaterpoloGameLog extends BaseModel implements GameLogBase {
|
|
|
102
101
|
isPenaltyType(): boolean;
|
|
103
102
|
isFoulType(): boolean;
|
|
104
103
|
isAfter(log: WaterpoloGameLog): boolean;
|
|
105
|
-
static toFront(value: any): any;
|
|
106
|
-
static toBack(value: any): any;
|
|
107
104
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { BaseModel } from './util';
|
|
2
1
|
import { GameStatisticBase } from './game-statistic-base';
|
|
3
|
-
export declare class WaterpoloGameStatistic extends
|
|
2
|
+
export declare class WaterpoloGameStatistic extends GameStatisticBase {
|
|
4
3
|
gameUserId: number;
|
|
5
4
|
points: number;
|
|
6
5
|
ppShotMisses: number;
|
|
@@ -278,6 +277,4 @@ export declare class WaterpoloGameStatistic extends BaseModel implements GameSta
|
|
|
278
277
|
get totalEvGoalsAgainst(): number;
|
|
279
278
|
get totalEvShotsAgainst(): number;
|
|
280
279
|
get totalEvSavesPercent(): number;
|
|
281
|
-
static toFront(data: any): any;
|
|
282
|
-
static toBack(data: any): any;
|
|
283
280
|
}
|
|
@@ -4,6 +4,4 @@ import { GameTeamStatisticBase } from './game-team-statistic-base';
|
|
|
4
4
|
export declare class WaterpoloGameTeamStatistic extends BaseModel implements GameTeamStatisticBase {
|
|
5
5
|
team: WaterpoloStatistic;
|
|
6
6
|
competitorTeam: WaterpoloStatistic;
|
|
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 WaterpoloStatistic extends
|
|
8
|
+
export declare class WaterpoloStatistic extends BaseStatistic {
|
|
10
9
|
leaguePlayer: LeaguePlayer;
|
|
11
10
|
tournamentTeamUser: TournamentTeamUser;
|
|
12
11
|
team: Team;
|
|
@@ -282,6 +281,4 @@ export declare class WaterpoloStatistic extends BaseModel implements BaseStatist
|
|
|
282
281
|
get penaltyTime(): string;
|
|
283
282
|
get gamesWonPercent(): number;
|
|
284
283
|
get tournamentTeamPoints(): number;
|
|
285
|
-
static toFront(data: any): any;
|
|
286
|
-
static toBack(data: any): any;
|
|
287
284
|
}
|
package/mtgame-core.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,21 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mtgame/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"tslib": "^2.2.0",
|
|
6
|
+
"@sentry/angular": "~7.9.0",
|
|
6
7
|
"centrifuge": "^3.0.1"
|
|
7
8
|
},
|
|
8
9
|
"peerDependencies": {
|
|
9
|
-
"@angular/common": "12
|
|
10
|
-
"@angular/core": "12
|
|
11
|
-
"@angular/cdk": "12
|
|
10
|
+
"@angular/common": "12.x || 13.x || 14.x",
|
|
11
|
+
"@angular/core": "12.x || 13.x || 14.x",
|
|
12
|
+
"@angular/cdk": "12.x || 13.x || 14.x"
|
|
12
13
|
},
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"fesm2015": "fesm2015/mtgame-core.
|
|
14
|
+
"module": "fesm2015/mtgame-core.mjs",
|
|
15
|
+
"es2020": "fesm2020/mtgame-core.mjs",
|
|
16
|
+
"esm2020": "esm2020/mtgame-core.mjs",
|
|
17
|
+
"fesm2020": "fesm2020/mtgame-core.mjs",
|
|
18
|
+
"fesm2015": "fesm2015/mtgame-core.mjs",
|
|
18
19
|
"typings": "mtgame-core.d.ts",
|
|
19
|
-
"
|
|
20
|
+
"exports": {
|
|
21
|
+
"./package.json": {
|
|
22
|
+
"default": "./package.json"
|
|
23
|
+
},
|
|
24
|
+
".": {
|
|
25
|
+
"types": "./mtgame-core.d.ts",
|
|
26
|
+
"esm2020": "./esm2020/mtgame-core.mjs",
|
|
27
|
+
"es2020": "./fesm2020/mtgame-core.mjs",
|
|
28
|
+
"es2015": "./fesm2015/mtgame-core.mjs",
|
|
29
|
+
"node": "./fesm2015/mtgame-core.mjs",
|
|
30
|
+
"default": "./fesm2020/mtgame-core.mjs"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
20
33
|
"sideEffects": false
|
|
21
34
|
}
|
package/public-api.d.ts
CHANGED