@mtgame/core 2.0.9 → 2.0.11
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/tournament-api.d.ts +1 -1
- package/api/tournament-stage-api.d.ts +1 -1
- package/esm2020/api/basketball-game-api.mjs +4 -4
- package/esm2020/api/feedback-api.mjs +4 -4
- package/esm2020/api/file-api.mjs +4 -4
- package/esm2020/api/football-game-api.mjs +4 -4
- package/esm2020/api/game-base-api.mjs +4 -4
- package/esm2020/api/handball-game-api.mjs +4 -4
- package/esm2020/api/hockey-game-api.mjs +4 -4
- package/esm2020/api/league-api.mjs +4 -4
- package/esm2020/api/league-news-api.mjs +4 -4
- package/esm2020/api/league-player-api.mjs +4 -4
- package/esm2020/api/media-api.mjs +4 -4
- package/esm2020/api/notification-api.mjs +4 -4
- package/esm2020/api/notification-base-api.mjs +4 -4
- package/esm2020/api/org-notification-api.mjs +4 -4
- package/esm2020/api/public-team-api.mjs +4 -4
- package/esm2020/api/public-user-api.mjs +4 -4
- package/esm2020/api/reference-api.mjs +4 -4
- package/esm2020/api/rugby-game-api.mjs +4 -4
- package/esm2020/api/team-api.mjs +4 -4
- package/esm2020/api/team-event-api.mjs +4 -4
- package/esm2020/api/tournament-api.mjs +4 -4
- package/esm2020/api/tournament-join-api.mjs +4 -4
- package/esm2020/api/tournament-round-api.mjs +4 -4
- package/esm2020/api/tournament-season-api.mjs +4 -4
- package/esm2020/api/tournament-stage-api.mjs +14 -6
- package/esm2020/api/user-api.mjs +4 -4
- package/esm2020/api/volleyball-game-api.mjs +4 -4
- package/esm2020/api/waterpolo-game-api.mjs +4 -4
- package/esm2020/http-cookie.interceptor.mjs +4 -4
- package/esm2020/models/achievement.mjs +1 -1
- package/esm2020/models/basketball-game-config.mjs +1 -1
- package/esm2020/models/basketball-game-log.mjs +1 -1
- package/esm2020/models/basketball-game-statistic.mjs +1 -1
- package/esm2020/models/basketball-game-team-statistic.mjs +1 -1
- package/esm2020/models/basketball-profile.mjs +1 -1
- package/esm2020/models/basketball-statistic.mjs +1 -1
- package/esm2020/models/city.mjs +1 -1
- package/esm2020/models/device-info.mjs +1 -1
- package/esm2020/models/feedback.mjs +1 -1
- package/esm2020/models/file.mjs +1 -1
- package/esm2020/models/football-game-config.mjs +1 -1
- package/esm2020/models/football-game-log.mjs +1 -1
- package/esm2020/models/football-game-statistic.mjs +1 -1
- package/esm2020/models/football-game-team-statistic.mjs +1 -1
- package/esm2020/models/football-profile.mjs +1 -1
- package/esm2020/models/football-statistic.mjs +1 -1
- package/esm2020/models/game-bill.mjs +1 -1
- package/esm2020/models/game-invite.mjs +1 -1
- package/esm2020/models/game-timeline-stages.mjs +1 -1
- package/esm2020/models/game-user-disqualification.mjs +1 -1
- package/esm2020/models/game-user-limitation.mjs +1 -1
- package/esm2020/models/game-user.mjs +1 -1
- package/esm2020/models/game.mjs +1 -1
- package/esm2020/models/handball-game-config.mjs +1 -1
- package/esm2020/models/handball-game-log.mjs +1 -1
- package/esm2020/models/handball-game-statistic.mjs +1 -1
- package/esm2020/models/handball-game-team-statistic.mjs +1 -1
- package/esm2020/models/handball-profile.mjs +1 -1
- package/esm2020/models/handball-statistic.mjs +1 -1
- package/esm2020/models/hockey-game-config.mjs +1 -1
- package/esm2020/models/hockey-game-log.mjs +1 -1
- package/esm2020/models/hockey-game-statistic.mjs +1 -1
- package/esm2020/models/hockey-game-team-statistic.mjs +1 -1
- package/esm2020/models/hockey-profile.mjs +1 -1
- package/esm2020/models/hockey-statistic.mjs +1 -1
- package/esm2020/models/league-banner.mjs +1 -1
- package/esm2020/models/league-court.mjs +1 -1
- package/esm2020/models/league-document.mjs +1 -1
- package/esm2020/models/league-news.mjs +1 -1
- package/esm2020/models/league-partner.mjs +1 -1
- package/esm2020/models/league-player-field-value.mjs +1 -1
- package/esm2020/models/league-player-field.mjs +1 -1
- package/esm2020/models/league-player.mjs +1 -1
- package/esm2020/models/league-playlist.mjs +1 -1
- package/esm2020/models/league-team-field.mjs +1 -1
- package/esm2020/models/league-user.mjs +1 -1
- package/esm2020/models/league.mjs +1 -1
- package/esm2020/models/media-item.mjs +1 -1
- package/esm2020/models/notification-settings.mjs +1 -1
- package/esm2020/models/notification.mjs +1 -1
- package/esm2020/models/organization-bill.mjs +1 -1
- package/esm2020/models/organization-statistic.mjs +1 -1
- package/esm2020/models/organization-tariff.mjs +1 -1
- package/esm2020/models/organization.mjs +1 -1
- package/esm2020/models/playoff.mjs +1 -1
- package/esm2020/models/poll.mjs +1 -1
- package/esm2020/models/rugby-foul-type.mjs +1 -1
- package/esm2020/models/rugby-game-config.mjs +1 -1
- package/esm2020/models/rugby-game-log.mjs +1 -1
- package/esm2020/models/rugby-game-statistic.mjs +1 -1
- package/esm2020/models/rugby-game-team-statistic.mjs +1 -1
- package/esm2020/models/rugby-profile.mjs +1 -1
- package/esm2020/models/rugby-statistic.mjs +1 -1
- package/esm2020/models/season-tournament.mjs +1 -1
- package/esm2020/models/sport.mjs +1 -1
- package/esm2020/models/team-access.mjs +1 -1
- package/esm2020/models/team-achievement.mjs +1 -1
- package/esm2020/models/team-event-invite.mjs +1 -1
- package/esm2020/models/team-event.mjs +1 -1
- package/esm2020/models/team-invite-external.mjs +1 -1
- package/esm2020/models/team-invite.mjs +1 -1
- package/esm2020/models/team-permission.mjs +1 -1
- package/esm2020/models/team-user.mjs +1 -1
- package/esm2020/models/team.mjs +1 -1
- package/esm2020/models/teams-and-users.mjs +1 -1
- package/esm2020/models/tournament-disqualification.mjs +1 -1
- package/esm2020/models/tournament-division.mjs +1 -1
- package/esm2020/models/tournament-event.mjs +1 -1
- package/esm2020/models/tournament-group.mjs +1 -1
- package/esm2020/models/tournament-invite.mjs +1 -1
- package/esm2020/models/tournament-join-team.mjs +1 -1
- package/esm2020/models/tournament-join1x1-data.mjs +1 -1
- package/esm2020/models/tournament-news.mjs +1 -1
- package/esm2020/models/tournament-round-team.mjs +1 -1
- package/esm2020/models/tournament-round.mjs +1 -1
- package/esm2020/models/tournament-season.mjs +1 -1
- package/esm2020/models/tournament-stage-team.mjs +1 -1
- package/esm2020/models/tournament-stage.mjs +1 -1
- package/esm2020/models/tournament-team-field-value.mjs +1 -1
- package/esm2020/models/tournament-team-user-invite.mjs +1 -1
- package/esm2020/models/tournament-team-user.mjs +1 -1
- package/esm2020/models/tournament-team.mjs +1 -1
- package/esm2020/models/tournament.mjs +1 -1
- package/esm2020/models/user-access.mjs +1 -1
- package/esm2020/models/user-permission.mjs +1 -1
- package/esm2020/models/user-profile.mjs +1 -1
- package/esm2020/models/user.mjs +1 -1
- package/esm2020/models/util.mjs +5 -2
- package/esm2020/models/volleyball-game-config.mjs +1 -1
- package/esm2020/models/volleyball-game-log.mjs +1 -1
- package/esm2020/models/volleyball-game-statistic.mjs +1 -1
- package/esm2020/models/volleyball-game-team-statistic.mjs +1 -1
- package/esm2020/models/volleyball-profile.mjs +1 -1
- package/esm2020/models/volleyball-statistic.mjs +1 -1
- package/esm2020/models/waterpolo-game-config.mjs +1 -1
- package/esm2020/models/waterpolo-game-log.mjs +1 -1
- package/esm2020/models/waterpolo-game-statistic.mjs +1 -1
- package/esm2020/models/waterpolo-game-team-statistic.mjs +1 -1
- package/esm2020/models/waterpolo-profile.mjs +1 -1
- package/esm2020/models/waterpolo-statistic.mjs +1 -1
- package/esm2020/services/base.service.mjs +4 -4
- package/esm2020/services/centrifugo.service.mjs +7 -7
- package/esm2020/services/config.service.mjs +4 -4
- package/esm2020/services/device-info.service.mjs +4 -4
- package/esm2020/storage/new.mjs +10 -10
- package/esm2020/storage/old-storage-engine.mjs +3 -3
- package/esm2020/storage/storage-engine.mjs +2 -2
- package/esm2020/utils/data.mjs +6 -3
- package/esm2020/websocket/game.websocket.mjs +4 -4
- package/fesm2015/mtgame-core.mjs +132 -119
- package/fesm2015/mtgame-core.mjs.map +1 -1
- package/fesm2020/mtgame-core.mjs +135 -122
- package/fesm2020/mtgame-core.mjs.map +1 -1
- package/{mtgame-core.d.ts → index.d.ts} +0 -0
- package/models/base-statistic.d.ts +1 -1
- package/models/game.d.ts +1 -1
- package/package.json +8 -8
- package/services/base.controller.d.ts +1 -1
- package/storage/new.d.ts +1 -1
- package/storage/storage-engine.d.ts +2 -2
- package/utils/data.d.ts +4 -4
package/fesm2015/mtgame-core.mjs
CHANGED
|
@@ -126,7 +126,10 @@ function Model(config = {}) {
|
|
|
126
126
|
instance[modelKey] = relation.create(data[key]);
|
|
127
127
|
}
|
|
128
128
|
else {
|
|
129
|
-
|
|
129
|
+
const descriptor = Object.getOwnPropertyDescriptor(instance.constructor.prototype, modelKey);
|
|
130
|
+
if (!descriptor || descriptor.set) {
|
|
131
|
+
instance[modelKey] = data[key];
|
|
132
|
+
}
|
|
130
133
|
}
|
|
131
134
|
}
|
|
132
135
|
Object.defineProperty(instance, 'json', {
|
|
@@ -1710,8 +1713,11 @@ function updateItemInArray(data, item, force = false, checkFunction) {
|
|
|
1710
1713
|
!force && item.updatedAt && oldItem.updatedAt && oldItem.updatedAt > item.updatedAt) {
|
|
1711
1714
|
return data;
|
|
1712
1715
|
}
|
|
1713
|
-
|
|
1714
|
-
|
|
1716
|
+
return [
|
|
1717
|
+
...data.slice(0, index),
|
|
1718
|
+
item,
|
|
1719
|
+
...data.slice(index + 1),
|
|
1720
|
+
];
|
|
1715
1721
|
}
|
|
1716
1722
|
function updateItemsInArray(data, items, force = false, checkFunction) {
|
|
1717
1723
|
items.forEach(item => {
|
|
@@ -1924,9 +1930,9 @@ class BaseService {
|
|
|
1924
1930
|
this.store.dispose();
|
|
1925
1931
|
}
|
|
1926
1932
|
}
|
|
1927
|
-
BaseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1928
|
-
BaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1929
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1933
|
+
BaseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BaseService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1934
|
+
BaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BaseService, providedIn: 'root' });
|
|
1935
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BaseService, decorators: [{
|
|
1930
1936
|
type: Injectable,
|
|
1931
1937
|
args: [{ providedIn: 'root' }]
|
|
1932
1938
|
}] });
|
|
@@ -1957,9 +1963,9 @@ class ConfigService extends BaseService {
|
|
|
1957
1963
|
return this.store.value(CONFIG_STORE_KEY) && this.store.value(CONFIG_STORE_KEY)[key];
|
|
1958
1964
|
}
|
|
1959
1965
|
}
|
|
1960
|
-
ConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1961
|
-
ConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1962
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1966
|
+
ConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ConfigService, deps: [{ token: CONFIG_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1967
|
+
ConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ConfigService, providedIn: 'root' });
|
|
1968
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ConfigService, decorators: [{
|
|
1963
1969
|
type: Injectable,
|
|
1964
1970
|
args: [{ providedIn: 'root' }]
|
|
1965
1971
|
}], ctorParameters: function () {
|
|
@@ -2005,9 +2011,9 @@ class GameBaseApi {
|
|
|
2005
2011
|
});
|
|
2006
2012
|
}
|
|
2007
2013
|
}
|
|
2008
|
-
GameBaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2009
|
-
GameBaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2010
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2014
|
+
GameBaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameBaseApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2015
|
+
GameBaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameBaseApi, providedIn: 'root' });
|
|
2016
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameBaseApi, decorators: [{
|
|
2011
2017
|
type: Injectable,
|
|
2012
2018
|
args: [{ providedIn: 'root' }]
|
|
2013
2019
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -2051,9 +2057,9 @@ class BasketballGameApi extends GameBaseApi {
|
|
|
2051
2057
|
});
|
|
2052
2058
|
}
|
|
2053
2059
|
}
|
|
2054
|
-
BasketballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2055
|
-
BasketballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2056
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2060
|
+
BasketballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BasketballGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2061
|
+
BasketballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BasketballGameApi, providedIn: 'root' });
|
|
2062
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BasketballGameApi, decorators: [{
|
|
2057
2063
|
type: Injectable,
|
|
2058
2064
|
args: [{ providedIn: 'root' }]
|
|
2059
2065
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -2088,9 +2094,9 @@ class FeedbackApi {
|
|
|
2088
2094
|
});
|
|
2089
2095
|
}
|
|
2090
2096
|
}
|
|
2091
|
-
FeedbackApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2092
|
-
FeedbackApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2093
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2097
|
+
FeedbackApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FeedbackApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2098
|
+
FeedbackApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FeedbackApi, providedIn: 'root' });
|
|
2099
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FeedbackApi, decorators: [{
|
|
2094
2100
|
type: Injectable,
|
|
2095
2101
|
args: [{ providedIn: 'root' }]
|
|
2096
2102
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -2126,9 +2132,9 @@ class FileApi {
|
|
|
2126
2132
|
});
|
|
2127
2133
|
}
|
|
2128
2134
|
}
|
|
2129
|
-
FileApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2130
|
-
FileApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2131
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2135
|
+
FileApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FileApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2136
|
+
FileApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FileApi, providedIn: 'root' });
|
|
2137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FileApi, decorators: [{
|
|
2132
2138
|
type: Injectable,
|
|
2133
2139
|
args: [{ providedIn: 'root' }]
|
|
2134
2140
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -2478,9 +2484,9 @@ class HockeyGameApi extends GameBaseApi {
|
|
|
2478
2484
|
});
|
|
2479
2485
|
}
|
|
2480
2486
|
}
|
|
2481
|
-
HockeyGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2482
|
-
HockeyGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2483
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2487
|
+
HockeyGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HockeyGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2488
|
+
HockeyGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HockeyGameApi, providedIn: 'root' });
|
|
2489
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HockeyGameApi, decorators: [{
|
|
2484
2490
|
type: Injectable,
|
|
2485
2491
|
args: [{ providedIn: 'root' }]
|
|
2486
2492
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -2773,9 +2779,9 @@ class FootballGameApi extends GameBaseApi {
|
|
|
2773
2779
|
});
|
|
2774
2780
|
}
|
|
2775
2781
|
}
|
|
2776
|
-
FootballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2777
|
-
FootballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2778
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2782
|
+
FootballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FootballGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2783
|
+
FootballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FootballGameApi, providedIn: 'root' });
|
|
2784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FootballGameApi, decorators: [{
|
|
2779
2785
|
type: Injectable,
|
|
2780
2786
|
args: [{ providedIn: 'root' }]
|
|
2781
2787
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -2991,9 +2997,9 @@ class HandballGameApi extends GameBaseApi {
|
|
|
2991
2997
|
});
|
|
2992
2998
|
}
|
|
2993
2999
|
}
|
|
2994
|
-
HandballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2995
|
-
HandballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2996
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3000
|
+
HandballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HandballGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3001
|
+
HandballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HandballGameApi, providedIn: 'root' });
|
|
3002
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HandballGameApi, decorators: [{
|
|
2997
3003
|
type: Injectable,
|
|
2998
3004
|
args: [{ providedIn: 'root' }]
|
|
2999
3005
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -3636,9 +3642,9 @@ class TournamentApi {
|
|
|
3636
3642
|
});
|
|
3637
3643
|
}
|
|
3638
3644
|
}
|
|
3639
|
-
TournamentApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3640
|
-
TournamentApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3641
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3645
|
+
TournamentApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3646
|
+
TournamentApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentApi, providedIn: 'root' });
|
|
3647
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentApi, decorators: [{
|
|
3642
3648
|
type: Injectable,
|
|
3643
3649
|
args: [{ providedIn: 'root' }]
|
|
3644
3650
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -3906,9 +3912,9 @@ class LeagueApi {
|
|
|
3906
3912
|
});
|
|
3907
3913
|
}
|
|
3908
3914
|
}
|
|
3909
|
-
LeagueApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3910
|
-
LeagueApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3911
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3915
|
+
LeagueApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3916
|
+
LeagueApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueApi, providedIn: 'root' });
|
|
3917
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueApi, decorators: [{
|
|
3912
3918
|
type: Injectable,
|
|
3913
3919
|
args: [{ providedIn: 'root' }]
|
|
3914
3920
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -3966,9 +3972,9 @@ class LeagueNewsApi {
|
|
|
3966
3972
|
});
|
|
3967
3973
|
}
|
|
3968
3974
|
}
|
|
3969
|
-
LeagueNewsApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3970
|
-
LeagueNewsApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3971
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3975
|
+
LeagueNewsApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueNewsApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3976
|
+
LeagueNewsApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueNewsApi, providedIn: 'root' });
|
|
3977
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueNewsApi, decorators: [{
|
|
3972
3978
|
type: Injectable,
|
|
3973
3979
|
args: [{ providedIn: 'root' }]
|
|
3974
3980
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -3989,9 +3995,9 @@ class LeaguePlayerApi {
|
|
|
3989
3995
|
return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/league_player/${leaguePlayerId}/tournament_users/`, { params }).pipe(map(response => response.map(item => new TournamentTeamUser(item)))).toPromise();
|
|
3990
3996
|
}
|
|
3991
3997
|
}
|
|
3992
|
-
LeaguePlayerApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3993
|
-
LeaguePlayerApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3994
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3998
|
+
LeaguePlayerApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeaguePlayerApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3999
|
+
LeaguePlayerApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeaguePlayerApi, providedIn: 'root' });
|
|
4000
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeaguePlayerApi, decorators: [{
|
|
3995
4001
|
type: Injectable,
|
|
3996
4002
|
args: [{ providedIn: 'root' }]
|
|
3997
4003
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -4096,9 +4102,9 @@ class MediaApi {
|
|
|
4096
4102
|
});
|
|
4097
4103
|
}
|
|
4098
4104
|
}
|
|
4099
|
-
MediaApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4100
|
-
MediaApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4105
|
+
MediaApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: MediaApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4106
|
+
MediaApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: MediaApi, providedIn: 'root' });
|
|
4107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: MediaApi, decorators: [{
|
|
4102
4108
|
type: Injectable,
|
|
4103
4109
|
args: [{ providedIn: 'root' }]
|
|
4104
4110
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -4478,9 +4484,9 @@ class NotificationBaseApi {
|
|
|
4478
4484
|
});
|
|
4479
4485
|
}
|
|
4480
4486
|
}
|
|
4481
|
-
NotificationBaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4482
|
-
NotificationBaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4483
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4487
|
+
NotificationBaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationBaseApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4488
|
+
NotificationBaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationBaseApi, providedIn: 'root' });
|
|
4489
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationBaseApi, decorators: [{
|
|
4484
4490
|
type: Injectable,
|
|
4485
4491
|
args: [{ providedIn: 'root' }]
|
|
4486
4492
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -4491,9 +4497,9 @@ class NotificationApi extends NotificationBaseApi {
|
|
|
4491
4497
|
this.apiUrl = '/api/v1';
|
|
4492
4498
|
}
|
|
4493
4499
|
}
|
|
4494
|
-
NotificationApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4495
|
-
NotificationApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4496
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4500
|
+
NotificationApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationApi, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
4501
|
+
NotificationApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationApi, providedIn: 'root' });
|
|
4502
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationApi, decorators: [{
|
|
4497
4503
|
type: Injectable,
|
|
4498
4504
|
args: [{ providedIn: 'root' }]
|
|
4499
4505
|
}] });
|
|
@@ -4504,9 +4510,9 @@ class OrgNotificationApi extends NotificationBaseApi {
|
|
|
4504
4510
|
this.apiUrl = '/org/api/v1';
|
|
4505
4511
|
}
|
|
4506
4512
|
}
|
|
4507
|
-
OrgNotificationApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4508
|
-
OrgNotificationApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4509
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4513
|
+
OrgNotificationApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: OrgNotificationApi, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
4514
|
+
OrgNotificationApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: OrgNotificationApi, providedIn: 'root' });
|
|
4515
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: OrgNotificationApi, decorators: [{
|
|
4510
4516
|
type: Injectable,
|
|
4511
4517
|
args: [{ providedIn: 'root' }]
|
|
4512
4518
|
}] });
|
|
@@ -4531,9 +4537,9 @@ class ReferenceApi {
|
|
|
4531
4537
|
});
|
|
4532
4538
|
}
|
|
4533
4539
|
}
|
|
4534
|
-
ReferenceApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4535
|
-
ReferenceApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4536
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4540
|
+
ReferenceApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ReferenceApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4541
|
+
ReferenceApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ReferenceApi, providedIn: 'root' });
|
|
4542
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ReferenceApi, decorators: [{
|
|
4537
4543
|
type: Injectable,
|
|
4538
4544
|
args: [{ providedIn: 'root' }]
|
|
4539
4545
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -4792,9 +4798,9 @@ class RugbyGameApi extends GameBaseApi {
|
|
|
4792
4798
|
});
|
|
4793
4799
|
}
|
|
4794
4800
|
}
|
|
4795
|
-
RugbyGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4796
|
-
RugbyGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4797
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4801
|
+
RugbyGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: RugbyGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4802
|
+
RugbyGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: RugbyGameApi, providedIn: 'root' });
|
|
4803
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: RugbyGameApi, decorators: [{
|
|
4798
4804
|
type: Injectable,
|
|
4799
4805
|
args: [{ providedIn: 'root' }]
|
|
4800
4806
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -5196,9 +5202,9 @@ class TeamApi {
|
|
|
5196
5202
|
});
|
|
5197
5203
|
}
|
|
5198
5204
|
}
|
|
5199
|
-
TeamApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5200
|
-
TeamApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5201
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5205
|
+
TeamApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5206
|
+
TeamApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamApi, providedIn: 'root' });
|
|
5207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamApi, decorators: [{
|
|
5202
5208
|
type: Injectable,
|
|
5203
5209
|
args: [{ providedIn: 'root' }]
|
|
5204
5210
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -5264,9 +5270,9 @@ class TeamEventApi {
|
|
|
5264
5270
|
});
|
|
5265
5271
|
}
|
|
5266
5272
|
}
|
|
5267
|
-
TeamEventApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5268
|
-
TeamEventApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5269
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5273
|
+
TeamEventApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamEventApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5274
|
+
TeamEventApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamEventApi, providedIn: 'root' });
|
|
5275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamEventApi, decorators: [{
|
|
5270
5276
|
type: Injectable,
|
|
5271
5277
|
args: [{ providedIn: 'root' }]
|
|
5272
5278
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -5343,9 +5349,9 @@ class TournamentJoinApi {
|
|
|
5343
5349
|
});
|
|
5344
5350
|
}
|
|
5345
5351
|
}
|
|
5346
|
-
TournamentJoinApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5347
|
-
TournamentJoinApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5348
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5352
|
+
TournamentJoinApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentJoinApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5353
|
+
TournamentJoinApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentJoinApi, providedIn: 'root' });
|
|
5354
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentJoinApi, decorators: [{
|
|
5349
5355
|
type: Injectable,
|
|
5350
5356
|
args: [{ providedIn: 'root' }]
|
|
5351
5357
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -5428,9 +5434,9 @@ class TournamentRoundApi {
|
|
|
5428
5434
|
});
|
|
5429
5435
|
}
|
|
5430
5436
|
}
|
|
5431
|
-
TournamentRoundApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5432
|
-
TournamentRoundApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5433
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5437
|
+
TournamentRoundApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentRoundApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5438
|
+
TournamentRoundApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentRoundApi, providedIn: 'root' });
|
|
5439
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentRoundApi, decorators: [{
|
|
5434
5440
|
type: Injectable,
|
|
5435
5441
|
args: [{ providedIn: 'root' }]
|
|
5436
5442
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -5521,9 +5527,9 @@ class TournamentSeasonApi {
|
|
|
5521
5527
|
});
|
|
5522
5528
|
}
|
|
5523
5529
|
}
|
|
5524
|
-
TournamentSeasonApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5525
|
-
TournamentSeasonApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5526
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5530
|
+
TournamentSeasonApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentSeasonApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5531
|
+
TournamentSeasonApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentSeasonApi, providedIn: 'root' });
|
|
5532
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentSeasonApi, decorators: [{
|
|
5527
5533
|
type: Injectable,
|
|
5528
5534
|
args: [{ providedIn: 'root' }]
|
|
5529
5535
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -5561,17 +5567,24 @@ class TournamentStageApi {
|
|
|
5561
5567
|
.toPromise();
|
|
5562
5568
|
});
|
|
5563
5569
|
}
|
|
5564
|
-
getTeams(stageId) {
|
|
5570
|
+
getTeams(stageId, groupId, short) {
|
|
5565
5571
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5566
|
-
|
|
5572
|
+
let params = new HttpParams();
|
|
5573
|
+
if (groupId) {
|
|
5574
|
+
params = params.set('group_id', groupId.toString());
|
|
5575
|
+
}
|
|
5576
|
+
if (short) {
|
|
5577
|
+
params = params.set('short', '1');
|
|
5578
|
+
}
|
|
5579
|
+
return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/tournament_stage/${stageId}/teams/`, { params })
|
|
5567
5580
|
.pipe(map(result => result.map(item => new TournamentStageTeam(item))))
|
|
5568
5581
|
.toPromise();
|
|
5569
5582
|
});
|
|
5570
5583
|
}
|
|
5571
5584
|
}
|
|
5572
|
-
TournamentStageApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5573
|
-
TournamentStageApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5574
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5585
|
+
TournamentStageApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentStageApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5586
|
+
TournamentStageApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentStageApi, providedIn: 'root' });
|
|
5587
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentStageApi, decorators: [{
|
|
5575
5588
|
type: Injectable,
|
|
5576
5589
|
args: [{ providedIn: 'root' }]
|
|
5577
5590
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -5854,9 +5867,9 @@ class UserApi {
|
|
|
5854
5867
|
});
|
|
5855
5868
|
}
|
|
5856
5869
|
}
|
|
5857
|
-
UserApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5858
|
-
UserApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5859
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5870
|
+
UserApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: UserApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5871
|
+
UserApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: UserApi, providedIn: 'root' });
|
|
5872
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: UserApi, decorators: [{
|
|
5860
5873
|
type: Injectable,
|
|
5861
5874
|
args: [{ providedIn: 'root' }]
|
|
5862
5875
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -6073,9 +6086,9 @@ class VolleyballGameApi extends GameBaseApi {
|
|
|
6073
6086
|
});
|
|
6074
6087
|
}
|
|
6075
6088
|
}
|
|
6076
|
-
VolleyballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6077
|
-
VolleyballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6078
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6089
|
+
VolleyballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: VolleyballGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6090
|
+
VolleyballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: VolleyballGameApi, providedIn: 'root' });
|
|
6091
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: VolleyballGameApi, decorators: [{
|
|
6079
6092
|
type: Injectable,
|
|
6080
6093
|
args: [{ providedIn: 'root' }]
|
|
6081
6094
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -6739,9 +6752,9 @@ class WaterpoloGameApi extends GameBaseApi {
|
|
|
6739
6752
|
});
|
|
6740
6753
|
}
|
|
6741
6754
|
}
|
|
6742
|
-
WaterpoloGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6743
|
-
WaterpoloGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6744
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6755
|
+
WaterpoloGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: WaterpoloGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6756
|
+
WaterpoloGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: WaterpoloGameApi, providedIn: 'root' });
|
|
6757
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: WaterpoloGameApi, decorators: [{
|
|
6745
6758
|
type: Injectable,
|
|
6746
6759
|
args: [{ providedIn: 'root' }]
|
|
6747
6760
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -6767,9 +6780,9 @@ class PublicTeamApi {
|
|
|
6767
6780
|
});
|
|
6768
6781
|
}
|
|
6769
6782
|
}
|
|
6770
|
-
PublicTeamApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6771
|
-
PublicTeamApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6772
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6783
|
+
PublicTeamApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicTeamApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6784
|
+
PublicTeamApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicTeamApi, providedIn: 'root' });
|
|
6785
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicTeamApi, decorators: [{
|
|
6773
6786
|
type: Injectable,
|
|
6774
6787
|
args: [{ providedIn: 'root' }]
|
|
6775
6788
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -6795,9 +6808,9 @@ class PublicUserApi {
|
|
|
6795
6808
|
return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/public_user/${userId}/league_player/`, { params }).pipe(map(result => new LeaguePlayer(result))).toPromise();
|
|
6796
6809
|
}
|
|
6797
6810
|
}
|
|
6798
|
-
PublicUserApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6799
|
-
PublicUserApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6800
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6811
|
+
PublicUserApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicUserApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6812
|
+
PublicUserApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicUserApi, providedIn: 'root' });
|
|
6813
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicUserApi, decorators: [{
|
|
6801
6814
|
type: Injectable,
|
|
6802
6815
|
args: [{ providedIn: 'root' }]
|
|
6803
6816
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -7342,6 +7355,9 @@ TournamentJoin1x1Data = __decorate([
|
|
|
7342
7355
|
], TournamentJoin1x1Data);
|
|
7343
7356
|
|
|
7344
7357
|
class CentrifugoService {
|
|
7358
|
+
get connected$() {
|
|
7359
|
+
return this.connectedSubject;
|
|
7360
|
+
}
|
|
7345
7361
|
constructor(httpClient, configService, platformId) {
|
|
7346
7362
|
this.httpClient = httpClient;
|
|
7347
7363
|
this.configService = configService;
|
|
@@ -7350,9 +7366,6 @@ class CentrifugoService {
|
|
|
7350
7366
|
this.subscriptions = {};
|
|
7351
7367
|
this.connectedSubject = new BehaviorSubject(false);
|
|
7352
7368
|
}
|
|
7353
|
-
get connected$() {
|
|
7354
|
-
return this.connectedSubject;
|
|
7355
|
-
}
|
|
7356
7369
|
listen(channel) {
|
|
7357
7370
|
if (!isPlatformBrowser(this.platformId)) {
|
|
7358
7371
|
return new Observable(observer => {
|
|
@@ -7450,9 +7463,9 @@ class CentrifugoService {
|
|
|
7450
7463
|
this.channels$[channel].next(message);
|
|
7451
7464
|
}
|
|
7452
7465
|
}
|
|
7453
|
-
CentrifugoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7454
|
-
CentrifugoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7455
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7466
|
+
CentrifugoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: CentrifugoService, deps: [{ token: i1.HttpClient }, { token: ConfigService }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7467
|
+
CentrifugoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: CentrifugoService, providedIn: 'root' });
|
|
7468
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: CentrifugoService, decorators: [{
|
|
7456
7469
|
type: Injectable,
|
|
7457
7470
|
args: [{ providedIn: 'root' }]
|
|
7458
7471
|
}], ctorParameters: function () {
|
|
@@ -7501,9 +7514,9 @@ class DeviceInfoService {
|
|
|
7501
7514
|
});
|
|
7502
7515
|
}
|
|
7503
7516
|
}
|
|
7504
|
-
DeviceInfoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7505
|
-
DeviceInfoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7506
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7517
|
+
DeviceInfoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: DeviceInfoService, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7518
|
+
DeviceInfoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: DeviceInfoService, providedIn: 'root' });
|
|
7519
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: DeviceInfoService, decorators: [{
|
|
7507
7520
|
type: Injectable,
|
|
7508
7521
|
args: [{ providedIn: 'root' }]
|
|
7509
7522
|
}], ctorParameters: function () {
|
|
@@ -7546,13 +7559,13 @@ class OldStorageEngine {
|
|
|
7546
7559
|
if (!this.fields[key]) {
|
|
7547
7560
|
return;
|
|
7548
7561
|
}
|
|
7549
|
-
this.setItem(`${this.name}_${key}`, this.fields[key].json(value));
|
|
7562
|
+
this.setItem(`${this.name}_${key.toString()}`, this.fields[key].json(value));
|
|
7550
7563
|
}
|
|
7551
7564
|
get(key) {
|
|
7552
7565
|
if (!this.fields[key]) {
|
|
7553
7566
|
return;
|
|
7554
7567
|
}
|
|
7555
|
-
const value = this.getItem(`${this.name}_${key}`);
|
|
7568
|
+
const value = this.getItem(`${this.name}_${key.toString()}`);
|
|
7556
7569
|
return this.fields[key].create(value);
|
|
7557
7570
|
}
|
|
7558
7571
|
clear() {
|
|
@@ -7580,11 +7593,6 @@ class OldLocalStorageEngine extends OldStorageEngine {
|
|
|
7580
7593
|
}
|
|
7581
7594
|
|
|
7582
7595
|
class Storage {
|
|
7583
|
-
constructor(initial, engine) {
|
|
7584
|
-
this.initial = initial;
|
|
7585
|
-
this.subject = new BehaviorSubject(Object.assign(Object.assign({}, initial), (engine ? engine.getAll() : {})));
|
|
7586
|
-
this.engine = engine;
|
|
7587
|
-
}
|
|
7588
7596
|
get data$() {
|
|
7589
7597
|
return this.subject.asObservable().pipe(distinctUntilChanged((oldValue, newValue) => Object.keys(newValue).filter(key => newValue[key] !== oldValue[key]).length === 0 &&
|
|
7590
7598
|
Object.keys(newValue).length === Object.keys(oldValue).length));
|
|
@@ -7599,6 +7607,11 @@ class Storage {
|
|
|
7599
7607
|
get data() {
|
|
7600
7608
|
return this.subject.getValue();
|
|
7601
7609
|
}
|
|
7610
|
+
constructor(initial, engine) {
|
|
7611
|
+
this.initial = initial;
|
|
7612
|
+
this.subject = new BehaviorSubject(Object.assign(Object.assign({}, initial), (engine ? engine.getAll() : {})));
|
|
7613
|
+
this.engine = engine;
|
|
7614
|
+
}
|
|
7602
7615
|
update(data) {
|
|
7603
7616
|
this.subject.next(Object.assign(Object.assign({}, this.subject.value), data));
|
|
7604
7617
|
if (this.engine) {
|
|
@@ -7608,7 +7621,7 @@ class Storage {
|
|
|
7608
7621
|
reset() {
|
|
7609
7622
|
this.subject.next(Object.assign({}, this.initial));
|
|
7610
7623
|
}
|
|
7611
|
-
mergeWith(data$, mapper) {
|
|
7624
|
+
mergeWith(data$, mapper = data => data) {
|
|
7612
7625
|
data$.subscribe(data => this.update(mapper(data)));
|
|
7613
7626
|
return this;
|
|
7614
7627
|
}
|
|
@@ -7645,7 +7658,7 @@ class StorageEngine {
|
|
|
7645
7658
|
}
|
|
7646
7659
|
}
|
|
7647
7660
|
getValue(key) {
|
|
7648
|
-
const value = this.getItem(`${this.name}_${key}`);
|
|
7661
|
+
const value = this.getItem(`${this.name}_${key.toString()}`);
|
|
7649
7662
|
return this.fields[key].create(value);
|
|
7650
7663
|
}
|
|
7651
7664
|
getAll() {
|
|
@@ -7865,9 +7878,9 @@ class HttpCookieInterceptor {
|
|
|
7865
7878
|
return next.handle(req);
|
|
7866
7879
|
}
|
|
7867
7880
|
}
|
|
7868
|
-
HttpCookieInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7869
|
-
HttpCookieInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7870
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7881
|
+
HttpCookieInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HttpCookieInterceptor, deps: [{ token: i0.Injector }, { token: ConfigService }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7882
|
+
HttpCookieInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HttpCookieInterceptor });
|
|
7883
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HttpCookieInterceptor, decorators: [{
|
|
7871
7884
|
type: Injectable
|
|
7872
7885
|
}], ctorParameters: function () {
|
|
7873
7886
|
return [{ type: i0.Injector }, { type: ConfigService }, { type: undefined, decorators: [{
|
|
@@ -7923,9 +7936,9 @@ class GameWebsocket {
|
|
|
7923
7936
|
return this.centrifugoService.listen(`game_${gameId}`).pipe(filter(item => item.action === GameWebsocketEvents.GAME_USER_DELETED), map(item => new GameUser(item.data)));
|
|
7924
7937
|
}
|
|
7925
7938
|
}
|
|
7926
|
-
GameWebsocket.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7927
|
-
GameWebsocket.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7928
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7939
|
+
GameWebsocket.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameWebsocket, deps: [{ token: CentrifugoService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7940
|
+
GameWebsocket.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameWebsocket, providedIn: 'root' });
|
|
7941
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameWebsocket, decorators: [{
|
|
7929
7942
|
type: Injectable,
|
|
7930
7943
|
args: [{ providedIn: 'root' }]
|
|
7931
7944
|
}], ctorParameters: function () { return [{ type: CentrifugoService }]; } });
|