@mtgame/core 2.0.10 → 2.0.12
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/league-api.d.ts +1 -0
- package/api/tournament-api.d.ts +1 -1
- package/api/tournament-season-api.d.ts +2 -0
- 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 +18 -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 +19 -5
- 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/websocket/game.websocket.mjs +4 -4
- package/fesm2015/mtgame-core.mjs +159 -117
- package/fesm2015/mtgame-core.mjs.map +1 -1
- package/fesm2020/mtgame-core.mjs +158 -120
- package/fesm2020/mtgame-core.mjs.map +1 -1
- package/models/base-statistic.d.ts +1 -1
- package/models/game.d.ts +1 -1
- package/package.json +5 -5
- 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/{mtgame-core.d.ts → index.d.ts} +0 -0
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', {
|
|
@@ -1933,9 +1936,9 @@ class BaseService {
|
|
|
1933
1936
|
this.store.dispose();
|
|
1934
1937
|
}
|
|
1935
1938
|
}
|
|
1936
|
-
BaseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1937
|
-
BaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1938
|
-
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: [{
|
|
1939
1942
|
type: Injectable,
|
|
1940
1943
|
args: [{ providedIn: 'root' }]
|
|
1941
1944
|
}] });
|
|
@@ -1969,9 +1972,9 @@ class ConfigService extends BaseService {
|
|
|
1969
1972
|
return this.store.value(CONFIG_STORE_KEY) && this.store.value(CONFIG_STORE_KEY)[key];
|
|
1970
1973
|
}
|
|
1971
1974
|
}
|
|
1972
|
-
ConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1973
|
-
ConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1974
|
-
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: [{
|
|
1975
1978
|
type: Injectable,
|
|
1976
1979
|
args: [{ providedIn: 'root' }]
|
|
1977
1980
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -2005,9 +2008,9 @@ class GameBaseApi {
|
|
|
2005
2008
|
}).toPromise();
|
|
2006
2009
|
}
|
|
2007
2010
|
}
|
|
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: "
|
|
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: [{
|
|
2011
2014
|
type: Injectable,
|
|
2012
2015
|
args: [{ providedIn: 'root' }]
|
|
2013
2016
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -2039,9 +2042,9 @@ class BasketballGameApi extends GameBaseApi {
|
|
|
2039
2042
|
.toPromise();
|
|
2040
2043
|
}
|
|
2041
2044
|
}
|
|
2042
|
-
BasketballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2043
|
-
BasketballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2044
|
-
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: [{
|
|
2045
2048
|
type: Injectable,
|
|
2046
2049
|
args: [{ providedIn: 'root' }]
|
|
2047
2050
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -2072,9 +2075,9 @@ class FeedbackApi {
|
|
|
2072
2075
|
.toPromise();
|
|
2073
2076
|
}
|
|
2074
2077
|
}
|
|
2075
|
-
FeedbackApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2076
|
-
FeedbackApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2077
|
-
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: [{
|
|
2078
2081
|
type: Injectable,
|
|
2079
2082
|
args: [{ providedIn: 'root' }]
|
|
2080
2083
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -2106,9 +2109,9 @@ class FileApi {
|
|
|
2106
2109
|
.toPromise();
|
|
2107
2110
|
}
|
|
2108
2111
|
}
|
|
2109
|
-
FileApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2110
|
-
FileApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2111
|
-
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: [{
|
|
2112
2115
|
type: Injectable,
|
|
2113
2116
|
args: [{ providedIn: 'root' }]
|
|
2114
2117
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -2446,9 +2449,9 @@ class HockeyGameApi extends GameBaseApi {
|
|
|
2446
2449
|
}).toPromise();
|
|
2447
2450
|
}
|
|
2448
2451
|
}
|
|
2449
|
-
HockeyGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2450
|
-
HockeyGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2451
|
-
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: [{
|
|
2452
2455
|
type: Injectable,
|
|
2453
2456
|
args: [{ providedIn: 'root' }]
|
|
2454
2457
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -2729,9 +2732,9 @@ class FootballGameApi extends GameBaseApi {
|
|
|
2729
2732
|
}).toPromise();
|
|
2730
2733
|
}
|
|
2731
2734
|
}
|
|
2732
|
-
FootballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2733
|
-
FootballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2734
|
-
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: [{
|
|
2735
2738
|
type: Injectable,
|
|
2736
2739
|
args: [{ providedIn: 'root' }]
|
|
2737
2740
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -2935,9 +2938,9 @@ class HandballGameApi extends GameBaseApi {
|
|
|
2935
2938
|
}).toPromise();
|
|
2936
2939
|
}
|
|
2937
2940
|
}
|
|
2938
|
-
HandballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2939
|
-
HandballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2940
|
-
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: [{
|
|
2941
2944
|
type: Injectable,
|
|
2942
2945
|
args: [{ providedIn: 'root' }]
|
|
2943
2946
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -3504,9 +3507,9 @@ class TournamentApi {
|
|
|
3504
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();
|
|
3505
3508
|
}
|
|
3506
3509
|
}
|
|
3507
|
-
TournamentApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3508
|
-
TournamentApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3509
|
-
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: [{
|
|
3510
3513
|
type: Injectable,
|
|
3511
3514
|
args: [{ providedIn: 'root' }]
|
|
3512
3515
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -3675,6 +3678,20 @@ class LeagueApi {
|
|
|
3675
3678
|
}
|
|
3676
3679
|
return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/league/${leagueId}/tournaments/`, { params }).pipe(map(result => result.map(item => new Tournament(item)))).toPromise();
|
|
3677
3680
|
}
|
|
3681
|
+
async getTournamentsPaginated(leagueId, filters, page = 1, size = 100) {
|
|
3682
|
+
let params = new HttpParams()
|
|
3683
|
+
.set('page', page.toString())
|
|
3684
|
+
.set('size', size.toString());
|
|
3685
|
+
if (filters) {
|
|
3686
|
+
if (filters.statuses) {
|
|
3687
|
+
params = params.set('statuses', filters.statuses.map(s => TournamentStatuses[s]).join(','));
|
|
3688
|
+
}
|
|
3689
|
+
}
|
|
3690
|
+
return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/league/${leagueId}/tournaments/`, { params, observe: 'response' }).pipe(map(result => ({
|
|
3691
|
+
total: +result.headers.get('X-Page-Count'),
|
|
3692
|
+
data: result.body.map(item => new Tournament(item))
|
|
3693
|
+
}))).toPromise();
|
|
3694
|
+
}
|
|
3678
3695
|
async getEvents(leagueId, page, size, filters) {
|
|
3679
3696
|
let params = new HttpParams().set('page', page.toString())
|
|
3680
3697
|
.set('size', size.toString());
|
|
@@ -3746,9 +3763,9 @@ class LeagueApi {
|
|
|
3746
3763
|
return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/league/${leagueId}/team_and_user_search/`, { params }).pipe(map(result => new TeamsAndUsers(result))).toPromise();
|
|
3747
3764
|
}
|
|
3748
3765
|
}
|
|
3749
|
-
LeagueApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3750
|
-
LeagueApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3751
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3766
|
+
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 });
|
|
3767
|
+
LeagueApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueApi, providedIn: 'root' });
|
|
3768
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueApi, decorators: [{
|
|
3752
3769
|
type: Injectable,
|
|
3753
3770
|
args: [{ providedIn: 'root' }]
|
|
3754
3771
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -3796,9 +3813,9 @@ class LeagueNewsApi {
|
|
|
3796
3813
|
.toPromise();
|
|
3797
3814
|
}
|
|
3798
3815
|
}
|
|
3799
|
-
LeagueNewsApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3800
|
-
LeagueNewsApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3801
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3816
|
+
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 });
|
|
3817
|
+
LeagueNewsApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueNewsApi, providedIn: 'root' });
|
|
3818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueNewsApi, decorators: [{
|
|
3802
3819
|
type: Injectable,
|
|
3803
3820
|
args: [{ providedIn: 'root' }]
|
|
3804
3821
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -3819,9 +3836,9 @@ class LeaguePlayerApi {
|
|
|
3819
3836
|
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();
|
|
3820
3837
|
}
|
|
3821
3838
|
}
|
|
3822
|
-
LeaguePlayerApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3823
|
-
LeaguePlayerApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3824
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3839
|
+
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 });
|
|
3840
|
+
LeaguePlayerApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeaguePlayerApi, providedIn: 'root' });
|
|
3841
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeaguePlayerApi, decorators: [{
|
|
3825
3842
|
type: Injectable,
|
|
3826
3843
|
args: [{ providedIn: 'root' }]
|
|
3827
3844
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -3908,9 +3925,9 @@ class MediaApi {
|
|
|
3908
3925
|
.toPromise();
|
|
3909
3926
|
}
|
|
3910
3927
|
}
|
|
3911
|
-
MediaApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3912
|
-
MediaApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3913
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3928
|
+
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 });
|
|
3929
|
+
MediaApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: MediaApi, providedIn: 'root' });
|
|
3930
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: MediaApi, decorators: [{
|
|
3914
3931
|
type: Injectable,
|
|
3915
3932
|
args: [{ providedIn: 'root' }]
|
|
3916
3933
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -4278,9 +4295,9 @@ class NotificationBaseApi {
|
|
|
4278
4295
|
.toPromise();
|
|
4279
4296
|
}
|
|
4280
4297
|
}
|
|
4281
|
-
NotificationBaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4282
|
-
NotificationBaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4283
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4298
|
+
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 });
|
|
4299
|
+
NotificationBaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationBaseApi, providedIn: 'root' });
|
|
4300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationBaseApi, decorators: [{
|
|
4284
4301
|
type: Injectable,
|
|
4285
4302
|
args: [{ providedIn: 'root' }]
|
|
4286
4303
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -4291,9 +4308,9 @@ class NotificationApi extends NotificationBaseApi {
|
|
|
4291
4308
|
this.apiUrl = '/api/v1';
|
|
4292
4309
|
}
|
|
4293
4310
|
}
|
|
4294
|
-
NotificationApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4295
|
-
NotificationApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4311
|
+
NotificationApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationApi, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
4312
|
+
NotificationApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationApi, providedIn: 'root' });
|
|
4313
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationApi, decorators: [{
|
|
4297
4314
|
type: Injectable,
|
|
4298
4315
|
args: [{ providedIn: 'root' }]
|
|
4299
4316
|
}] });
|
|
@@ -4304,9 +4321,9 @@ class OrgNotificationApi extends NotificationBaseApi {
|
|
|
4304
4321
|
this.apiUrl = '/org/api/v1';
|
|
4305
4322
|
}
|
|
4306
4323
|
}
|
|
4307
|
-
OrgNotificationApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4308
|
-
OrgNotificationApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4309
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4324
|
+
OrgNotificationApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: OrgNotificationApi, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
4325
|
+
OrgNotificationApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: OrgNotificationApi, providedIn: 'root' });
|
|
4326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: OrgNotificationApi, decorators: [{
|
|
4310
4327
|
type: Injectable,
|
|
4311
4328
|
args: [{ providedIn: 'root' }]
|
|
4312
4329
|
}] });
|
|
@@ -4327,9 +4344,9 @@ class ReferenceApi {
|
|
|
4327
4344
|
.pipe(map(data => data.map(item => new Sport(item)))).toPromise();
|
|
4328
4345
|
}
|
|
4329
4346
|
}
|
|
4330
|
-
ReferenceApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4331
|
-
ReferenceApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4332
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4347
|
+
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 });
|
|
4348
|
+
ReferenceApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ReferenceApi, providedIn: 'root' });
|
|
4349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ReferenceApi, decorators: [{
|
|
4333
4350
|
type: Injectable,
|
|
4334
4351
|
args: [{ providedIn: 'root' }]
|
|
4335
4352
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -4576,9 +4593,9 @@ class RugbyGameApi extends GameBaseApi {
|
|
|
4576
4593
|
}).toPromise();
|
|
4577
4594
|
}
|
|
4578
4595
|
}
|
|
4579
|
-
RugbyGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4580
|
-
RugbyGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4581
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4596
|
+
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 });
|
|
4597
|
+
RugbyGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: RugbyGameApi, providedIn: 'root' });
|
|
4598
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: RugbyGameApi, decorators: [{
|
|
4582
4599
|
type: Injectable,
|
|
4583
4600
|
args: [{ providedIn: 'root' }]
|
|
4584
4601
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -4894,9 +4911,9 @@ class TeamApi {
|
|
|
4894
4911
|
.toPromise();
|
|
4895
4912
|
}
|
|
4896
4913
|
}
|
|
4897
|
-
TeamApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4898
|
-
TeamApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4899
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4914
|
+
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 });
|
|
4915
|
+
TeamApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamApi, providedIn: 'root' });
|
|
4916
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamApi, decorators: [{
|
|
4900
4917
|
type: Injectable,
|
|
4901
4918
|
args: [{ providedIn: 'root' }]
|
|
4902
4919
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -4948,9 +4965,9 @@ class TeamEventApi {
|
|
|
4948
4965
|
.toPromise();
|
|
4949
4966
|
}
|
|
4950
4967
|
}
|
|
4951
|
-
TeamEventApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4952
|
-
TeamEventApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4953
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4968
|
+
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 });
|
|
4969
|
+
TeamEventApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamEventApi, providedIn: 'root' });
|
|
4970
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamEventApi, decorators: [{
|
|
4954
4971
|
type: Injectable,
|
|
4955
4972
|
args: [{ providedIn: 'root' }]
|
|
4956
4973
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -5017,9 +5034,9 @@ class TournamentJoinApi {
|
|
|
5017
5034
|
.toPromise();
|
|
5018
5035
|
}
|
|
5019
5036
|
}
|
|
5020
|
-
TournamentJoinApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5021
|
-
TournamentJoinApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5022
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5037
|
+
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 });
|
|
5038
|
+
TournamentJoinApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentJoinApi, providedIn: 'root' });
|
|
5039
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentJoinApi, decorators: [{
|
|
5023
5040
|
type: Injectable,
|
|
5024
5041
|
args: [{ providedIn: 'root' }]
|
|
5025
5042
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -5095,9 +5112,9 @@ class TournamentRoundApi {
|
|
|
5095
5112
|
}))).toPromise();
|
|
5096
5113
|
}
|
|
5097
5114
|
}
|
|
5098
|
-
TournamentRoundApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5099
|
-
TournamentRoundApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5100
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5115
|
+
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 });
|
|
5116
|
+
TournamentRoundApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentRoundApi, providedIn: 'root' });
|
|
5117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentRoundApi, decorators: [{
|
|
5101
5118
|
type: Injectable,
|
|
5102
5119
|
args: [{ providedIn: 'root' }]
|
|
5103
5120
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -5113,6 +5130,20 @@ class TournamentSeasonApi {
|
|
|
5113
5130
|
async getTournaments(seasonId) {
|
|
5114
5131
|
return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/tournament_season/${seasonId}/tournaments/`).pipe(map(result => result.map(item => new Tournament(item)))).toPromise();
|
|
5115
5132
|
}
|
|
5133
|
+
async getTournamentsPaginated(seasonId, filters, page = 1, size = 100) {
|
|
5134
|
+
let params = new HttpParams()
|
|
5135
|
+
.set('page', page.toString())
|
|
5136
|
+
.set('size', size.toString());
|
|
5137
|
+
if (filters) {
|
|
5138
|
+
if (filters.statuses) {
|
|
5139
|
+
params = params.set('statuses', filters.statuses.map(s => TournamentStatuses[s]).join(','));
|
|
5140
|
+
}
|
|
5141
|
+
}
|
|
5142
|
+
return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/tournament_season/${seasonId}/tournaments/`, { params, observe: 'response' }).pipe(map(result => ({
|
|
5143
|
+
total: +result.headers.get('X-Page-Count'),
|
|
5144
|
+
data: result.body.map(item => new Tournament(item))
|
|
5145
|
+
}))).toPromise();
|
|
5146
|
+
}
|
|
5116
5147
|
async getGames(seasonId, page, size, filters) {
|
|
5117
5148
|
let params = new HttpParams().set('page', page.toString());
|
|
5118
5149
|
if (size) {
|
|
@@ -5172,9 +5203,9 @@ class TournamentSeasonApi {
|
|
|
5172
5203
|
.toPromise();
|
|
5173
5204
|
}
|
|
5174
5205
|
}
|
|
5175
|
-
TournamentSeasonApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5176
|
-
TournamentSeasonApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5206
|
+
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 });
|
|
5207
|
+
TournamentSeasonApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentSeasonApi, providedIn: 'root' });
|
|
5208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentSeasonApi, decorators: [{
|
|
5178
5209
|
type: Injectable,
|
|
5179
5210
|
args: [{ providedIn: 'root' }]
|
|
5180
5211
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -5204,15 +5235,22 @@ class TournamentStageApi {
|
|
|
5204
5235
|
.pipe(map(result => result.map(item => new Playoff(item))))
|
|
5205
5236
|
.toPromise();
|
|
5206
5237
|
}
|
|
5207
|
-
async getTeams(stageId) {
|
|
5208
|
-
|
|
5238
|
+
async getTeams(stageId, groupId, short) {
|
|
5239
|
+
let params = new HttpParams();
|
|
5240
|
+
if (groupId) {
|
|
5241
|
+
params = params.set('group_id', groupId.toString());
|
|
5242
|
+
}
|
|
5243
|
+
if (short) {
|
|
5244
|
+
params = params.set('short', '1');
|
|
5245
|
+
}
|
|
5246
|
+
return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/tournament_stage/${stageId}/teams/`, { params })
|
|
5209
5247
|
.pipe(map(result => result.map(item => new TournamentStageTeam(item))))
|
|
5210
5248
|
.toPromise();
|
|
5211
5249
|
}
|
|
5212
5250
|
}
|
|
5213
|
-
TournamentStageApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5214
|
-
TournamentStageApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5251
|
+
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 });
|
|
5252
|
+
TournamentStageApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentStageApi, providedIn: 'root' });
|
|
5253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentStageApi, decorators: [{
|
|
5216
5254
|
type: Injectable,
|
|
5217
5255
|
args: [{ providedIn: 'root' }]
|
|
5218
5256
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -5435,9 +5473,9 @@ class UserApi {
|
|
|
5435
5473
|
.toPromise();
|
|
5436
5474
|
}
|
|
5437
5475
|
}
|
|
5438
|
-
UserApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5439
|
-
UserApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5440
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5476
|
+
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 });
|
|
5477
|
+
UserApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: UserApi, providedIn: 'root' });
|
|
5478
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: UserApi, decorators: [{
|
|
5441
5479
|
type: Injectable,
|
|
5442
5480
|
args: [{ providedIn: 'root' }]
|
|
5443
5481
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -5640,9 +5678,9 @@ class VolleyballGameApi extends GameBaseApi {
|
|
|
5640
5678
|
}).toPromise();
|
|
5641
5679
|
}
|
|
5642
5680
|
}
|
|
5643
|
-
VolleyballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5644
|
-
VolleyballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5645
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5681
|
+
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 });
|
|
5682
|
+
VolleyballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: VolleyballGameApi, providedIn: 'root' });
|
|
5683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: VolleyballGameApi, decorators: [{
|
|
5646
5684
|
type: Injectable,
|
|
5647
5685
|
args: [{ providedIn: 'root' }]
|
|
5648
5686
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -6294,9 +6332,9 @@ class WaterpoloGameApi extends GameBaseApi {
|
|
|
6294
6332
|
}).toPromise();
|
|
6295
6333
|
}
|
|
6296
6334
|
}
|
|
6297
|
-
WaterpoloGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6298
|
-
WaterpoloGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6335
|
+
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 });
|
|
6336
|
+
WaterpoloGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: WaterpoloGameApi, providedIn: 'root' });
|
|
6337
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: WaterpoloGameApi, decorators: [{
|
|
6300
6338
|
type: Injectable,
|
|
6301
6339
|
args: [{ providedIn: 'root' }]
|
|
6302
6340
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -6320,9 +6358,9 @@ class PublicTeamApi {
|
|
|
6320
6358
|
.toPromise();
|
|
6321
6359
|
}
|
|
6322
6360
|
}
|
|
6323
|
-
PublicTeamApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6324
|
-
PublicTeamApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6325
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6361
|
+
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 });
|
|
6362
|
+
PublicTeamApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicTeamApi, providedIn: 'root' });
|
|
6363
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicTeamApi, decorators: [{
|
|
6326
6364
|
type: Injectable,
|
|
6327
6365
|
args: [{ providedIn: 'root' }]
|
|
6328
6366
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -6348,9 +6386,9 @@ class PublicUserApi {
|
|
|
6348
6386
|
return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/public_user/${userId}/league_player/`, { params }).pipe(map(result => new LeaguePlayer(result))).toPromise();
|
|
6349
6387
|
}
|
|
6350
6388
|
}
|
|
6351
|
-
PublicUserApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6352
|
-
PublicUserApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6353
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6389
|
+
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 });
|
|
6390
|
+
PublicUserApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicUserApi, providedIn: 'root' });
|
|
6391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicUserApi, decorators: [{
|
|
6354
6392
|
type: Injectable,
|
|
6355
6393
|
args: [{ providedIn: 'root' }]
|
|
6356
6394
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -6895,6 +6933,9 @@ TournamentJoin1x1Data = __decorate([
|
|
|
6895
6933
|
], TournamentJoin1x1Data);
|
|
6896
6934
|
|
|
6897
6935
|
class CentrifugoService {
|
|
6936
|
+
get connected$() {
|
|
6937
|
+
return this.connectedSubject;
|
|
6938
|
+
}
|
|
6898
6939
|
constructor(httpClient, configService, platformId) {
|
|
6899
6940
|
this.httpClient = httpClient;
|
|
6900
6941
|
this.configService = configService;
|
|
@@ -6903,9 +6944,6 @@ class CentrifugoService {
|
|
|
6903
6944
|
this.subscriptions = {};
|
|
6904
6945
|
this.connectedSubject = new BehaviorSubject(false);
|
|
6905
6946
|
}
|
|
6906
|
-
get connected$() {
|
|
6907
|
-
return this.connectedSubject;
|
|
6908
|
-
}
|
|
6909
6947
|
listen(channel) {
|
|
6910
6948
|
if (!isPlatformBrowser(this.platformId)) {
|
|
6911
6949
|
return new Observable(observer => {
|
|
@@ -7001,9 +7039,9 @@ class CentrifugoService {
|
|
|
7001
7039
|
this.channels$[channel].next(message);
|
|
7002
7040
|
}
|
|
7003
7041
|
}
|
|
7004
|
-
CentrifugoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7005
|
-
CentrifugoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7006
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7042
|
+
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 });
|
|
7043
|
+
CentrifugoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: CentrifugoService, providedIn: 'root' });
|
|
7044
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: CentrifugoService, decorators: [{
|
|
7007
7045
|
type: Injectable,
|
|
7008
7046
|
args: [{ providedIn: 'root' }]
|
|
7009
7047
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }, { type: undefined, decorators: [{
|
|
@@ -7056,9 +7094,9 @@ class DeviceInfoService {
|
|
|
7056
7094
|
});
|
|
7057
7095
|
}
|
|
7058
7096
|
}
|
|
7059
|
-
DeviceInfoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7060
|
-
DeviceInfoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7061
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7097
|
+
DeviceInfoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: DeviceInfoService, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7098
|
+
DeviceInfoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: DeviceInfoService, providedIn: 'root' });
|
|
7099
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: DeviceInfoService, decorators: [{
|
|
7062
7100
|
type: Injectable,
|
|
7063
7101
|
args: [{ providedIn: 'root' }]
|
|
7064
7102
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -7099,13 +7137,13 @@ class OldStorageEngine {
|
|
|
7099
7137
|
if (!this.fields[key]) {
|
|
7100
7138
|
return;
|
|
7101
7139
|
}
|
|
7102
|
-
this.setItem(`${this.name}_${key}`, this.fields[key].json(value));
|
|
7140
|
+
this.setItem(`${this.name}_${key.toString()}`, this.fields[key].json(value));
|
|
7103
7141
|
}
|
|
7104
7142
|
get(key) {
|
|
7105
7143
|
if (!this.fields[key]) {
|
|
7106
7144
|
return;
|
|
7107
7145
|
}
|
|
7108
|
-
const value = this.getItem(`${this.name}_${key}`);
|
|
7146
|
+
const value = this.getItem(`${this.name}_${key.toString()}`);
|
|
7109
7147
|
return this.fields[key].create(value);
|
|
7110
7148
|
}
|
|
7111
7149
|
clear() {
|
|
@@ -7133,14 +7171,6 @@ class OldLocalStorageEngine extends OldStorageEngine {
|
|
|
7133
7171
|
}
|
|
7134
7172
|
|
|
7135
7173
|
class Storage {
|
|
7136
|
-
constructor(initial, engine) {
|
|
7137
|
-
this.initial = initial;
|
|
7138
|
-
this.subject = new BehaviorSubject({
|
|
7139
|
-
...initial,
|
|
7140
|
-
...(engine ? engine.getAll() : {}),
|
|
7141
|
-
});
|
|
7142
|
-
this.engine = engine;
|
|
7143
|
-
}
|
|
7144
7174
|
get data$() {
|
|
7145
7175
|
return this.subject.asObservable().pipe(distinctUntilChanged((oldValue, newValue) => Object.keys(newValue).filter(key => newValue[key] !== oldValue[key]).length === 0 &&
|
|
7146
7176
|
Object.keys(newValue).length === Object.keys(oldValue).length));
|
|
@@ -7158,6 +7188,14 @@ class Storage {
|
|
|
7158
7188
|
get data() {
|
|
7159
7189
|
return this.subject.getValue();
|
|
7160
7190
|
}
|
|
7191
|
+
constructor(initial, engine) {
|
|
7192
|
+
this.initial = initial;
|
|
7193
|
+
this.subject = new BehaviorSubject({
|
|
7194
|
+
...initial,
|
|
7195
|
+
...(engine ? engine.getAll() : {}),
|
|
7196
|
+
});
|
|
7197
|
+
this.engine = engine;
|
|
7198
|
+
}
|
|
7161
7199
|
update(data) {
|
|
7162
7200
|
this.subject.next({
|
|
7163
7201
|
...this.subject.value,
|
|
@@ -7170,7 +7208,7 @@ class Storage {
|
|
|
7170
7208
|
reset() {
|
|
7171
7209
|
this.subject.next({ ...this.initial });
|
|
7172
7210
|
}
|
|
7173
|
-
mergeWith(data$, mapper) {
|
|
7211
|
+
mergeWith(data$, mapper = data => data) {
|
|
7174
7212
|
data$.subscribe(data => this.update(mapper(data)));
|
|
7175
7213
|
return this;
|
|
7176
7214
|
}
|
|
@@ -7207,7 +7245,7 @@ class StorageEngine {
|
|
|
7207
7245
|
}
|
|
7208
7246
|
}
|
|
7209
7247
|
getValue(key) {
|
|
7210
|
-
const value = this.getItem(`${this.name}_${key}`);
|
|
7248
|
+
const value = this.getItem(`${this.name}_${key.toString()}`);
|
|
7211
7249
|
return this.fields[key].create(value);
|
|
7212
7250
|
}
|
|
7213
7251
|
getAll() {
|
|
@@ -7430,9 +7468,9 @@ class HttpCookieInterceptor {
|
|
|
7430
7468
|
return next.handle(req);
|
|
7431
7469
|
}
|
|
7432
7470
|
}
|
|
7433
|
-
HttpCookieInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7434
|
-
HttpCookieInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7435
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7471
|
+
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 });
|
|
7472
|
+
HttpCookieInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HttpCookieInterceptor });
|
|
7473
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HttpCookieInterceptor, decorators: [{
|
|
7436
7474
|
type: Injectable
|
|
7437
7475
|
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: ConfigService }, { type: undefined, decorators: [{
|
|
7438
7476
|
type: Inject,
|
|
@@ -7486,9 +7524,9 @@ class GameWebsocket {
|
|
|
7486
7524
|
return this.centrifugoService.listen(`game_${gameId}`).pipe(filter(item => item.action === GameWebsocketEvents.GAME_USER_DELETED), map(item => new GameUser(item.data)));
|
|
7487
7525
|
}
|
|
7488
7526
|
}
|
|
7489
|
-
GameWebsocket.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7490
|
-
GameWebsocket.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7491
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7527
|
+
GameWebsocket.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameWebsocket, deps: [{ token: CentrifugoService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7528
|
+
GameWebsocket.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameWebsocket, providedIn: 'root' });
|
|
7529
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameWebsocket, decorators: [{
|
|
7492
7530
|
type: Injectable,
|
|
7493
7531
|
args: [{ providedIn: 'root' }]
|
|
7494
7532
|
}], ctorParameters: function () { return [{ type: CentrifugoService }]; } });
|