@mtgame/core 0.1.57 → 0.1.59
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/bundles/mtgame-core.umd.js +4098 -4068
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/api/basketball-game-api.js +8 -9
- package/esm2015/api/feedback-api.js +8 -9
- package/esm2015/api/file-api.js +8 -9
- package/esm2015/api/football-game-api.js +8 -9
- package/esm2015/api/game-base-api.js +8 -9
- package/esm2015/api/handball-game-api.js +8 -9
- package/esm2015/api/hockey-game-api.js +8 -9
- package/esm2015/api/league-api.js +8 -9
- package/esm2015/api/league-news-api.js +8 -9
- package/esm2015/api/league-player-api.js +7 -9
- package/esm2015/api/media-api.js +8 -9
- package/esm2015/api/notification-api.js +6 -8
- package/esm2015/api/notification-base-api.js +8 -9
- package/esm2015/api/org-notification-api.js +6 -8
- package/esm2015/api/paginated-response.interface.js +2 -1
- package/esm2015/api/public-api.js +2 -1
- package/esm2015/api/public-team-api.js +7 -9
- package/esm2015/api/public-user-api.js +7 -9
- package/esm2015/api/reference-api.js +8 -9
- package/esm2015/api/rugby-game-api.js +8 -9
- package/esm2015/api/team-api.js +9 -10
- package/esm2015/api/team-event-api.js +8 -9
- package/esm2015/api/tournament-api.js +8 -9
- package/esm2015/api/tournament-join-api.js +8 -9
- package/esm2015/api/tournament-season-api.js +8 -9
- package/esm2015/api/tournament-stage-api.js +8 -9
- package/esm2015/api/user-api.js +8 -9
- package/esm2015/api/volleyball-game-api.js +8 -9
- package/esm2015/http-cookie.interceptor.js +6 -9
- package/esm2015/localization/basketball-game-log-types.js +1 -1
- package/esm2015/localization/football-game-log-types.js +1 -1
- package/esm2015/localization/handball-game-log-types.js +1 -1
- package/esm2015/localization/hockey-game-log-types.js +1 -1
- package/esm2015/localization/hockey-penalty-types.js +1 -1
- package/esm2015/localization/overtime-types.js +1 -1
- package/esm2015/localization/public-api.js +1 -1
- package/esm2015/localization/rugby-foul-sanction.js +1 -1
- package/esm2015/localization/rugby-game-log-types.js +1 -1
- package/esm2015/localization/team-event-type.js +1 -1
- package/esm2015/localization/team-user-role.js +1 -1
- package/esm2015/localization/user-profile.js +1 -1
- package/esm2015/localization/volleyball-game-log-types.js +1 -1
- package/esm2015/models/base-statistic.js +2 -1
- package/esm2015/models/basketball-game-config.js +1 -1
- package/esm2015/models/basketball-game-log.js +1 -1
- package/esm2015/models/basketball-game-statistic.js +1 -1
- package/esm2015/models/basketball-game-team-statistic.js +1 -1
- package/esm2015/models/basketball-profile.js +1 -1
- package/esm2015/models/basketball-statistic.js +1 -1
- package/esm2015/models/city.js +1 -1
- package/esm2015/models/feedback.js +1 -1
- package/esm2015/models/file.js +1 -1
- package/esm2015/models/football-game-config.js +1 -1
- package/esm2015/models/football-game-log.js +1 -1
- package/esm2015/models/football-game-statistic.js +1 -1
- package/esm2015/models/football-game-team-statistic.js +1 -1
- package/esm2015/models/football-profile.js +1 -1
- package/esm2015/models/football-statistic.js +1 -1
- package/esm2015/models/game-invite.js +1 -1
- package/esm2015/models/game-log-base.js +2 -1
- package/esm2015/models/game-statistic-base.js +2 -1
- package/esm2015/models/game-team-statistic-base.js +2 -1
- package/esm2015/models/game-timeline-stages.js +1 -1
- package/esm2015/models/game-user-limitation.js +1 -1
- package/esm2015/models/game-user.js +1 -1
- package/esm2015/models/game.js +1 -1
- package/esm2015/models/handball-game-config.js +1 -1
- package/esm2015/models/handball-game-log.js +1 -1
- package/esm2015/models/handball-game-statistic.js +1 -1
- package/esm2015/models/handball-game-team-statistic.js +1 -1
- package/esm2015/models/handball-profile.js +1 -1
- package/esm2015/models/handball-statistic.js +1 -1
- package/esm2015/models/hockey-game-config.js +1 -1
- package/esm2015/models/hockey-game-log.js +1 -1
- package/esm2015/models/hockey-game-statistic.js +1 -1
- package/esm2015/models/hockey-game-team-statistic.js +1 -1
- package/esm2015/models/hockey-profile.js +1 -1
- package/esm2015/models/hockey-statistic.js +1 -1
- package/esm2015/models/league-banner.js +1 -1
- package/esm2015/models/league-court.js +1 -1
- package/esm2015/models/league-document.js +1 -1
- package/esm2015/models/league-news.js +1 -1
- package/esm2015/models/league-partner.js +1 -1
- package/esm2015/models/league-player.js +1 -1
- package/esm2015/models/league-playlist.js +1 -1
- package/esm2015/models/league-user.js +1 -1
- package/esm2015/models/league.js +1 -1
- package/esm2015/models/media-item.js +1 -1
- package/esm2015/models/notification-settings.js +1 -1
- package/esm2015/models/notification.js +1 -1
- package/esm2015/models/organization.js +1 -1
- package/esm2015/models/playoff.js +1 -1
- package/esm2015/models/poll.js +1 -1
- package/esm2015/models/public-api.js +5 -1
- package/esm2015/models/rugby-foul-type.js +1 -1
- package/esm2015/models/rugby-game-config.js +1 -1
- package/esm2015/models/rugby-game-log.js +2 -2
- package/esm2015/models/rugby-game-statistic.js +1 -1
- package/esm2015/models/rugby-game-team-statistic.js +1 -1
- package/esm2015/models/rugby-profile.js +1 -1
- package/esm2015/models/rugby-statistic.js +2 -1
- package/esm2015/models/sport.js +1 -1
- package/esm2015/models/team-access.js +1 -1
- package/esm2015/models/team-event-invite.js +1 -1
- package/esm2015/models/team-event-type.js +1 -1
- package/esm2015/models/team-event.js +1 -1
- package/esm2015/models/team-invite-external.js +1 -1
- package/esm2015/models/team-invite.js +1 -1
- package/esm2015/models/team-permission.js +1 -1
- package/esm2015/models/team-user.js +1 -1
- package/esm2015/models/team.js +1 -1
- package/esm2015/models/tournament-disqualification.js +1 -1
- package/esm2015/models/tournament-event.js +1 -1
- package/esm2015/models/tournament-group.js +1 -1
- package/esm2015/models/tournament-invite.js +1 -1
- package/esm2015/models/tournament-join-team.js +1 -1
- package/esm2015/models/tournament-news.js +1 -1
- package/esm2015/models/tournament-season.js +1 -1
- package/esm2015/models/tournament-stage-team.js +1 -1
- package/esm2015/models/tournament-stage.js +1 -1
- package/esm2015/models/tournament-team-user-invite.js +1 -1
- package/esm2015/models/tournament-team-user.js +1 -1
- package/esm2015/models/tournament-team.js +1 -1
- package/esm2015/models/tournament.js +1 -1
- package/esm2015/models/user-access.js +1 -1
- package/esm2015/models/user-permission.js +1 -1
- package/esm2015/models/user-profile.js +1 -1
- package/esm2015/models/user.js +1 -1
- package/esm2015/models/util.js +1 -1
- package/esm2015/models/volleyball-game-config.js +1 -1
- package/esm2015/models/volleyball-game-log.js +1 -1
- package/esm2015/models/volleyball-game-statistic.js +1 -1
- package/esm2015/models/volleyball-game-team-statistic.js +1 -1
- package/esm2015/models/volleyball-profile.js +1 -1
- package/esm2015/models/volleyball-statistic.js +1 -1
- package/esm2015/mtgame-core.js +1 -1
- package/esm2015/public-api.js +1 -1
- package/esm2015/services/base.service.js +6 -8
- package/esm2015/services/centrifugo.service.js +7 -9
- package/esm2015/services/config.service.js +7 -10
- package/esm2015/services/public-api.js +1 -1
- package/esm2015/storage/local-storage-engine.js +1 -1
- package/esm2015/storage/public-api.js +1 -1
- package/esm2015/storage/storage-engine.js +1 -1
- package/esm2015/storage/store.js +1 -1
- package/esm2015/utils/array.js +1 -1
- package/esm2015/utils/component-destroyed.js +1 -1
- package/esm2015/utils/cookie.js +1 -1
- package/esm2015/utils/data.js +1 -1
- package/esm2015/utils/device.js +1 -1
- package/esm2015/utils/enum.js +1 -1
- package/esm2015/utils/errors.js +1 -1
- package/esm2015/utils/favicon.js +1 -1
- package/esm2015/utils/form.js +1 -1
- package/esm2015/utils/public-api.js +1 -1
- package/esm2015/utils/validators.js +1 -1
- package/fesm2015/mtgame-core.js +185 -184
- package/fesm2015/mtgame-core.js.map +1 -1
- package/localization/basketball-game-log-types.d.ts +0 -1
- package/localization/football-game-log-types.d.ts +0 -1
- package/localization/handball-game-log-types.d.ts +0 -1
- package/localization/hockey-game-log-types.d.ts +0 -1
- package/localization/overtime-types.d.ts +0 -1
- package/localization/rugby-foul-sanction.d.ts +0 -1
- package/localization/rugby-game-log-types.d.ts +0 -1
- package/localization/team-event-type.d.ts +0 -1
- package/localization/team-user-role.d.ts +0 -1
- package/localization/user-profile.d.ts +0 -6
- package/localization/volleyball-game-log-types.d.ts +0 -1
- package/models/rugby-statistic.d.ts +1 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +9 -11
- package/bundles/mtgame-core.umd.min.js +0 -16
- package/bundles/mtgame-core.umd.min.js.map +0 -1
- package/esm5/api/basketball-game-api.js +0 -77
- package/esm5/api/feedback-api.js +0 -44
- package/esm5/api/file-api.js +0 -68
- package/esm5/api/football-game-api.js +0 -81
- package/esm5/api/game-base-api.js +0 -58
- package/esm5/api/handball-game-api.js +0 -81
- package/esm5/api/hockey-game-api.js +0 -81
- package/esm5/api/league-api.js +0 -168
- package/esm5/api/league-news-api.js +0 -82
- package/esm5/api/league-player-api.js +0 -37
- package/esm5/api/media-api.js +0 -149
- package/esm5/api/notification-api.js +0 -21
- package/esm5/api/notification-base-api.js +0 -109
- package/esm5/api/org-notification-api.js +0 -21
- package/esm5/api/paginated-response.interface.js +0 -1
- package/esm5/api/public-api.js +0 -27
- package/esm5/api/public-team-api.js +0 -34
- package/esm5/api/public-user-api.js +0 -44
- package/esm5/api/reference-api.js +0 -45
- package/esm5/api/rugby-game-api.js +0 -79
- package/esm5/api/team-api.js +0 -486
- package/esm5/api/team-event-api.js +0 -96
- package/esm5/api/tournament-api.js +0 -543
- package/esm5/api/tournament-join-api.js +0 -59
- package/esm5/api/tournament-season-api.js +0 -134
- package/esm5/api/tournament-stage-api.js +0 -65
- package/esm5/api/user-api.js +0 -350
- package/esm5/api/volleyball-game-api.js +0 -81
- package/esm5/http-cookie.interceptor.js +0 -41
- package/esm5/localization/basketball-game-log-types.js +0 -28
- package/esm5/localization/football-game-log-types.js +0 -34
- package/esm5/localization/handball-game-log-types.js +0 -25
- package/esm5/localization/hockey-game-log-types.js +0 -31
- package/esm5/localization/hockey-penalty-types.js +0 -50
- package/esm5/localization/overtime-types.js +0 -14
- package/esm5/localization/public-api.js +0 -13
- package/esm5/localization/rugby-foul-sanction.js +0 -11
- package/esm5/localization/rugby-game-log-types.js +0 -41
- package/esm5/localization/team-event-type.js +0 -7
- package/esm5/localization/team-user-role.js +0 -15
- package/esm5/localization/user-profile.js +0 -82
- package/esm5/localization/volleyball-game-log-types.js +0 -27
- package/esm5/models/base-statistic.js +0 -1
- package/esm5/models/basketball-game-config.js +0 -44
- package/esm5/models/basketball-game-log.js +0 -118
- package/esm5/models/basketball-game-statistic.js +0 -63
- package/esm5/models/basketball-game-team-statistic.js +0 -32
- package/esm5/models/basketball-profile.js +0 -48
- package/esm5/models/basketball-statistic.js +0 -97
- package/esm5/models/city.js +0 -27
- package/esm5/models/feedback.js +0 -37
- package/esm5/models/file.js +0 -65
- package/esm5/models/football-game-config.js +0 -53
- package/esm5/models/football-game-log.js +0 -111
- package/esm5/models/football-game-statistic.js +0 -213
- package/esm5/models/football-game-team-statistic.js +0 -32
- package/esm5/models/football-profile.js +0 -48
- package/esm5/models/football-statistic.js +0 -174
- package/esm5/models/game-invite.js +0 -42
- package/esm5/models/game-log-base.js +0 -1
- package/esm5/models/game-statistic-base.js +0 -1
- package/esm5/models/game-team-statistic-base.js +0 -1
- package/esm5/models/game-timeline-stages.js +0 -60
- package/esm5/models/game-user-limitation.js +0 -59
- package/esm5/models/game-user.js +0 -38
- package/esm5/models/game.js +0 -286
- package/esm5/models/handball-game-config.js +0 -39
- package/esm5/models/handball-game-log.js +0 -99
- package/esm5/models/handball-game-statistic.js +0 -162
- package/esm5/models/handball-game-team-statistic.js +0 -32
- package/esm5/models/handball-profile.js +0 -44
- package/esm5/models/handball-statistic.js +0 -105
- package/esm5/models/hockey-game-config.js +0 -61
- package/esm5/models/hockey-game-log.js +0 -135
- package/esm5/models/hockey-game-statistic.js +0 -223
- package/esm5/models/hockey-game-team-statistic.js +0 -32
- package/esm5/models/hockey-profile.js +0 -46
- package/esm5/models/hockey-statistic.js +0 -144
- package/esm5/models/league-banner.js +0 -44
- package/esm5/models/league-court.js +0 -29
- package/esm5/models/league-document.js +0 -31
- package/esm5/models/league-news.js +0 -55
- package/esm5/models/league-partner.js +0 -34
- package/esm5/models/league-player.js +0 -77
- package/esm5/models/league-playlist.js +0 -33
- package/esm5/models/league-user.js +0 -61
- package/esm5/models/league.js +0 -95
- package/esm5/models/media-item.js +0 -50
- package/esm5/models/notification-settings.js +0 -40
- package/esm5/models/notification.js +0 -143
- package/esm5/models/organization.js +0 -32
- package/esm5/models/playoff.js +0 -102
- package/esm5/models/poll.js +0 -154
- package/esm5/models/public-api.js +0 -88
- package/esm5/models/rugby-foul-type.js +0 -40
- package/esm5/models/rugby-game-config.js +0 -51
- package/esm5/models/rugby-game-log.js +0 -143
- package/esm5/models/rugby-game-statistic.js +0 -68
- package/esm5/models/rugby-game-team-statistic.js +0 -32
- package/esm5/models/rugby-profile.js +0 -42
- package/esm5/models/rugby-statistic.js +0 -118
- package/esm5/models/sport.js +0 -104
- package/esm5/models/team-access.js +0 -50
- package/esm5/models/team-event-invite.js +0 -35
- package/esm5/models/team-event-type.js +0 -6
- package/esm5/models/team-event.js +0 -58
- package/esm5/models/team-invite-external.js +0 -30
- package/esm5/models/team-invite.js +0 -46
- package/esm5/models/team-permission.js +0 -43
- package/esm5/models/team-user.js +0 -53
- package/esm5/models/team.js +0 -70
- package/esm5/models/tournament-disqualification.js +0 -34
- package/esm5/models/tournament-event.js +0 -50
- package/esm5/models/tournament-group.js +0 -29
- package/esm5/models/tournament-invite.js +0 -48
- package/esm5/models/tournament-join-team.js +0 -73
- package/esm5/models/tournament-news.js +0 -38
- package/esm5/models/tournament-season.js +0 -50
- package/esm5/models/tournament-stage-team.js +0 -54
- package/esm5/models/tournament-stage.js +0 -40
- package/esm5/models/tournament-team-user-invite.js +0 -34
- package/esm5/models/tournament-team-user.js +0 -41
- package/esm5/models/tournament-team.js +0 -80
- package/esm5/models/tournament.js +0 -234
- package/esm5/models/user-access.js +0 -30
- package/esm5/models/user-permission.js +0 -43
- package/esm5/models/user-profile.js +0 -27
- package/esm5/models/user.js +0 -107
- package/esm5/models/util.js +0 -298
- package/esm5/models/volleyball-game-config.js +0 -53
- package/esm5/models/volleyball-game-log.js +0 -145
- package/esm5/models/volleyball-game-statistic.js +0 -72
- package/esm5/models/volleyball-game-team-statistic.js +0 -32
- package/esm5/models/volleyball-profile.js +0 -48
- package/esm5/models/volleyball-statistic.js +0 -89
- package/esm5/mtgame-core.js +0 -5
- package/esm5/public-api.js +0 -8
- package/esm5/services/base.service.js +0 -19
- package/esm5/services/centrifugo.service.js +0 -122
- package/esm5/services/config.service.js +0 -52
- package/esm5/services/public-api.js +0 -4
- package/esm5/storage/local-storage-engine.js +0 -25
- package/esm5/storage/public-api.js +0 -4
- package/esm5/storage/storage-engine.js +0 -77
- package/esm5/storage/store.js +0 -77
- package/esm5/utils/array.js +0 -18
- package/esm5/utils/component-destroyed.js +0 -21
- package/esm5/utils/cookie.js +0 -9
- package/esm5/utils/data.js +0 -79
- package/esm5/utils/device.js +0 -14
- package/esm5/utils/enum.js +0 -7
- package/esm5/utils/errors.js +0 -12
- package/esm5/utils/favicon.js +0 -47
- package/esm5/utils/form.js +0 -22
- package/esm5/utils/public-api.js +0 -11
- package/esm5/utils/validators.js +0 -49
- package/fesm5/mtgame-core.js +0 -9818
- package/fesm5/mtgame-core.js.map +0 -1
package/fesm2015/mtgame-core.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { __decorate,
|
|
2
|
-
import
|
|
1
|
+
import { __decorate, __awaiter } from 'tslib';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { Injectable, Optional, Inject, Injector, PLATFORM_ID } from '@angular/core';
|
|
4
|
+
import * as i1 from '@angular/common/http';
|
|
3
5
|
import { HttpParams, HttpClient } from '@angular/common/http';
|
|
4
6
|
import { filter, map, delay, switchMap } from 'rxjs/operators';
|
|
5
7
|
import { BehaviorSubject, Observable, of } from 'rxjs';
|
|
@@ -1919,22 +1921,22 @@ class Store {
|
|
|
1919
1921
|
}
|
|
1920
1922
|
}
|
|
1921
1923
|
|
|
1922
|
-
|
|
1924
|
+
class BaseService {
|
|
1923
1925
|
constructor() {
|
|
1924
1926
|
this.store = new Store();
|
|
1925
1927
|
}
|
|
1926
1928
|
dispose() {
|
|
1927
1929
|
this.store.dispose();
|
|
1928
1930
|
}
|
|
1929
|
-
}
|
|
1930
|
-
BaseService.ɵprov =
|
|
1931
|
-
BaseService =
|
|
1932
|
-
Injectable
|
|
1933
|
-
]
|
|
1931
|
+
}
|
|
1932
|
+
BaseService.ɵprov = i0.ɵɵdefineInjectable({ factory: function BaseService_Factory() { return new BaseService(); }, token: BaseService, providedIn: "root" });
|
|
1933
|
+
BaseService.decorators = [
|
|
1934
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
1935
|
+
];
|
|
1934
1936
|
|
|
1935
1937
|
const CONFIG_STORE_KEY = 'config';
|
|
1936
1938
|
const CONFIG_DATA = 'mtg-core-config-data';
|
|
1937
|
-
|
|
1939
|
+
class ConfigService extends BaseService {
|
|
1938
1940
|
constructor(configData) {
|
|
1939
1941
|
super();
|
|
1940
1942
|
this.configData = configData;
|
|
@@ -1957,15 +1959,14 @@ let ConfigService = class ConfigService extends BaseService {
|
|
|
1957
1959
|
get(key) {
|
|
1958
1960
|
return this.store.value(CONFIG_STORE_KEY) && this.store.value(CONFIG_STORE_KEY)[key];
|
|
1959
1961
|
}
|
|
1960
|
-
}
|
|
1962
|
+
}
|
|
1963
|
+
ConfigService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ConfigService_Factory() { return new ConfigService(i0.ɵɵinject("mtg-core-config-data", 8)); }, token: ConfigService, providedIn: "root" });
|
|
1964
|
+
ConfigService.decorators = [
|
|
1965
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
1966
|
+
];
|
|
1961
1967
|
ConfigService.ctorParameters = () => [
|
|
1962
1968
|
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [CONFIG_DATA,] }] }
|
|
1963
1969
|
];
|
|
1964
|
-
ConfigService.ɵprov = ɵɵdefineInjectable({ factory: function ConfigService_Factory() { return new ConfigService(ɵɵinject("mtg-core-config-data", 8)); }, token: ConfigService, providedIn: "root" });
|
|
1965
|
-
ConfigService = __decorate([
|
|
1966
|
-
Injectable({ providedIn: 'root' }),
|
|
1967
|
-
__param(0, Optional()), __param(0, Inject(CONFIG_DATA))
|
|
1968
|
-
], ConfigService);
|
|
1969
1970
|
|
|
1970
1971
|
let TournamentTeam = class TournamentTeam extends BaseModel {
|
|
1971
1972
|
get gamesWonPercent() {
|
|
@@ -2500,7 +2501,7 @@ GameUserLimitations = __decorate([
|
|
|
2500
2501
|
})
|
|
2501
2502
|
], GameUserLimitations);
|
|
2502
2503
|
|
|
2503
|
-
|
|
2504
|
+
class GameBaseApi {
|
|
2504
2505
|
constructor(httpClient, configService) {
|
|
2505
2506
|
this.httpClient = httpClient;
|
|
2506
2507
|
this.configService = configService;
|
|
@@ -2528,17 +2529,17 @@ let GameBaseApi = class GameBaseApi {
|
|
|
2528
2529
|
}).toPromise();
|
|
2529
2530
|
});
|
|
2530
2531
|
}
|
|
2531
|
-
}
|
|
2532
|
+
}
|
|
2533
|
+
GameBaseApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function GameBaseApi_Factory() { return new GameBaseApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: GameBaseApi, providedIn: "root" });
|
|
2534
|
+
GameBaseApi.decorators = [
|
|
2535
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
2536
|
+
];
|
|
2532
2537
|
GameBaseApi.ctorParameters = () => [
|
|
2533
2538
|
{ type: HttpClient },
|
|
2534
2539
|
{ type: ConfigService }
|
|
2535
2540
|
];
|
|
2536
|
-
GameBaseApi.ɵprov = ɵɵdefineInjectable({ factory: function GameBaseApi_Factory() { return new GameBaseApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: GameBaseApi, providedIn: "root" });
|
|
2537
|
-
GameBaseApi = __decorate([
|
|
2538
|
-
Injectable({ providedIn: 'root' })
|
|
2539
|
-
], GameBaseApi);
|
|
2540
2541
|
|
|
2541
|
-
|
|
2542
|
+
class BasketballGameApi extends GameBaseApi {
|
|
2542
2543
|
constructor(httpClient, configService) {
|
|
2543
2544
|
super(httpClient, configService);
|
|
2544
2545
|
this.httpClient = httpClient;
|
|
@@ -2576,15 +2577,15 @@ let BasketballGameApi = class BasketballGameApi extends GameBaseApi {
|
|
|
2576
2577
|
.toPromise();
|
|
2577
2578
|
});
|
|
2578
2579
|
}
|
|
2579
|
-
}
|
|
2580
|
+
}
|
|
2581
|
+
BasketballGameApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function BasketballGameApi_Factory() { return new BasketballGameApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: BasketballGameApi, providedIn: "root" });
|
|
2582
|
+
BasketballGameApi.decorators = [
|
|
2583
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
2584
|
+
];
|
|
2580
2585
|
BasketballGameApi.ctorParameters = () => [
|
|
2581
2586
|
{ type: HttpClient },
|
|
2582
2587
|
{ type: ConfigService }
|
|
2583
2588
|
];
|
|
2584
|
-
BasketballGameApi.ɵprov = ɵɵdefineInjectable({ factory: function BasketballGameApi_Factory() { return new BasketballGameApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: BasketballGameApi, providedIn: "root" });
|
|
2585
|
-
BasketballGameApi = __decorate([
|
|
2586
|
-
Injectable({ providedIn: 'root' })
|
|
2587
|
-
], BasketballGameApi);
|
|
2588
2589
|
|
|
2589
2590
|
let Feedback = class Feedback {
|
|
2590
2591
|
static toFront(data) {
|
|
@@ -2616,7 +2617,7 @@ Feedback = __decorate([
|
|
|
2616
2617
|
})
|
|
2617
2618
|
], Feedback);
|
|
2618
2619
|
|
|
2619
|
-
|
|
2620
|
+
class FeedbackApi {
|
|
2620
2621
|
constructor(httpClient, configService) {
|
|
2621
2622
|
this.httpClient = httpClient;
|
|
2622
2623
|
this.configService = configService;
|
|
@@ -2635,17 +2636,17 @@ let FeedbackApi = class FeedbackApi {
|
|
|
2635
2636
|
.toPromise();
|
|
2636
2637
|
});
|
|
2637
2638
|
}
|
|
2638
|
-
}
|
|
2639
|
+
}
|
|
2640
|
+
FeedbackApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function FeedbackApi_Factory() { return new FeedbackApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: FeedbackApi, providedIn: "root" });
|
|
2641
|
+
FeedbackApi.decorators = [
|
|
2642
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
2643
|
+
];
|
|
2639
2644
|
FeedbackApi.ctorParameters = () => [
|
|
2640
2645
|
{ type: HttpClient },
|
|
2641
2646
|
{ type: ConfigService }
|
|
2642
2647
|
];
|
|
2643
|
-
FeedbackApi.ɵprov = ɵɵdefineInjectable({ factory: function FeedbackApi_Factory() { return new FeedbackApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: FeedbackApi, providedIn: "root" });
|
|
2644
|
-
FeedbackApi = __decorate([
|
|
2645
|
-
Injectable({ providedIn: 'root' })
|
|
2646
|
-
], FeedbackApi);
|
|
2647
2648
|
|
|
2648
|
-
|
|
2649
|
+
class FileApi {
|
|
2649
2650
|
constructor(httpClient, configService) {
|
|
2650
2651
|
this.httpClient = httpClient;
|
|
2651
2652
|
this.configService = configService;
|
|
@@ -2675,15 +2676,15 @@ let FileApi = class FileApi {
|
|
|
2675
2676
|
.toPromise();
|
|
2676
2677
|
});
|
|
2677
2678
|
}
|
|
2678
|
-
}
|
|
2679
|
+
}
|
|
2680
|
+
FileApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function FileApi_Factory() { return new FileApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: FileApi, providedIn: "root" });
|
|
2681
|
+
FileApi.decorators = [
|
|
2682
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
2683
|
+
];
|
|
2679
2684
|
FileApi.ctorParameters = () => [
|
|
2680
2685
|
{ type: HttpClient },
|
|
2681
2686
|
{ type: ConfigService }
|
|
2682
2687
|
];
|
|
2683
|
-
FileApi.ɵprov = ɵɵdefineInjectable({ factory: function FileApi_Factory() { return new FileApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: FileApi, providedIn: "root" });
|
|
2684
|
-
FileApi = __decorate([
|
|
2685
|
-
Injectable({ providedIn: 'root' })
|
|
2686
|
-
], FileApi);
|
|
2687
2688
|
|
|
2688
2689
|
var HockeyGameLogTypes;
|
|
2689
2690
|
(function (HockeyGameLogTypes) {
|
|
@@ -3070,7 +3071,7 @@ HockeyGameTeamStatistic = __decorate([
|
|
|
3070
3071
|
})
|
|
3071
3072
|
], HockeyGameTeamStatistic);
|
|
3072
3073
|
|
|
3073
|
-
|
|
3074
|
+
class HockeyGameApi extends GameBaseApi {
|
|
3074
3075
|
constructor(httpClient, configService) {
|
|
3075
3076
|
super(httpClient, configService);
|
|
3076
3077
|
this.httpClient = httpClient;
|
|
@@ -3112,15 +3113,15 @@ let HockeyGameApi = class HockeyGameApi extends GameBaseApi {
|
|
|
3112
3113
|
}).toPromise();
|
|
3113
3114
|
});
|
|
3114
3115
|
}
|
|
3115
|
-
}
|
|
3116
|
+
}
|
|
3117
|
+
HockeyGameApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function HockeyGameApi_Factory() { return new HockeyGameApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: HockeyGameApi, providedIn: "root" });
|
|
3118
|
+
HockeyGameApi.decorators = [
|
|
3119
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
3120
|
+
];
|
|
3116
3121
|
HockeyGameApi.ctorParameters = () => [
|
|
3117
3122
|
{ type: HttpClient },
|
|
3118
3123
|
{ type: ConfigService }
|
|
3119
3124
|
];
|
|
3120
|
-
HockeyGameApi.ɵprov = ɵɵdefineInjectable({ factory: function HockeyGameApi_Factory() { return new HockeyGameApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: HockeyGameApi, providedIn: "root" });
|
|
3121
|
-
HockeyGameApi = __decorate([
|
|
3122
|
-
Injectable({ providedIn: 'root' })
|
|
3123
|
-
], HockeyGameApi);
|
|
3124
3125
|
|
|
3125
3126
|
var FootballGameLogTypes;
|
|
3126
3127
|
(function (FootballGameLogTypes) {
|
|
@@ -3503,7 +3504,7 @@ FootballGameTeamStatistic = __decorate([
|
|
|
3503
3504
|
})
|
|
3504
3505
|
], FootballGameTeamStatistic);
|
|
3505
3506
|
|
|
3506
|
-
|
|
3507
|
+
class FootballGameApi extends GameBaseApi {
|
|
3507
3508
|
constructor(httpClient, configService) {
|
|
3508
3509
|
super(httpClient, configService);
|
|
3509
3510
|
this.httpClient = httpClient;
|
|
@@ -3545,15 +3546,15 @@ let FootballGameApi = class FootballGameApi extends GameBaseApi {
|
|
|
3545
3546
|
}).toPromise();
|
|
3546
3547
|
});
|
|
3547
3548
|
}
|
|
3548
|
-
}
|
|
3549
|
+
}
|
|
3550
|
+
FootballGameApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function FootballGameApi_Factory() { return new FootballGameApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: FootballGameApi, providedIn: "root" });
|
|
3551
|
+
FootballGameApi.decorators = [
|
|
3552
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
3553
|
+
];
|
|
3549
3554
|
FootballGameApi.ctorParameters = () => [
|
|
3550
3555
|
{ type: HttpClient },
|
|
3551
3556
|
{ type: ConfigService }
|
|
3552
3557
|
];
|
|
3553
|
-
FootballGameApi.ɵprov = ɵɵdefineInjectable({ factory: function FootballGameApi_Factory() { return new FootballGameApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: FootballGameApi, providedIn: "root" });
|
|
3554
|
-
FootballGameApi = __decorate([
|
|
3555
|
-
Injectable({ providedIn: 'root' })
|
|
3556
|
-
], FootballGameApi);
|
|
3557
3558
|
|
|
3558
3559
|
var HandballGameLogTypes;
|
|
3559
3560
|
(function (HandballGameLogTypes) {
|
|
@@ -3848,7 +3849,7 @@ HandballGameTeamStatistic = __decorate([
|
|
|
3848
3849
|
})
|
|
3849
3850
|
], HandballGameTeamStatistic);
|
|
3850
3851
|
|
|
3851
|
-
|
|
3852
|
+
class HandballGameApi extends GameBaseApi {
|
|
3852
3853
|
constructor(httpClient, configService) {
|
|
3853
3854
|
super(httpClient, configService);
|
|
3854
3855
|
this.httpClient = httpClient;
|
|
@@ -3890,15 +3891,15 @@ let HandballGameApi = class HandballGameApi extends GameBaseApi {
|
|
|
3890
3891
|
}).toPromise();
|
|
3891
3892
|
});
|
|
3892
3893
|
}
|
|
3893
|
-
}
|
|
3894
|
+
}
|
|
3895
|
+
HandballGameApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function HandballGameApi_Factory() { return new HandballGameApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: HandballGameApi, providedIn: "root" });
|
|
3896
|
+
HandballGameApi.decorators = [
|
|
3897
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
3898
|
+
];
|
|
3894
3899
|
HandballGameApi.ctorParameters = () => [
|
|
3895
3900
|
{ type: HttpClient },
|
|
3896
3901
|
{ type: ConfigService }
|
|
3897
3902
|
];
|
|
3898
|
-
HandballGameApi.ɵprov = ɵɵdefineInjectable({ factory: function HandballGameApi_Factory() { return new HandballGameApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: HandballGameApi, providedIn: "root" });
|
|
3899
|
-
HandballGameApi = __decorate([
|
|
3900
|
-
Injectable({ providedIn: 'root' })
|
|
3901
|
-
], HandballGameApi);
|
|
3902
3903
|
|
|
3903
3904
|
let TournamentNews = class TournamentNews extends BaseModel {
|
|
3904
3905
|
static toFront(data) { }
|
|
@@ -4319,6 +4320,7 @@ RugbyStatistic = __decorate([
|
|
|
4319
4320
|
lineouts_won: 'lineoutsWon',
|
|
4320
4321
|
lineouts_lost: 'lineoutsLost',
|
|
4321
4322
|
lineouts_steal: 'lineoutsSteal',
|
|
4323
|
+
lineouts_won_percent: 'lineoutsWonPercent',
|
|
4322
4324
|
opponent_lineouts_lost: 'opponentLineoutsLost',
|
|
4323
4325
|
quick_throws: 'quickThrows',
|
|
4324
4326
|
rucks: 'rucks',
|
|
@@ -4347,7 +4349,7 @@ RugbyStatistic = __decorate([
|
|
|
4347
4349
|
})
|
|
4348
4350
|
], RugbyStatistic);
|
|
4349
4351
|
|
|
4350
|
-
|
|
4352
|
+
class TournamentApi {
|
|
4351
4353
|
constructor(httpClient, configService) {
|
|
4352
4354
|
this.httpClient = httpClient;
|
|
4353
4355
|
this.configService = configService;
|
|
@@ -4622,15 +4624,15 @@ let TournamentApi = class TournamentApi {
|
|
|
4622
4624
|
return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/tournament_team_user/${tournamentTeamUserId}/tournaments/`).pipe(map(result => Tournament.toFront(result))).toPromise();
|
|
4623
4625
|
});
|
|
4624
4626
|
}
|
|
4625
|
-
}
|
|
4627
|
+
}
|
|
4628
|
+
TournamentApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function TournamentApi_Factory() { return new TournamentApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: TournamentApi, providedIn: "root" });
|
|
4629
|
+
TournamentApi.decorators = [
|
|
4630
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
4631
|
+
];
|
|
4626
4632
|
TournamentApi.ctorParameters = () => [
|
|
4627
4633
|
{ type: HttpClient },
|
|
4628
4634
|
{ type: ConfigService }
|
|
4629
4635
|
];
|
|
4630
|
-
TournamentApi.ɵprov = ɵɵdefineInjectable({ factory: function TournamentApi_Factory() { return new TournamentApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: TournamentApi, providedIn: "root" });
|
|
4631
|
-
TournamentApi = __decorate([
|
|
4632
|
-
Injectable({ providedIn: 'root' })
|
|
4633
|
-
], TournamentApi);
|
|
4634
4636
|
function applyGamesFilters(filters, params) {
|
|
4635
4637
|
if (filters.tournamentIds) {
|
|
4636
4638
|
params = params.set('tournament_ids', filters.tournamentIds.join(','));
|
|
@@ -4791,7 +4793,7 @@ LeagueDocument = __decorate([
|
|
|
4791
4793
|
})
|
|
4792
4794
|
], LeagueDocument);
|
|
4793
4795
|
|
|
4794
|
-
|
|
4796
|
+
class LeagueApi {
|
|
4795
4797
|
constructor(httpClient, configService) {
|
|
4796
4798
|
this.httpClient = httpClient;
|
|
4797
4799
|
this.configService = configService;
|
|
@@ -4898,17 +4900,17 @@ let LeagueApi = class LeagueApi {
|
|
|
4898
4900
|
return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/league/${leagueId}/documents/`).pipe(map(result => LeagueDocument.toFront(result))).toPromise();
|
|
4899
4901
|
});
|
|
4900
4902
|
}
|
|
4901
|
-
}
|
|
4903
|
+
}
|
|
4904
|
+
LeagueApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function LeagueApi_Factory() { return new LeagueApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: LeagueApi, providedIn: "root" });
|
|
4905
|
+
LeagueApi.decorators = [
|
|
4906
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
4907
|
+
];
|
|
4902
4908
|
LeagueApi.ctorParameters = () => [
|
|
4903
4909
|
{ type: HttpClient },
|
|
4904
4910
|
{ type: ConfigService }
|
|
4905
4911
|
];
|
|
4906
|
-
LeagueApi.ɵprov = ɵɵdefineInjectable({ factory: function LeagueApi_Factory() { return new LeagueApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: LeagueApi, providedIn: "root" });
|
|
4907
|
-
LeagueApi = __decorate([
|
|
4908
|
-
Injectable({ providedIn: 'root' })
|
|
4909
|
-
], LeagueApi);
|
|
4910
4912
|
|
|
4911
|
-
|
|
4913
|
+
class LeagueNewsApi {
|
|
4912
4914
|
constructor(httpClient, configService) {
|
|
4913
4915
|
this.httpClient = httpClient;
|
|
4914
4916
|
this.configService = configService;
|
|
@@ -4957,17 +4959,17 @@ let LeagueNewsApi = class LeagueNewsApi {
|
|
|
4957
4959
|
.toPromise();
|
|
4958
4960
|
});
|
|
4959
4961
|
}
|
|
4960
|
-
}
|
|
4962
|
+
}
|
|
4963
|
+
LeagueNewsApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function LeagueNewsApi_Factory() { return new LeagueNewsApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: LeagueNewsApi, providedIn: "root" });
|
|
4964
|
+
LeagueNewsApi.decorators = [
|
|
4965
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
4966
|
+
];
|
|
4961
4967
|
LeagueNewsApi.ctorParameters = () => [
|
|
4962
4968
|
{ type: HttpClient },
|
|
4963
4969
|
{ type: ConfigService }
|
|
4964
4970
|
];
|
|
4965
|
-
LeagueNewsApi.ɵprov = ɵɵdefineInjectable({ factory: function LeagueNewsApi_Factory() { return new LeagueNewsApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: LeagueNewsApi, providedIn: "root" });
|
|
4966
|
-
LeagueNewsApi = __decorate([
|
|
4967
|
-
Injectable({ providedIn: 'root' })
|
|
4968
|
-
], LeagueNewsApi);
|
|
4969
4971
|
|
|
4970
|
-
|
|
4972
|
+
class LeaguePlayerApi {
|
|
4971
4973
|
constructor(httpClient, configService) {
|
|
4972
4974
|
this.httpClient = httpClient;
|
|
4973
4975
|
this.configService = configService;
|
|
@@ -4982,17 +4984,17 @@ let LeaguePlayerApi = class LeaguePlayerApi {
|
|
|
4982
4984
|
}
|
|
4983
4985
|
return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/league_player/${leaguePlayerId}/tournament_users/`, { params }).pipe(map(item => TournamentTeamUser.toFront(item))).toPromise();
|
|
4984
4986
|
}
|
|
4985
|
-
}
|
|
4987
|
+
}
|
|
4988
|
+
LeaguePlayerApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function LeaguePlayerApi_Factory() { return new LeaguePlayerApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: LeaguePlayerApi, providedIn: "root" });
|
|
4989
|
+
LeaguePlayerApi.decorators = [
|
|
4990
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
4991
|
+
];
|
|
4986
4992
|
LeaguePlayerApi.ctorParameters = () => [
|
|
4987
4993
|
{ type: HttpClient },
|
|
4988
4994
|
{ type: ConfigService }
|
|
4989
4995
|
];
|
|
4990
|
-
LeaguePlayerApi.ɵprov = ɵɵdefineInjectable({ factory: function LeaguePlayerApi_Factory() { return new LeaguePlayerApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: LeaguePlayerApi, providedIn: "root" });
|
|
4991
|
-
LeaguePlayerApi = __decorate([
|
|
4992
|
-
Injectable({ providedIn: 'root' })
|
|
4993
|
-
], LeaguePlayerApi);
|
|
4994
4996
|
|
|
4995
|
-
|
|
4997
|
+
class MediaApi {
|
|
4996
4998
|
constructor(httpClient, configService) {
|
|
4997
4999
|
this.httpClient = httpClient;
|
|
4998
5000
|
this.configService = configService;
|
|
@@ -5068,15 +5070,15 @@ let MediaApi = class MediaApi {
|
|
|
5068
5070
|
.toPromise();
|
|
5069
5071
|
});
|
|
5070
5072
|
}
|
|
5071
|
-
}
|
|
5073
|
+
}
|
|
5074
|
+
MediaApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function MediaApi_Factory() { return new MediaApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: MediaApi, providedIn: "root" });
|
|
5075
|
+
MediaApi.decorators = [
|
|
5076
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
5077
|
+
];
|
|
5072
5078
|
MediaApi.ctorParameters = () => [
|
|
5073
5079
|
{ type: HttpClient },
|
|
5074
5080
|
{ type: ConfigService }
|
|
5075
5081
|
];
|
|
5076
|
-
MediaApi.ɵprov = ɵɵdefineInjectable({ factory: function MediaApi_Factory() { return new MediaApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: MediaApi, providedIn: "root" });
|
|
5077
|
-
MediaApi = __decorate([
|
|
5078
|
-
Injectable({ providedIn: 'root' })
|
|
5079
|
-
], MediaApi);
|
|
5080
5082
|
function applyGameMediaFilters(filters, params) {
|
|
5081
5083
|
if (filters) {
|
|
5082
5084
|
params = applyGamesFilters(filters, params);
|
|
@@ -5590,7 +5592,7 @@ NotificationSettings = __decorate([
|
|
|
5590
5592
|
})
|
|
5591
5593
|
], NotificationSettings);
|
|
5592
5594
|
|
|
5593
|
-
|
|
5595
|
+
class NotificationBaseApi {
|
|
5594
5596
|
constructor(httpClient, configService) {
|
|
5595
5597
|
this.httpClient = httpClient;
|
|
5596
5598
|
this.configService = configService;
|
|
@@ -5652,39 +5654,39 @@ let NotificationBaseApi = class NotificationBaseApi {
|
|
|
5652
5654
|
.toPromise();
|
|
5653
5655
|
});
|
|
5654
5656
|
}
|
|
5655
|
-
}
|
|
5657
|
+
}
|
|
5658
|
+
NotificationBaseApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function NotificationBaseApi_Factory() { return new NotificationBaseApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: NotificationBaseApi, providedIn: "root" });
|
|
5659
|
+
NotificationBaseApi.decorators = [
|
|
5660
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
5661
|
+
];
|
|
5656
5662
|
NotificationBaseApi.ctorParameters = () => [
|
|
5657
5663
|
{ type: HttpClient },
|
|
5658
5664
|
{ type: ConfigService }
|
|
5659
5665
|
];
|
|
5660
|
-
NotificationBaseApi.ɵprov = ɵɵdefineInjectable({ factory: function NotificationBaseApi_Factory() { return new NotificationBaseApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: NotificationBaseApi, providedIn: "root" });
|
|
5661
|
-
NotificationBaseApi = __decorate([
|
|
5662
|
-
Injectable({ providedIn: 'root' })
|
|
5663
|
-
], NotificationBaseApi);
|
|
5664
5666
|
|
|
5665
|
-
|
|
5667
|
+
class NotificationApi extends NotificationBaseApi {
|
|
5666
5668
|
constructor() {
|
|
5667
5669
|
super(...arguments);
|
|
5668
5670
|
this.apiUrl = '/api/v1';
|
|
5669
5671
|
}
|
|
5670
|
-
}
|
|
5671
|
-
NotificationApi.ɵprov =
|
|
5672
|
-
NotificationApi =
|
|
5673
|
-
Injectable
|
|
5674
|
-
]
|
|
5672
|
+
}
|
|
5673
|
+
NotificationApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function NotificationApi_Factory() { return new NotificationApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: NotificationApi, providedIn: "root" });
|
|
5674
|
+
NotificationApi.decorators = [
|
|
5675
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
5676
|
+
];
|
|
5675
5677
|
|
|
5676
|
-
|
|
5678
|
+
class OrgNotificationApi extends NotificationBaseApi {
|
|
5677
5679
|
constructor() {
|
|
5678
5680
|
super(...arguments);
|
|
5679
5681
|
this.apiUrl = '/org/api/v1';
|
|
5680
5682
|
}
|
|
5681
|
-
}
|
|
5682
|
-
OrgNotificationApi.ɵprov =
|
|
5683
|
-
OrgNotificationApi =
|
|
5684
|
-
Injectable
|
|
5685
|
-
]
|
|
5683
|
+
}
|
|
5684
|
+
OrgNotificationApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function OrgNotificationApi_Factory() { return new OrgNotificationApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: OrgNotificationApi, providedIn: "root" });
|
|
5685
|
+
OrgNotificationApi.decorators = [
|
|
5686
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
5687
|
+
];
|
|
5686
5688
|
|
|
5687
|
-
|
|
5689
|
+
class ReferenceApi {
|
|
5688
5690
|
constructor(httpClient, configService) {
|
|
5689
5691
|
this.httpClient = httpClient;
|
|
5690
5692
|
this.configService = configService;
|
|
@@ -5703,15 +5705,15 @@ let ReferenceApi = class ReferenceApi {
|
|
|
5703
5705
|
.pipe(map(data => Sport.toFront(data))).toPromise();
|
|
5704
5706
|
});
|
|
5705
5707
|
}
|
|
5706
|
-
}
|
|
5708
|
+
}
|
|
5709
|
+
ReferenceApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function ReferenceApi_Factory() { return new ReferenceApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: ReferenceApi, providedIn: "root" });
|
|
5710
|
+
ReferenceApi.decorators = [
|
|
5711
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
5712
|
+
];
|
|
5707
5713
|
ReferenceApi.ctorParameters = () => [
|
|
5708
5714
|
{ type: HttpClient },
|
|
5709
5715
|
{ type: ConfigService }
|
|
5710
5716
|
];
|
|
5711
|
-
ReferenceApi.ɵprov = ɵɵdefineInjectable({ factory: function ReferenceApi_Factory() { return new ReferenceApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: ReferenceApi, providedIn: "root" });
|
|
5712
|
-
ReferenceApi = __decorate([
|
|
5713
|
-
Injectable({ providedIn: 'root' })
|
|
5714
|
-
], ReferenceApi);
|
|
5715
5717
|
|
|
5716
5718
|
let RugbyGameTeamStatistic = class RugbyGameTeamStatistic extends BaseModel {
|
|
5717
5719
|
static toFront(data) { }
|
|
@@ -5866,7 +5868,7 @@ const RUGBY_GAME_LOG_TYPE_POINTS = {
|
|
|
5866
5868
|
[RugbyGameLogTypes.conversion_goal]: 2,
|
|
5867
5869
|
[RugbyGameLogTypes.penalty_goal]: 3,
|
|
5868
5870
|
[RugbyGameLogTypes.drop_goal]: 3,
|
|
5869
|
-
[RugbyGameLogTypes.end_game_penalty_goal]: 1,
|
|
5871
|
+
[RugbyGameLogTypes.end_game_penalty_goal]: 1, // Не влияет на общий счет
|
|
5870
5872
|
};
|
|
5871
5873
|
const RUGBY_TEAM_LOG_TYPES = [
|
|
5872
5874
|
RugbyGameLogTypes.timeout, RugbyGameLogTypes.scrum_won, RugbyGameLogTypes.scrum_lost, RugbyGameLogTypes.scrum_won_free,
|
|
@@ -5951,7 +5953,7 @@ RugbyGameLog = __decorate([
|
|
|
5951
5953
|
})
|
|
5952
5954
|
], RugbyGameLog);
|
|
5953
5955
|
|
|
5954
|
-
|
|
5956
|
+
class RugbyGameApi extends GameBaseApi {
|
|
5955
5957
|
constructor(httpClient, configService) {
|
|
5956
5958
|
super(httpClient, configService);
|
|
5957
5959
|
this.httpClient = httpClient;
|
|
@@ -5990,15 +5992,15 @@ let RugbyGameApi = class RugbyGameApi extends GameBaseApi {
|
|
|
5990
5992
|
}).toPromise();
|
|
5991
5993
|
});
|
|
5992
5994
|
}
|
|
5993
|
-
}
|
|
5995
|
+
}
|
|
5996
|
+
RugbyGameApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function RugbyGameApi_Factory() { return new RugbyGameApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: RugbyGameApi, providedIn: "root" });
|
|
5997
|
+
RugbyGameApi.decorators = [
|
|
5998
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
5999
|
+
];
|
|
5994
6000
|
RugbyGameApi.ctorParameters = () => [
|
|
5995
6001
|
{ type: HttpClient },
|
|
5996
6002
|
{ type: ConfigService }
|
|
5997
6003
|
];
|
|
5998
|
-
RugbyGameApi.ɵprov = ɵɵdefineInjectable({ factory: function RugbyGameApi_Factory() { return new RugbyGameApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: RugbyGameApi, providedIn: "root" });
|
|
5999
|
-
RugbyGameApi = __decorate([
|
|
6000
|
-
Injectable({ providedIn: 'root' })
|
|
6001
|
-
], RugbyGameApi);
|
|
6002
6004
|
|
|
6003
6005
|
let TeamInviteExternal = class TeamInviteExternal extends BaseModel {
|
|
6004
6006
|
static toFront(data) { }
|
|
@@ -6098,7 +6100,7 @@ TeamAccess = __decorate([
|
|
|
6098
6100
|
})
|
|
6099
6101
|
], TeamAccess);
|
|
6100
6102
|
|
|
6101
|
-
|
|
6103
|
+
class TeamApi {
|
|
6102
6104
|
constructor(httpClient, configService) {
|
|
6103
6105
|
this.httpClient = httpClient;
|
|
6104
6106
|
this.configService = configService;
|
|
@@ -6458,17 +6460,17 @@ let TeamApi = class TeamApi {
|
|
|
6458
6460
|
.toPromise();
|
|
6459
6461
|
});
|
|
6460
6462
|
}
|
|
6461
|
-
}
|
|
6463
|
+
}
|
|
6464
|
+
TeamApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function TeamApi_Factory() { return new TeamApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: TeamApi, providedIn: "root" });
|
|
6465
|
+
TeamApi.decorators = [
|
|
6466
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
6467
|
+
];
|
|
6462
6468
|
TeamApi.ctorParameters = () => [
|
|
6463
6469
|
{ type: HttpClient },
|
|
6464
6470
|
{ type: ConfigService }
|
|
6465
6471
|
];
|
|
6466
|
-
TeamApi.ɵprov = ɵɵdefineInjectable({ factory: function TeamApi_Factory() { return new TeamApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: TeamApi, providedIn: "root" });
|
|
6467
|
-
TeamApi = __decorate([
|
|
6468
|
-
Injectable({ providedIn: 'root' })
|
|
6469
|
-
], TeamApi);
|
|
6470
6472
|
|
|
6471
|
-
|
|
6473
|
+
class TeamEventApi {
|
|
6472
6474
|
constructor(httpClient, configService) {
|
|
6473
6475
|
this.httpClient = httpClient;
|
|
6474
6476
|
this.configService = configService;
|
|
@@ -6528,15 +6530,15 @@ let TeamEventApi = class TeamEventApi {
|
|
|
6528
6530
|
.toPromise();
|
|
6529
6531
|
});
|
|
6530
6532
|
}
|
|
6531
|
-
}
|
|
6533
|
+
}
|
|
6534
|
+
TeamEventApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function TeamEventApi_Factory() { return new TeamEventApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: TeamEventApi, providedIn: "root" });
|
|
6535
|
+
TeamEventApi.decorators = [
|
|
6536
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
6537
|
+
];
|
|
6532
6538
|
TeamEventApi.ctorParameters = () => [
|
|
6533
6539
|
{ type: HttpClient },
|
|
6534
6540
|
{ type: ConfigService }
|
|
6535
6541
|
];
|
|
6536
|
-
TeamEventApi.ɵprov = ɵɵdefineInjectable({ factory: function TeamEventApi_Factory() { return new TeamEventApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: TeamEventApi, providedIn: "root" });
|
|
6537
|
-
TeamEventApi = __decorate([
|
|
6538
|
-
Injectable({ providedIn: 'root' })
|
|
6539
|
-
], TeamEventApi);
|
|
6540
6542
|
|
|
6541
6543
|
let TournamentJoinData = class TournamentJoinData extends BaseModel {
|
|
6542
6544
|
get usersCount() {
|
|
@@ -6588,7 +6590,7 @@ TournamentJoinTeam = __decorate([
|
|
|
6588
6590
|
})
|
|
6589
6591
|
], TournamentJoinTeam);
|
|
6590
6592
|
|
|
6591
|
-
|
|
6593
|
+
class TournamentJoinApi {
|
|
6592
6594
|
constructor(httpClient, configService) {
|
|
6593
6595
|
this.httpClient = httpClient;
|
|
6594
6596
|
this.configService = configService;
|
|
@@ -6616,17 +6618,17 @@ let TournamentJoinApi = class TournamentJoinApi {
|
|
|
6616
6618
|
.toPromise();
|
|
6617
6619
|
});
|
|
6618
6620
|
}
|
|
6619
|
-
}
|
|
6621
|
+
}
|
|
6622
|
+
TournamentJoinApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function TournamentJoinApi_Factory() { return new TournamentJoinApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: TournamentJoinApi, providedIn: "root" });
|
|
6623
|
+
TournamentJoinApi.decorators = [
|
|
6624
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
6625
|
+
];
|
|
6620
6626
|
TournamentJoinApi.ctorParameters = () => [
|
|
6621
6627
|
{ type: HttpClient },
|
|
6622
6628
|
{ type: ConfigService }
|
|
6623
6629
|
];
|
|
6624
|
-
TournamentJoinApi.ɵprov = ɵɵdefineInjectable({ factory: function TournamentJoinApi_Factory() { return new TournamentJoinApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: TournamentJoinApi, providedIn: "root" });
|
|
6625
|
-
TournamentJoinApi = __decorate([
|
|
6626
|
-
Injectable({ providedIn: 'root' })
|
|
6627
|
-
], TournamentJoinApi);
|
|
6628
6630
|
|
|
6629
|
-
|
|
6631
|
+
class TournamentSeasonApi {
|
|
6630
6632
|
constructor(httpClient, configService) {
|
|
6631
6633
|
this.httpClient = httpClient;
|
|
6632
6634
|
this.configService = configService;
|
|
@@ -6711,17 +6713,17 @@ let TournamentSeasonApi = class TournamentSeasonApi {
|
|
|
6711
6713
|
.toPromise();
|
|
6712
6714
|
});
|
|
6713
6715
|
}
|
|
6714
|
-
}
|
|
6716
|
+
}
|
|
6717
|
+
TournamentSeasonApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function TournamentSeasonApi_Factory() { return new TournamentSeasonApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: TournamentSeasonApi, providedIn: "root" });
|
|
6718
|
+
TournamentSeasonApi.decorators = [
|
|
6719
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
6720
|
+
];
|
|
6715
6721
|
TournamentSeasonApi.ctorParameters = () => [
|
|
6716
6722
|
{ type: HttpClient },
|
|
6717
6723
|
{ type: ConfigService }
|
|
6718
6724
|
];
|
|
6719
|
-
TournamentSeasonApi.ɵprov = ɵɵdefineInjectable({ factory: function TournamentSeasonApi_Factory() { return new TournamentSeasonApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: TournamentSeasonApi, providedIn: "root" });
|
|
6720
|
-
TournamentSeasonApi = __decorate([
|
|
6721
|
-
Injectable({ providedIn: 'root' })
|
|
6722
|
-
], TournamentSeasonApi);
|
|
6723
6725
|
|
|
6724
|
-
|
|
6726
|
+
class TournamentStageApi {
|
|
6725
6727
|
constructor(httpClient, configService) {
|
|
6726
6728
|
this.httpClient = httpClient;
|
|
6727
6729
|
this.configService = configService;
|
|
@@ -6754,15 +6756,15 @@ let TournamentStageApi = class TournamentStageApi {
|
|
|
6754
6756
|
.toPromise();
|
|
6755
6757
|
});
|
|
6756
6758
|
}
|
|
6757
|
-
}
|
|
6759
|
+
}
|
|
6760
|
+
TournamentStageApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function TournamentStageApi_Factory() { return new TournamentStageApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: TournamentStageApi, providedIn: "root" });
|
|
6761
|
+
TournamentStageApi.decorators = [
|
|
6762
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
6763
|
+
];
|
|
6758
6764
|
TournamentStageApi.ctorParameters = () => [
|
|
6759
6765
|
{ type: HttpClient },
|
|
6760
6766
|
{ type: ConfigService }
|
|
6761
6767
|
];
|
|
6762
|
-
TournamentStageApi.ɵprov = ɵɵdefineInjectable({ factory: function TournamentStageApi_Factory() { return new TournamentStageApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: TournamentStageApi, providedIn: "root" });
|
|
6763
|
-
TournamentStageApi = __decorate([
|
|
6764
|
-
Injectable({ providedIn: 'root' })
|
|
6765
|
-
], TournamentStageApi);
|
|
6766
6768
|
|
|
6767
6769
|
let UserAccess = class UserAccess extends BaseModel {
|
|
6768
6770
|
static toFront(data) { }
|
|
@@ -6821,7 +6823,7 @@ UserPermission = __decorate([
|
|
|
6821
6823
|
})
|
|
6822
6824
|
], UserPermission);
|
|
6823
6825
|
|
|
6824
|
-
|
|
6826
|
+
class UserApi {
|
|
6825
6827
|
constructor(httpClient, configService) {
|
|
6826
6828
|
this.httpClient = httpClient;
|
|
6827
6829
|
this.configService = configService;
|
|
@@ -7072,15 +7074,15 @@ let UserApi = class UserApi {
|
|
|
7072
7074
|
.toPromise();
|
|
7073
7075
|
});
|
|
7074
7076
|
}
|
|
7075
|
-
}
|
|
7077
|
+
}
|
|
7078
|
+
UserApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function UserApi_Factory() { return new UserApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: UserApi, providedIn: "root" });
|
|
7079
|
+
UserApi.decorators = [
|
|
7080
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
7081
|
+
];
|
|
7076
7082
|
UserApi.ctorParameters = () => [
|
|
7077
7083
|
{ type: HttpClient },
|
|
7078
7084
|
{ type: ConfigService }
|
|
7079
7085
|
];
|
|
7080
|
-
UserApi.ɵprov = ɵɵdefineInjectable({ factory: function UserApi_Factory() { return new UserApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: UserApi, providedIn: "root" });
|
|
7081
|
-
UserApi = __decorate([
|
|
7082
|
-
Injectable({ providedIn: 'root' })
|
|
7083
|
-
], UserApi);
|
|
7084
7086
|
|
|
7085
7087
|
let VolleyballGameTeamStatistic = class VolleyballGameTeamStatistic extends BaseModel {
|
|
7086
7088
|
static toFront(data) { }
|
|
@@ -7292,7 +7294,7 @@ VolleyballGameLog = __decorate([
|
|
|
7292
7294
|
})
|
|
7293
7295
|
], VolleyballGameLog);
|
|
7294
7296
|
|
|
7295
|
-
|
|
7297
|
+
class VolleyballGameApi extends GameBaseApi {
|
|
7296
7298
|
constructor(httpClient, configService) {
|
|
7297
7299
|
super(httpClient, configService);
|
|
7298
7300
|
this.httpClient = httpClient;
|
|
@@ -7334,17 +7336,17 @@ let VolleyballGameApi = class VolleyballGameApi extends GameBaseApi {
|
|
|
7334
7336
|
}).toPromise();
|
|
7335
7337
|
});
|
|
7336
7338
|
}
|
|
7337
|
-
}
|
|
7339
|
+
}
|
|
7340
|
+
VolleyballGameApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function VolleyballGameApi_Factory() { return new VolleyballGameApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: VolleyballGameApi, providedIn: "root" });
|
|
7341
|
+
VolleyballGameApi.decorators = [
|
|
7342
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
7343
|
+
];
|
|
7338
7344
|
VolleyballGameApi.ctorParameters = () => [
|
|
7339
7345
|
{ type: HttpClient },
|
|
7340
7346
|
{ type: ConfigService }
|
|
7341
7347
|
];
|
|
7342
|
-
VolleyballGameApi.ɵprov = ɵɵdefineInjectable({ factory: function VolleyballGameApi_Factory() { return new VolleyballGameApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: VolleyballGameApi, providedIn: "root" });
|
|
7343
|
-
VolleyballGameApi = __decorate([
|
|
7344
|
-
Injectable({ providedIn: 'root' })
|
|
7345
|
-
], VolleyballGameApi);
|
|
7346
7348
|
|
|
7347
|
-
|
|
7349
|
+
class PublicTeamApi {
|
|
7348
7350
|
constructor(httpClient, configService) {
|
|
7349
7351
|
this.httpClient = httpClient;
|
|
7350
7352
|
this.configService = configService;
|
|
@@ -7356,17 +7358,17 @@ let PublicTeamApi = class PublicTeamApi {
|
|
|
7356
7358
|
const params = new HttpParams().set('league_id', leagueId.toString());
|
|
7357
7359
|
return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/public_team/${teamId}/tournament_teams/`, { params }).pipe(map(result => TournamentTeam.toFront(result))).toPromise();
|
|
7358
7360
|
}
|
|
7359
|
-
}
|
|
7361
|
+
}
|
|
7362
|
+
PublicTeamApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function PublicTeamApi_Factory() { return new PublicTeamApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: PublicTeamApi, providedIn: "root" });
|
|
7363
|
+
PublicTeamApi.decorators = [
|
|
7364
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
7365
|
+
];
|
|
7360
7366
|
PublicTeamApi.ctorParameters = () => [
|
|
7361
7367
|
{ type: HttpClient },
|
|
7362
7368
|
{ type: ConfigService }
|
|
7363
7369
|
];
|
|
7364
|
-
PublicTeamApi.ɵprov = ɵɵdefineInjectable({ factory: function PublicTeamApi_Factory() { return new PublicTeamApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: PublicTeamApi, providedIn: "root" });
|
|
7365
|
-
PublicTeamApi = __decorate([
|
|
7366
|
-
Injectable({ providedIn: 'root' })
|
|
7367
|
-
], PublicTeamApi);
|
|
7368
7370
|
|
|
7369
|
-
|
|
7371
|
+
class PublicUserApi {
|
|
7370
7372
|
constructor(httpClient, configService) {
|
|
7371
7373
|
this.httpClient = httpClient;
|
|
7372
7374
|
this.configService = configService;
|
|
@@ -7386,15 +7388,15 @@ let PublicUserApi = class PublicUserApi {
|
|
|
7386
7388
|
const params = new HttpParams().set('league_id', leagueId.toString());
|
|
7387
7389
|
return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/public_user/${userId}/league_player/`, { params }).pipe(map(result => LeaguePlayer.toFront(result))).toPromise();
|
|
7388
7390
|
}
|
|
7389
|
-
}
|
|
7391
|
+
}
|
|
7392
|
+
PublicUserApi.ɵprov = i0.ɵɵdefineInjectable({ factory: function PublicUserApi_Factory() { return new PublicUserApi(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: PublicUserApi, providedIn: "root" });
|
|
7393
|
+
PublicUserApi.decorators = [
|
|
7394
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
7395
|
+
];
|
|
7390
7396
|
PublicUserApi.ctorParameters = () => [
|
|
7391
7397
|
{ type: HttpClient },
|
|
7392
7398
|
{ type: ConfigService }
|
|
7393
7399
|
];
|
|
7394
|
-
PublicUserApi.ɵprov = ɵɵdefineInjectable({ factory: function PublicUserApi_Factory() { return new PublicUserApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: PublicUserApi, providedIn: "root" });
|
|
7395
|
-
PublicUserApi = __decorate([
|
|
7396
|
-
Injectable({ providedIn: 'root' })
|
|
7397
|
-
], PublicUserApi);
|
|
7398
7400
|
|
|
7399
7401
|
const BasketballGameLogTypeLocalization = {
|
|
7400
7402
|
[BasketballGameLogTypes.enter_game]: 'Выход на площадку',
|
|
@@ -7703,7 +7705,7 @@ LeaguePlaylist = __decorate([
|
|
|
7703
7705
|
})
|
|
7704
7706
|
], LeaguePlaylist);
|
|
7705
7707
|
|
|
7706
|
-
|
|
7708
|
+
class CentrifugoService {
|
|
7707
7709
|
constructor(httpClient, configService) {
|
|
7708
7710
|
this.httpClient = httpClient;
|
|
7709
7711
|
this.configService = configService;
|
|
@@ -7795,15 +7797,15 @@ let CentrifugoService = class CentrifugoService {
|
|
|
7795
7797
|
}
|
|
7796
7798
|
this.channels$[channel].next(response.data);
|
|
7797
7799
|
}
|
|
7798
|
-
}
|
|
7800
|
+
}
|
|
7801
|
+
CentrifugoService.ɵprov = i0.ɵɵdefineInjectable({ factory: function CentrifugoService_Factory() { return new CentrifugoService(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(ConfigService)); }, token: CentrifugoService, providedIn: "root" });
|
|
7802
|
+
CentrifugoService.decorators = [
|
|
7803
|
+
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
7804
|
+
];
|
|
7799
7805
|
CentrifugoService.ctorParameters = () => [
|
|
7800
7806
|
{ type: HttpClient },
|
|
7801
7807
|
{ type: ConfigService }
|
|
7802
7808
|
];
|
|
7803
|
-
CentrifugoService.ɵprov = ɵɵdefineInjectable({ factory: function CentrifugoService_Factory() { return new CentrifugoService(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: CentrifugoService, providedIn: "root" });
|
|
7804
|
-
CentrifugoService = __decorate([
|
|
7805
|
-
Injectable({ providedIn: 'root' })
|
|
7806
|
-
], CentrifugoService);
|
|
7807
7809
|
|
|
7808
7810
|
class StorageEngineField {
|
|
7809
7811
|
constructor(defaultValue, modelClass) {
|
|
@@ -8033,7 +8035,7 @@ function fileSizeValidator(maxFileSize) {
|
|
|
8033
8035
|
};
|
|
8034
8036
|
}
|
|
8035
8037
|
|
|
8036
|
-
|
|
8038
|
+
class HttpCookieInterceptor {
|
|
8037
8039
|
constructor(injector, configService, platformId) {
|
|
8038
8040
|
this.injector = injector;
|
|
8039
8041
|
this.configService = configService;
|
|
@@ -8056,16 +8058,15 @@ let HttpCookieInterceptor = class HttpCookieInterceptor {
|
|
|
8056
8058
|
}
|
|
8057
8059
|
return next.handle(req);
|
|
8058
8060
|
}
|
|
8059
|
-
}
|
|
8061
|
+
}
|
|
8062
|
+
HttpCookieInterceptor.decorators = [
|
|
8063
|
+
{ type: Injectable }
|
|
8064
|
+
];
|
|
8060
8065
|
HttpCookieInterceptor.ctorParameters = () => [
|
|
8061
8066
|
{ type: Injector },
|
|
8062
8067
|
{ type: ConfigService },
|
|
8063
8068
|
{ type: String, decorators: [{ type: Inject, args: [PLATFORM_ID,] }] }
|
|
8064
8069
|
];
|
|
8065
|
-
HttpCookieInterceptor = __decorate([
|
|
8066
|
-
Injectable(),
|
|
8067
|
-
__param(2, Inject(PLATFORM_ID))
|
|
8068
|
-
], HttpCookieInterceptor);
|
|
8069
8070
|
|
|
8070
8071
|
/**
|
|
8071
8072
|
* Generated bundle index. Do not edit.
|