@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/fesm2020/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', {
|
|
@@ -1713,8 +1716,11 @@ function updateItemInArray(data, item, force = false, checkFunction) {
|
|
|
1713
1716
|
!force && item.updatedAt && oldItem.updatedAt && oldItem.updatedAt > item.updatedAt) {
|
|
1714
1717
|
return data;
|
|
1715
1718
|
}
|
|
1716
|
-
|
|
1717
|
-
|
|
1719
|
+
return [
|
|
1720
|
+
...data.slice(0, index),
|
|
1721
|
+
item,
|
|
1722
|
+
...data.slice(index + 1),
|
|
1723
|
+
];
|
|
1718
1724
|
}
|
|
1719
1725
|
function updateItemsInArray(data, items, force = false, checkFunction) {
|
|
1720
1726
|
items.forEach(item => {
|
|
@@ -1930,9 +1936,9 @@ class BaseService {
|
|
|
1930
1936
|
this.store.dispose();
|
|
1931
1937
|
}
|
|
1932
1938
|
}
|
|
1933
|
-
BaseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1934
|
-
BaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1935
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1939
|
+
BaseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BaseService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1940
|
+
BaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BaseService, providedIn: 'root' });
|
|
1941
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BaseService, decorators: [{
|
|
1936
1942
|
type: Injectable,
|
|
1937
1943
|
args: [{ providedIn: 'root' }]
|
|
1938
1944
|
}] });
|
|
@@ -1966,9 +1972,9 @@ class ConfigService extends BaseService {
|
|
|
1966
1972
|
return this.store.value(CONFIG_STORE_KEY) && this.store.value(CONFIG_STORE_KEY)[key];
|
|
1967
1973
|
}
|
|
1968
1974
|
}
|
|
1969
|
-
ConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1970
|
-
ConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1971
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1975
|
+
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 });
|
|
1976
|
+
ConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ConfigService, providedIn: 'root' });
|
|
1977
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ConfigService, decorators: [{
|
|
1972
1978
|
type: Injectable,
|
|
1973
1979
|
args: [{ providedIn: 'root' }]
|
|
1974
1980
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -2002,9 +2008,9 @@ class GameBaseApi {
|
|
|
2002
2008
|
}).toPromise();
|
|
2003
2009
|
}
|
|
2004
2010
|
}
|
|
2005
|
-
GameBaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2006
|
-
GameBaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2007
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2011
|
+
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 });
|
|
2012
|
+
GameBaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameBaseApi, providedIn: 'root' });
|
|
2013
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameBaseApi, decorators: [{
|
|
2008
2014
|
type: Injectable,
|
|
2009
2015
|
args: [{ providedIn: 'root' }]
|
|
2010
2016
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -2036,9 +2042,9 @@ class BasketballGameApi extends GameBaseApi {
|
|
|
2036
2042
|
.toPromise();
|
|
2037
2043
|
}
|
|
2038
2044
|
}
|
|
2039
|
-
BasketballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2040
|
-
BasketballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2041
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2045
|
+
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 });
|
|
2046
|
+
BasketballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BasketballGameApi, providedIn: 'root' });
|
|
2047
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BasketballGameApi, decorators: [{
|
|
2042
2048
|
type: Injectable,
|
|
2043
2049
|
args: [{ providedIn: 'root' }]
|
|
2044
2050
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -2069,9 +2075,9 @@ class FeedbackApi {
|
|
|
2069
2075
|
.toPromise();
|
|
2070
2076
|
}
|
|
2071
2077
|
}
|
|
2072
|
-
FeedbackApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2073
|
-
FeedbackApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2078
|
+
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 });
|
|
2079
|
+
FeedbackApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FeedbackApi, providedIn: 'root' });
|
|
2080
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FeedbackApi, decorators: [{
|
|
2075
2081
|
type: Injectable,
|
|
2076
2082
|
args: [{ providedIn: 'root' }]
|
|
2077
2083
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -2103,9 +2109,9 @@ class FileApi {
|
|
|
2103
2109
|
.toPromise();
|
|
2104
2110
|
}
|
|
2105
2111
|
}
|
|
2106
|
-
FileApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2107
|
-
FileApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2112
|
+
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 });
|
|
2113
|
+
FileApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FileApi, providedIn: 'root' });
|
|
2114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FileApi, decorators: [{
|
|
2109
2115
|
type: Injectable,
|
|
2110
2116
|
args: [{ providedIn: 'root' }]
|
|
2111
2117
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -2443,9 +2449,9 @@ class HockeyGameApi extends GameBaseApi {
|
|
|
2443
2449
|
}).toPromise();
|
|
2444
2450
|
}
|
|
2445
2451
|
}
|
|
2446
|
-
HockeyGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2447
|
-
HockeyGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2448
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2452
|
+
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 });
|
|
2453
|
+
HockeyGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HockeyGameApi, providedIn: 'root' });
|
|
2454
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HockeyGameApi, decorators: [{
|
|
2449
2455
|
type: Injectable,
|
|
2450
2456
|
args: [{ providedIn: 'root' }]
|
|
2451
2457
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -2726,9 +2732,9 @@ class FootballGameApi extends GameBaseApi {
|
|
|
2726
2732
|
}).toPromise();
|
|
2727
2733
|
}
|
|
2728
2734
|
}
|
|
2729
|
-
FootballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2730
|
-
FootballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2731
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2735
|
+
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 });
|
|
2736
|
+
FootballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FootballGameApi, providedIn: 'root' });
|
|
2737
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FootballGameApi, decorators: [{
|
|
2732
2738
|
type: Injectable,
|
|
2733
2739
|
args: [{ providedIn: 'root' }]
|
|
2734
2740
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -2932,9 +2938,9 @@ class HandballGameApi extends GameBaseApi {
|
|
|
2932
2938
|
}).toPromise();
|
|
2933
2939
|
}
|
|
2934
2940
|
}
|
|
2935
|
-
HandballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2936
|
-
HandballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2937
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2941
|
+
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 });
|
|
2942
|
+
HandballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HandballGameApi, providedIn: 'root' });
|
|
2943
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HandballGameApi, decorators: [{
|
|
2938
2944
|
type: Injectable,
|
|
2939
2945
|
args: [{ providedIn: 'root' }]
|
|
2940
2946
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -3501,9 +3507,9 @@ class TournamentApi {
|
|
|
3501
3507
|
return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/tournament_team_user/${tournamentTeamUserId}/tournaments/`).pipe(map(result => result.map(item => new Tournament(item)))).toPromise();
|
|
3502
3508
|
}
|
|
3503
3509
|
}
|
|
3504
|
-
TournamentApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3505
|
-
TournamentApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3506
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3510
|
+
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 });
|
|
3511
|
+
TournamentApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentApi, providedIn: 'root' });
|
|
3512
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentApi, decorators: [{
|
|
3507
3513
|
type: Injectable,
|
|
3508
3514
|
args: [{ providedIn: 'root' }]
|
|
3509
3515
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -3743,9 +3749,9 @@ class LeagueApi {
|
|
|
3743
3749
|
return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/league/${leagueId}/team_and_user_search/`, { params }).pipe(map(result => new TeamsAndUsers(result))).toPromise();
|
|
3744
3750
|
}
|
|
3745
3751
|
}
|
|
3746
|
-
LeagueApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3747
|
-
LeagueApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3748
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3752
|
+
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 });
|
|
3753
|
+
LeagueApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueApi, providedIn: 'root' });
|
|
3754
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueApi, decorators: [{
|
|
3749
3755
|
type: Injectable,
|
|
3750
3756
|
args: [{ providedIn: 'root' }]
|
|
3751
3757
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -3793,9 +3799,9 @@ class LeagueNewsApi {
|
|
|
3793
3799
|
.toPromise();
|
|
3794
3800
|
}
|
|
3795
3801
|
}
|
|
3796
|
-
LeagueNewsApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3797
|
-
LeagueNewsApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3798
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3802
|
+
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 });
|
|
3803
|
+
LeagueNewsApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueNewsApi, providedIn: 'root' });
|
|
3804
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueNewsApi, decorators: [{
|
|
3799
3805
|
type: Injectable,
|
|
3800
3806
|
args: [{ providedIn: 'root' }]
|
|
3801
3807
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -3816,9 +3822,9 @@ class LeaguePlayerApi {
|
|
|
3816
3822
|
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();
|
|
3817
3823
|
}
|
|
3818
3824
|
}
|
|
3819
|
-
LeaguePlayerApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3820
|
-
LeaguePlayerApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3821
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3825
|
+
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 });
|
|
3826
|
+
LeaguePlayerApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeaguePlayerApi, providedIn: 'root' });
|
|
3827
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeaguePlayerApi, decorators: [{
|
|
3822
3828
|
type: Injectable,
|
|
3823
3829
|
args: [{ providedIn: 'root' }]
|
|
3824
3830
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -3905,9 +3911,9 @@ class MediaApi {
|
|
|
3905
3911
|
.toPromise();
|
|
3906
3912
|
}
|
|
3907
3913
|
}
|
|
3908
|
-
MediaApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3909
|
-
MediaApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3910
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3914
|
+
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 });
|
|
3915
|
+
MediaApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: MediaApi, providedIn: 'root' });
|
|
3916
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: MediaApi, decorators: [{
|
|
3911
3917
|
type: Injectable,
|
|
3912
3918
|
args: [{ providedIn: 'root' }]
|
|
3913
3919
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -4275,9 +4281,9 @@ class NotificationBaseApi {
|
|
|
4275
4281
|
.toPromise();
|
|
4276
4282
|
}
|
|
4277
4283
|
}
|
|
4278
|
-
NotificationBaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4279
|
-
NotificationBaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4284
|
+
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 });
|
|
4285
|
+
NotificationBaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationBaseApi, providedIn: 'root' });
|
|
4286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationBaseApi, decorators: [{
|
|
4281
4287
|
type: Injectable,
|
|
4282
4288
|
args: [{ providedIn: 'root' }]
|
|
4283
4289
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -4288,9 +4294,9 @@ class NotificationApi extends NotificationBaseApi {
|
|
|
4288
4294
|
this.apiUrl = '/api/v1';
|
|
4289
4295
|
}
|
|
4290
4296
|
}
|
|
4291
|
-
NotificationApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4292
|
-
NotificationApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4293
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4297
|
+
NotificationApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationApi, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
4298
|
+
NotificationApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationApi, providedIn: 'root' });
|
|
4299
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationApi, decorators: [{
|
|
4294
4300
|
type: Injectable,
|
|
4295
4301
|
args: [{ providedIn: 'root' }]
|
|
4296
4302
|
}] });
|
|
@@ -4301,9 +4307,9 @@ class OrgNotificationApi extends NotificationBaseApi {
|
|
|
4301
4307
|
this.apiUrl = '/org/api/v1';
|
|
4302
4308
|
}
|
|
4303
4309
|
}
|
|
4304
|
-
OrgNotificationApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4305
|
-
OrgNotificationApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4306
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4310
|
+
OrgNotificationApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: OrgNotificationApi, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
4311
|
+
OrgNotificationApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: OrgNotificationApi, providedIn: 'root' });
|
|
4312
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: OrgNotificationApi, decorators: [{
|
|
4307
4313
|
type: Injectable,
|
|
4308
4314
|
args: [{ providedIn: 'root' }]
|
|
4309
4315
|
}] });
|
|
@@ -4324,9 +4330,9 @@ class ReferenceApi {
|
|
|
4324
4330
|
.pipe(map(data => data.map(item => new Sport(item)))).toPromise();
|
|
4325
4331
|
}
|
|
4326
4332
|
}
|
|
4327
|
-
ReferenceApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4328
|
-
ReferenceApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4329
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4333
|
+
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 });
|
|
4334
|
+
ReferenceApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ReferenceApi, providedIn: 'root' });
|
|
4335
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ReferenceApi, decorators: [{
|
|
4330
4336
|
type: Injectable,
|
|
4331
4337
|
args: [{ providedIn: 'root' }]
|
|
4332
4338
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -4573,9 +4579,9 @@ class RugbyGameApi extends GameBaseApi {
|
|
|
4573
4579
|
}).toPromise();
|
|
4574
4580
|
}
|
|
4575
4581
|
}
|
|
4576
|
-
RugbyGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4577
|
-
RugbyGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4578
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4582
|
+
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 });
|
|
4583
|
+
RugbyGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: RugbyGameApi, providedIn: 'root' });
|
|
4584
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: RugbyGameApi, decorators: [{
|
|
4579
4585
|
type: Injectable,
|
|
4580
4586
|
args: [{ providedIn: 'root' }]
|
|
4581
4587
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -4891,9 +4897,9 @@ class TeamApi {
|
|
|
4891
4897
|
.toPromise();
|
|
4892
4898
|
}
|
|
4893
4899
|
}
|
|
4894
|
-
TeamApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4895
|
-
TeamApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4896
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4900
|
+
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 });
|
|
4901
|
+
TeamApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamApi, providedIn: 'root' });
|
|
4902
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamApi, decorators: [{
|
|
4897
4903
|
type: Injectable,
|
|
4898
4904
|
args: [{ providedIn: 'root' }]
|
|
4899
4905
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -4945,9 +4951,9 @@ class TeamEventApi {
|
|
|
4945
4951
|
.toPromise();
|
|
4946
4952
|
}
|
|
4947
4953
|
}
|
|
4948
|
-
TeamEventApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4949
|
-
TeamEventApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4950
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4954
|
+
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 });
|
|
4955
|
+
TeamEventApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamEventApi, providedIn: 'root' });
|
|
4956
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamEventApi, decorators: [{
|
|
4951
4957
|
type: Injectable,
|
|
4952
4958
|
args: [{ providedIn: 'root' }]
|
|
4953
4959
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -5014,9 +5020,9 @@ class TournamentJoinApi {
|
|
|
5014
5020
|
.toPromise();
|
|
5015
5021
|
}
|
|
5016
5022
|
}
|
|
5017
|
-
TournamentJoinApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5018
|
-
TournamentJoinApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5019
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5023
|
+
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 });
|
|
5024
|
+
TournamentJoinApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentJoinApi, providedIn: 'root' });
|
|
5025
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentJoinApi, decorators: [{
|
|
5020
5026
|
type: Injectable,
|
|
5021
5027
|
args: [{ providedIn: 'root' }]
|
|
5022
5028
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -5092,9 +5098,9 @@ class TournamentRoundApi {
|
|
|
5092
5098
|
}))).toPromise();
|
|
5093
5099
|
}
|
|
5094
5100
|
}
|
|
5095
|
-
TournamentRoundApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5096
|
-
TournamentRoundApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5097
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5101
|
+
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 });
|
|
5102
|
+
TournamentRoundApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentRoundApi, providedIn: 'root' });
|
|
5103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentRoundApi, decorators: [{
|
|
5098
5104
|
type: Injectable,
|
|
5099
5105
|
args: [{ providedIn: 'root' }]
|
|
5100
5106
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -5169,9 +5175,9 @@ class TournamentSeasonApi {
|
|
|
5169
5175
|
.toPromise();
|
|
5170
5176
|
}
|
|
5171
5177
|
}
|
|
5172
|
-
TournamentSeasonApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5173
|
-
TournamentSeasonApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5178
|
+
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 });
|
|
5179
|
+
TournamentSeasonApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentSeasonApi, providedIn: 'root' });
|
|
5180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentSeasonApi, decorators: [{
|
|
5175
5181
|
type: Injectable,
|
|
5176
5182
|
args: [{ providedIn: 'root' }]
|
|
5177
5183
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -5201,15 +5207,22 @@ class TournamentStageApi {
|
|
|
5201
5207
|
.pipe(map(result => result.map(item => new Playoff(item))))
|
|
5202
5208
|
.toPromise();
|
|
5203
5209
|
}
|
|
5204
|
-
async getTeams(stageId) {
|
|
5205
|
-
|
|
5210
|
+
async getTeams(stageId, groupId, short) {
|
|
5211
|
+
let params = new HttpParams();
|
|
5212
|
+
if (groupId) {
|
|
5213
|
+
params = params.set('group_id', groupId.toString());
|
|
5214
|
+
}
|
|
5215
|
+
if (short) {
|
|
5216
|
+
params = params.set('short', '1');
|
|
5217
|
+
}
|
|
5218
|
+
return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/tournament_stage/${stageId}/teams/`, { params })
|
|
5206
5219
|
.pipe(map(result => result.map(item => new TournamentStageTeam(item))))
|
|
5207
5220
|
.toPromise();
|
|
5208
5221
|
}
|
|
5209
5222
|
}
|
|
5210
|
-
TournamentStageApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5211
|
-
TournamentStageApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5223
|
+
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 });
|
|
5224
|
+
TournamentStageApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentStageApi, providedIn: 'root' });
|
|
5225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentStageApi, decorators: [{
|
|
5213
5226
|
type: Injectable,
|
|
5214
5227
|
args: [{ providedIn: 'root' }]
|
|
5215
5228
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -5432,9 +5445,9 @@ class UserApi {
|
|
|
5432
5445
|
.toPromise();
|
|
5433
5446
|
}
|
|
5434
5447
|
}
|
|
5435
|
-
UserApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5436
|
-
UserApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5437
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5448
|
+
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 });
|
|
5449
|
+
UserApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: UserApi, providedIn: 'root' });
|
|
5450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: UserApi, decorators: [{
|
|
5438
5451
|
type: Injectable,
|
|
5439
5452
|
args: [{ providedIn: 'root' }]
|
|
5440
5453
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -5637,9 +5650,9 @@ class VolleyballGameApi extends GameBaseApi {
|
|
|
5637
5650
|
}).toPromise();
|
|
5638
5651
|
}
|
|
5639
5652
|
}
|
|
5640
|
-
VolleyballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5641
|
-
VolleyballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5642
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5653
|
+
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 });
|
|
5654
|
+
VolleyballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: VolleyballGameApi, providedIn: 'root' });
|
|
5655
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: VolleyballGameApi, decorators: [{
|
|
5643
5656
|
type: Injectable,
|
|
5644
5657
|
args: [{ providedIn: 'root' }]
|
|
5645
5658
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -6291,9 +6304,9 @@ class WaterpoloGameApi extends GameBaseApi {
|
|
|
6291
6304
|
}).toPromise();
|
|
6292
6305
|
}
|
|
6293
6306
|
}
|
|
6294
|
-
WaterpoloGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6295
|
-
WaterpoloGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6307
|
+
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 });
|
|
6308
|
+
WaterpoloGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: WaterpoloGameApi, providedIn: 'root' });
|
|
6309
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: WaterpoloGameApi, decorators: [{
|
|
6297
6310
|
type: Injectable,
|
|
6298
6311
|
args: [{ providedIn: 'root' }]
|
|
6299
6312
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -6317,9 +6330,9 @@ class PublicTeamApi {
|
|
|
6317
6330
|
.toPromise();
|
|
6318
6331
|
}
|
|
6319
6332
|
}
|
|
6320
|
-
PublicTeamApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6321
|
-
PublicTeamApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6322
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6333
|
+
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 });
|
|
6334
|
+
PublicTeamApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicTeamApi, providedIn: 'root' });
|
|
6335
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicTeamApi, decorators: [{
|
|
6323
6336
|
type: Injectable,
|
|
6324
6337
|
args: [{ providedIn: 'root' }]
|
|
6325
6338
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -6345,9 +6358,9 @@ class PublicUserApi {
|
|
|
6345
6358
|
return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/public_user/${userId}/league_player/`, { params }).pipe(map(result => new LeaguePlayer(result))).toPromise();
|
|
6346
6359
|
}
|
|
6347
6360
|
}
|
|
6348
|
-
PublicUserApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6349
|
-
PublicUserApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6350
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6361
|
+
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 });
|
|
6362
|
+
PublicUserApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicUserApi, providedIn: 'root' });
|
|
6363
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicUserApi, decorators: [{
|
|
6351
6364
|
type: Injectable,
|
|
6352
6365
|
args: [{ providedIn: 'root' }]
|
|
6353
6366
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -6892,6 +6905,9 @@ TournamentJoin1x1Data = __decorate([
|
|
|
6892
6905
|
], TournamentJoin1x1Data);
|
|
6893
6906
|
|
|
6894
6907
|
class CentrifugoService {
|
|
6908
|
+
get connected$() {
|
|
6909
|
+
return this.connectedSubject;
|
|
6910
|
+
}
|
|
6895
6911
|
constructor(httpClient, configService, platformId) {
|
|
6896
6912
|
this.httpClient = httpClient;
|
|
6897
6913
|
this.configService = configService;
|
|
@@ -6900,9 +6916,6 @@ class CentrifugoService {
|
|
|
6900
6916
|
this.subscriptions = {};
|
|
6901
6917
|
this.connectedSubject = new BehaviorSubject(false);
|
|
6902
6918
|
}
|
|
6903
|
-
get connected$() {
|
|
6904
|
-
return this.connectedSubject;
|
|
6905
|
-
}
|
|
6906
6919
|
listen(channel) {
|
|
6907
6920
|
if (!isPlatformBrowser(this.platformId)) {
|
|
6908
6921
|
return new Observable(observer => {
|
|
@@ -6998,9 +7011,9 @@ class CentrifugoService {
|
|
|
6998
7011
|
this.channels$[channel].next(message);
|
|
6999
7012
|
}
|
|
7000
7013
|
}
|
|
7001
|
-
CentrifugoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7002
|
-
CentrifugoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7003
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7014
|
+
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 });
|
|
7015
|
+
CentrifugoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: CentrifugoService, providedIn: 'root' });
|
|
7016
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: CentrifugoService, decorators: [{
|
|
7004
7017
|
type: Injectable,
|
|
7005
7018
|
args: [{ providedIn: 'root' }]
|
|
7006
7019
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }, { type: undefined, decorators: [{
|
|
@@ -7053,9 +7066,9 @@ class DeviceInfoService {
|
|
|
7053
7066
|
});
|
|
7054
7067
|
}
|
|
7055
7068
|
}
|
|
7056
|
-
DeviceInfoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7057
|
-
DeviceInfoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7058
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7069
|
+
DeviceInfoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: DeviceInfoService, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7070
|
+
DeviceInfoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: DeviceInfoService, providedIn: 'root' });
|
|
7071
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: DeviceInfoService, decorators: [{
|
|
7059
7072
|
type: Injectable,
|
|
7060
7073
|
args: [{ providedIn: 'root' }]
|
|
7061
7074
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -7096,13 +7109,13 @@ class OldStorageEngine {
|
|
|
7096
7109
|
if (!this.fields[key]) {
|
|
7097
7110
|
return;
|
|
7098
7111
|
}
|
|
7099
|
-
this.setItem(`${this.name}_${key}`, this.fields[key].json(value));
|
|
7112
|
+
this.setItem(`${this.name}_${key.toString()}`, this.fields[key].json(value));
|
|
7100
7113
|
}
|
|
7101
7114
|
get(key) {
|
|
7102
7115
|
if (!this.fields[key]) {
|
|
7103
7116
|
return;
|
|
7104
7117
|
}
|
|
7105
|
-
const value = this.getItem(`${this.name}_${key}`);
|
|
7118
|
+
const value = this.getItem(`${this.name}_${key.toString()}`);
|
|
7106
7119
|
return this.fields[key].create(value);
|
|
7107
7120
|
}
|
|
7108
7121
|
clear() {
|
|
@@ -7130,14 +7143,6 @@ class OldLocalStorageEngine extends OldStorageEngine {
|
|
|
7130
7143
|
}
|
|
7131
7144
|
|
|
7132
7145
|
class Storage {
|
|
7133
|
-
constructor(initial, engine) {
|
|
7134
|
-
this.initial = initial;
|
|
7135
|
-
this.subject = new BehaviorSubject({
|
|
7136
|
-
...initial,
|
|
7137
|
-
...(engine ? engine.getAll() : {}),
|
|
7138
|
-
});
|
|
7139
|
-
this.engine = engine;
|
|
7140
|
-
}
|
|
7141
7146
|
get data$() {
|
|
7142
7147
|
return this.subject.asObservable().pipe(distinctUntilChanged((oldValue, newValue) => Object.keys(newValue).filter(key => newValue[key] !== oldValue[key]).length === 0 &&
|
|
7143
7148
|
Object.keys(newValue).length === Object.keys(oldValue).length));
|
|
@@ -7155,6 +7160,14 @@ class Storage {
|
|
|
7155
7160
|
get data() {
|
|
7156
7161
|
return this.subject.getValue();
|
|
7157
7162
|
}
|
|
7163
|
+
constructor(initial, engine) {
|
|
7164
|
+
this.initial = initial;
|
|
7165
|
+
this.subject = new BehaviorSubject({
|
|
7166
|
+
...initial,
|
|
7167
|
+
...(engine ? engine.getAll() : {}),
|
|
7168
|
+
});
|
|
7169
|
+
this.engine = engine;
|
|
7170
|
+
}
|
|
7158
7171
|
update(data) {
|
|
7159
7172
|
this.subject.next({
|
|
7160
7173
|
...this.subject.value,
|
|
@@ -7167,7 +7180,7 @@ class Storage {
|
|
|
7167
7180
|
reset() {
|
|
7168
7181
|
this.subject.next({ ...this.initial });
|
|
7169
7182
|
}
|
|
7170
|
-
mergeWith(data$, mapper) {
|
|
7183
|
+
mergeWith(data$, mapper = data => data) {
|
|
7171
7184
|
data$.subscribe(data => this.update(mapper(data)));
|
|
7172
7185
|
return this;
|
|
7173
7186
|
}
|
|
@@ -7204,7 +7217,7 @@ class StorageEngine {
|
|
|
7204
7217
|
}
|
|
7205
7218
|
}
|
|
7206
7219
|
getValue(key) {
|
|
7207
|
-
const value = this.getItem(`${this.name}_${key}`);
|
|
7220
|
+
const value = this.getItem(`${this.name}_${key.toString()}`);
|
|
7208
7221
|
return this.fields[key].create(value);
|
|
7209
7222
|
}
|
|
7210
7223
|
getAll() {
|
|
@@ -7427,9 +7440,9 @@ class HttpCookieInterceptor {
|
|
|
7427
7440
|
return next.handle(req);
|
|
7428
7441
|
}
|
|
7429
7442
|
}
|
|
7430
|
-
HttpCookieInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7431
|
-
HttpCookieInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7443
|
+
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 });
|
|
7444
|
+
HttpCookieInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HttpCookieInterceptor });
|
|
7445
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HttpCookieInterceptor, decorators: [{
|
|
7433
7446
|
type: Injectable
|
|
7434
7447
|
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: ConfigService }, { type: undefined, decorators: [{
|
|
7435
7448
|
type: Inject,
|
|
@@ -7483,9 +7496,9 @@ class GameWebsocket {
|
|
|
7483
7496
|
return this.centrifugoService.listen(`game_${gameId}`).pipe(filter(item => item.action === GameWebsocketEvents.GAME_USER_DELETED), map(item => new GameUser(item.data)));
|
|
7484
7497
|
}
|
|
7485
7498
|
}
|
|
7486
|
-
GameWebsocket.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7487
|
-
GameWebsocket.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7488
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7499
|
+
GameWebsocket.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameWebsocket, deps: [{ token: CentrifugoService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7500
|
+
GameWebsocket.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameWebsocket, providedIn: 'root' });
|
|
7501
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameWebsocket, decorators: [{
|
|
7489
7502
|
type: Injectable,
|
|
7490
7503
|
args: [{ providedIn: 'root' }]
|
|
7491
7504
|
}], ctorParameters: function () { return [{ type: CentrifugoService }]; } });
|