@mtgame/core 2.0.10 → 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/websocket/game.websocket.mjs +4 -4
- package/fesm2015/mtgame-core.mjs +127 -117
- package/fesm2015/mtgame-core.mjs.map +1 -1
- package/fesm2020/mtgame-core.mjs +130 -120
- 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 +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/fesm2015/mtgame-core.mjs
CHANGED
|
@@ -126,7 +126,10 @@ function Model(config = {}) {
|
|
|
126
126
|
instance[modelKey] = relation.create(data[key]);
|
|
127
127
|
}
|
|
128
128
|
else {
|
|
129
|
-
|
|
129
|
+
const descriptor = Object.getOwnPropertyDescriptor(instance.constructor.prototype, modelKey);
|
|
130
|
+
if (!descriptor || descriptor.set) {
|
|
131
|
+
instance[modelKey] = data[key];
|
|
132
|
+
}
|
|
130
133
|
}
|
|
131
134
|
}
|
|
132
135
|
Object.defineProperty(instance, 'json', {
|
|
@@ -1927,9 +1930,9 @@ class BaseService {
|
|
|
1927
1930
|
this.store.dispose();
|
|
1928
1931
|
}
|
|
1929
1932
|
}
|
|
1930
|
-
BaseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1931
|
-
BaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1932
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1933
|
+
BaseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BaseService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1934
|
+
BaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BaseService, providedIn: 'root' });
|
|
1935
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BaseService, decorators: [{
|
|
1933
1936
|
type: Injectable,
|
|
1934
1937
|
args: [{ providedIn: 'root' }]
|
|
1935
1938
|
}] });
|
|
@@ -1960,9 +1963,9 @@ class ConfigService extends BaseService {
|
|
|
1960
1963
|
return this.store.value(CONFIG_STORE_KEY) && this.store.value(CONFIG_STORE_KEY)[key];
|
|
1961
1964
|
}
|
|
1962
1965
|
}
|
|
1963
|
-
ConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1964
|
-
ConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1965
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1966
|
+
ConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ConfigService, deps: [{ token: CONFIG_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1967
|
+
ConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ConfigService, providedIn: 'root' });
|
|
1968
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ConfigService, decorators: [{
|
|
1966
1969
|
type: Injectable,
|
|
1967
1970
|
args: [{ providedIn: 'root' }]
|
|
1968
1971
|
}], ctorParameters: function () {
|
|
@@ -2008,9 +2011,9 @@ class GameBaseApi {
|
|
|
2008
2011
|
});
|
|
2009
2012
|
}
|
|
2010
2013
|
}
|
|
2011
|
-
GameBaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2012
|
-
GameBaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2013
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2014
|
+
GameBaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameBaseApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2015
|
+
GameBaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameBaseApi, providedIn: 'root' });
|
|
2016
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameBaseApi, decorators: [{
|
|
2014
2017
|
type: Injectable,
|
|
2015
2018
|
args: [{ providedIn: 'root' }]
|
|
2016
2019
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -2054,9 +2057,9 @@ class BasketballGameApi extends GameBaseApi {
|
|
|
2054
2057
|
});
|
|
2055
2058
|
}
|
|
2056
2059
|
}
|
|
2057
|
-
BasketballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2058
|
-
BasketballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2059
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2060
|
+
BasketballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BasketballGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2061
|
+
BasketballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BasketballGameApi, providedIn: 'root' });
|
|
2062
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BasketballGameApi, decorators: [{
|
|
2060
2063
|
type: Injectable,
|
|
2061
2064
|
args: [{ providedIn: 'root' }]
|
|
2062
2065
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -2091,9 +2094,9 @@ class FeedbackApi {
|
|
|
2091
2094
|
});
|
|
2092
2095
|
}
|
|
2093
2096
|
}
|
|
2094
|
-
FeedbackApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2095
|
-
FeedbackApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2096
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2097
|
+
FeedbackApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FeedbackApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2098
|
+
FeedbackApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FeedbackApi, providedIn: 'root' });
|
|
2099
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FeedbackApi, decorators: [{
|
|
2097
2100
|
type: Injectable,
|
|
2098
2101
|
args: [{ providedIn: 'root' }]
|
|
2099
2102
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -2129,9 +2132,9 @@ class FileApi {
|
|
|
2129
2132
|
});
|
|
2130
2133
|
}
|
|
2131
2134
|
}
|
|
2132
|
-
FileApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2133
|
-
FileApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2135
|
+
FileApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FileApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2136
|
+
FileApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FileApi, providedIn: 'root' });
|
|
2137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FileApi, decorators: [{
|
|
2135
2138
|
type: Injectable,
|
|
2136
2139
|
args: [{ providedIn: 'root' }]
|
|
2137
2140
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -2481,9 +2484,9 @@ class HockeyGameApi extends GameBaseApi {
|
|
|
2481
2484
|
});
|
|
2482
2485
|
}
|
|
2483
2486
|
}
|
|
2484
|
-
HockeyGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2485
|
-
HockeyGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2486
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2487
|
+
HockeyGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HockeyGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2488
|
+
HockeyGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HockeyGameApi, providedIn: 'root' });
|
|
2489
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HockeyGameApi, decorators: [{
|
|
2487
2490
|
type: Injectable,
|
|
2488
2491
|
args: [{ providedIn: 'root' }]
|
|
2489
2492
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -2776,9 +2779,9 @@ class FootballGameApi extends GameBaseApi {
|
|
|
2776
2779
|
});
|
|
2777
2780
|
}
|
|
2778
2781
|
}
|
|
2779
|
-
FootballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2780
|
-
FootballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2781
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2782
|
+
FootballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FootballGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2783
|
+
FootballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FootballGameApi, providedIn: 'root' });
|
|
2784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FootballGameApi, decorators: [{
|
|
2782
2785
|
type: Injectable,
|
|
2783
2786
|
args: [{ providedIn: 'root' }]
|
|
2784
2787
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -2994,9 +2997,9 @@ class HandballGameApi extends GameBaseApi {
|
|
|
2994
2997
|
});
|
|
2995
2998
|
}
|
|
2996
2999
|
}
|
|
2997
|
-
HandballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2998
|
-
HandballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2999
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3000
|
+
HandballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HandballGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3001
|
+
HandballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HandballGameApi, providedIn: 'root' });
|
|
3002
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HandballGameApi, decorators: [{
|
|
3000
3003
|
type: Injectable,
|
|
3001
3004
|
args: [{ providedIn: 'root' }]
|
|
3002
3005
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -3639,9 +3642,9 @@ class TournamentApi {
|
|
|
3639
3642
|
});
|
|
3640
3643
|
}
|
|
3641
3644
|
}
|
|
3642
|
-
TournamentApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3643
|
-
TournamentApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3644
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3645
|
+
TournamentApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3646
|
+
TournamentApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentApi, providedIn: 'root' });
|
|
3647
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentApi, decorators: [{
|
|
3645
3648
|
type: Injectable,
|
|
3646
3649
|
args: [{ providedIn: 'root' }]
|
|
3647
3650
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -3909,9 +3912,9 @@ class LeagueApi {
|
|
|
3909
3912
|
});
|
|
3910
3913
|
}
|
|
3911
3914
|
}
|
|
3912
|
-
LeagueApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3913
|
-
LeagueApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3914
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3915
|
+
LeagueApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3916
|
+
LeagueApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueApi, providedIn: 'root' });
|
|
3917
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueApi, decorators: [{
|
|
3915
3918
|
type: Injectable,
|
|
3916
3919
|
args: [{ providedIn: 'root' }]
|
|
3917
3920
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -3969,9 +3972,9 @@ class LeagueNewsApi {
|
|
|
3969
3972
|
});
|
|
3970
3973
|
}
|
|
3971
3974
|
}
|
|
3972
|
-
LeagueNewsApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3973
|
-
LeagueNewsApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3974
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3975
|
+
LeagueNewsApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueNewsApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3976
|
+
LeagueNewsApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueNewsApi, providedIn: 'root' });
|
|
3977
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueNewsApi, decorators: [{
|
|
3975
3978
|
type: Injectable,
|
|
3976
3979
|
args: [{ providedIn: 'root' }]
|
|
3977
3980
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -3992,9 +3995,9 @@ class LeaguePlayerApi {
|
|
|
3992
3995
|
return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/league_player/${leaguePlayerId}/tournament_users/`, { params }).pipe(map(response => response.map(item => new TournamentTeamUser(item)))).toPromise();
|
|
3993
3996
|
}
|
|
3994
3997
|
}
|
|
3995
|
-
LeaguePlayerApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3996
|
-
LeaguePlayerApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3997
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3998
|
+
LeaguePlayerApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeaguePlayerApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3999
|
+
LeaguePlayerApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeaguePlayerApi, providedIn: 'root' });
|
|
4000
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeaguePlayerApi, decorators: [{
|
|
3998
4001
|
type: Injectable,
|
|
3999
4002
|
args: [{ providedIn: 'root' }]
|
|
4000
4003
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -4099,9 +4102,9 @@ class MediaApi {
|
|
|
4099
4102
|
});
|
|
4100
4103
|
}
|
|
4101
4104
|
}
|
|
4102
|
-
MediaApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4103
|
-
MediaApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4105
|
+
MediaApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: MediaApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4106
|
+
MediaApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: MediaApi, providedIn: 'root' });
|
|
4107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: MediaApi, decorators: [{
|
|
4105
4108
|
type: Injectable,
|
|
4106
4109
|
args: [{ providedIn: 'root' }]
|
|
4107
4110
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -4481,9 +4484,9 @@ class NotificationBaseApi {
|
|
|
4481
4484
|
});
|
|
4482
4485
|
}
|
|
4483
4486
|
}
|
|
4484
|
-
NotificationBaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4485
|
-
NotificationBaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4486
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4487
|
+
NotificationBaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationBaseApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4488
|
+
NotificationBaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationBaseApi, providedIn: 'root' });
|
|
4489
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationBaseApi, decorators: [{
|
|
4487
4490
|
type: Injectable,
|
|
4488
4491
|
args: [{ providedIn: 'root' }]
|
|
4489
4492
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -4494,9 +4497,9 @@ class NotificationApi extends NotificationBaseApi {
|
|
|
4494
4497
|
this.apiUrl = '/api/v1';
|
|
4495
4498
|
}
|
|
4496
4499
|
}
|
|
4497
|
-
NotificationApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4498
|
-
NotificationApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4499
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4500
|
+
NotificationApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationApi, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
4501
|
+
NotificationApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationApi, providedIn: 'root' });
|
|
4502
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationApi, decorators: [{
|
|
4500
4503
|
type: Injectable,
|
|
4501
4504
|
args: [{ providedIn: 'root' }]
|
|
4502
4505
|
}] });
|
|
@@ -4507,9 +4510,9 @@ class OrgNotificationApi extends NotificationBaseApi {
|
|
|
4507
4510
|
this.apiUrl = '/org/api/v1';
|
|
4508
4511
|
}
|
|
4509
4512
|
}
|
|
4510
|
-
OrgNotificationApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4511
|
-
OrgNotificationApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4512
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4513
|
+
OrgNotificationApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: OrgNotificationApi, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
4514
|
+
OrgNotificationApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: OrgNotificationApi, providedIn: 'root' });
|
|
4515
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: OrgNotificationApi, decorators: [{
|
|
4513
4516
|
type: Injectable,
|
|
4514
4517
|
args: [{ providedIn: 'root' }]
|
|
4515
4518
|
}] });
|
|
@@ -4534,9 +4537,9 @@ class ReferenceApi {
|
|
|
4534
4537
|
});
|
|
4535
4538
|
}
|
|
4536
4539
|
}
|
|
4537
|
-
ReferenceApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4538
|
-
ReferenceApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4539
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4540
|
+
ReferenceApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ReferenceApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4541
|
+
ReferenceApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ReferenceApi, providedIn: 'root' });
|
|
4542
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ReferenceApi, decorators: [{
|
|
4540
4543
|
type: Injectable,
|
|
4541
4544
|
args: [{ providedIn: 'root' }]
|
|
4542
4545
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -4795,9 +4798,9 @@ class RugbyGameApi extends GameBaseApi {
|
|
|
4795
4798
|
});
|
|
4796
4799
|
}
|
|
4797
4800
|
}
|
|
4798
|
-
RugbyGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4799
|
-
RugbyGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4800
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4801
|
+
RugbyGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: RugbyGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4802
|
+
RugbyGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: RugbyGameApi, providedIn: 'root' });
|
|
4803
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: RugbyGameApi, decorators: [{
|
|
4801
4804
|
type: Injectable,
|
|
4802
4805
|
args: [{ providedIn: 'root' }]
|
|
4803
4806
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -5199,9 +5202,9 @@ class TeamApi {
|
|
|
5199
5202
|
});
|
|
5200
5203
|
}
|
|
5201
5204
|
}
|
|
5202
|
-
TeamApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5203
|
-
TeamApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5204
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5205
|
+
TeamApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5206
|
+
TeamApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamApi, providedIn: 'root' });
|
|
5207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamApi, decorators: [{
|
|
5205
5208
|
type: Injectable,
|
|
5206
5209
|
args: [{ providedIn: 'root' }]
|
|
5207
5210
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -5267,9 +5270,9 @@ class TeamEventApi {
|
|
|
5267
5270
|
});
|
|
5268
5271
|
}
|
|
5269
5272
|
}
|
|
5270
|
-
TeamEventApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5271
|
-
TeamEventApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5272
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5273
|
+
TeamEventApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamEventApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5274
|
+
TeamEventApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamEventApi, providedIn: 'root' });
|
|
5275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamEventApi, decorators: [{
|
|
5273
5276
|
type: Injectable,
|
|
5274
5277
|
args: [{ providedIn: 'root' }]
|
|
5275
5278
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -5346,9 +5349,9 @@ class TournamentJoinApi {
|
|
|
5346
5349
|
});
|
|
5347
5350
|
}
|
|
5348
5351
|
}
|
|
5349
|
-
TournamentJoinApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5350
|
-
TournamentJoinApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5351
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5352
|
+
TournamentJoinApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentJoinApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5353
|
+
TournamentJoinApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentJoinApi, providedIn: 'root' });
|
|
5354
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentJoinApi, decorators: [{
|
|
5352
5355
|
type: Injectable,
|
|
5353
5356
|
args: [{ providedIn: 'root' }]
|
|
5354
5357
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -5431,9 +5434,9 @@ class TournamentRoundApi {
|
|
|
5431
5434
|
});
|
|
5432
5435
|
}
|
|
5433
5436
|
}
|
|
5434
|
-
TournamentRoundApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5435
|
-
TournamentRoundApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5436
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5437
|
+
TournamentRoundApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentRoundApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5438
|
+
TournamentRoundApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentRoundApi, providedIn: 'root' });
|
|
5439
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentRoundApi, decorators: [{
|
|
5437
5440
|
type: Injectable,
|
|
5438
5441
|
args: [{ providedIn: 'root' }]
|
|
5439
5442
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -5524,9 +5527,9 @@ class TournamentSeasonApi {
|
|
|
5524
5527
|
});
|
|
5525
5528
|
}
|
|
5526
5529
|
}
|
|
5527
|
-
TournamentSeasonApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5528
|
-
TournamentSeasonApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5529
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5530
|
+
TournamentSeasonApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentSeasonApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5531
|
+
TournamentSeasonApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentSeasonApi, providedIn: 'root' });
|
|
5532
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentSeasonApi, decorators: [{
|
|
5530
5533
|
type: Injectable,
|
|
5531
5534
|
args: [{ providedIn: 'root' }]
|
|
5532
5535
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -5564,17 +5567,24 @@ class TournamentStageApi {
|
|
|
5564
5567
|
.toPromise();
|
|
5565
5568
|
});
|
|
5566
5569
|
}
|
|
5567
|
-
getTeams(stageId) {
|
|
5570
|
+
getTeams(stageId, groupId, short) {
|
|
5568
5571
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5569
|
-
|
|
5572
|
+
let params = new HttpParams();
|
|
5573
|
+
if (groupId) {
|
|
5574
|
+
params = params.set('group_id', groupId.toString());
|
|
5575
|
+
}
|
|
5576
|
+
if (short) {
|
|
5577
|
+
params = params.set('short', '1');
|
|
5578
|
+
}
|
|
5579
|
+
return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/tournament_stage/${stageId}/teams/`, { params })
|
|
5570
5580
|
.pipe(map(result => result.map(item => new TournamentStageTeam(item))))
|
|
5571
5581
|
.toPromise();
|
|
5572
5582
|
});
|
|
5573
5583
|
}
|
|
5574
5584
|
}
|
|
5575
|
-
TournamentStageApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5576
|
-
TournamentStageApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5577
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5585
|
+
TournamentStageApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentStageApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5586
|
+
TournamentStageApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentStageApi, providedIn: 'root' });
|
|
5587
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentStageApi, decorators: [{
|
|
5578
5588
|
type: Injectable,
|
|
5579
5589
|
args: [{ providedIn: 'root' }]
|
|
5580
5590
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -5857,9 +5867,9 @@ class UserApi {
|
|
|
5857
5867
|
});
|
|
5858
5868
|
}
|
|
5859
5869
|
}
|
|
5860
|
-
UserApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5861
|
-
UserApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5862
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5870
|
+
UserApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: UserApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5871
|
+
UserApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: UserApi, providedIn: 'root' });
|
|
5872
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: UserApi, decorators: [{
|
|
5863
5873
|
type: Injectable,
|
|
5864
5874
|
args: [{ providedIn: 'root' }]
|
|
5865
5875
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -6076,9 +6086,9 @@ class VolleyballGameApi extends GameBaseApi {
|
|
|
6076
6086
|
});
|
|
6077
6087
|
}
|
|
6078
6088
|
}
|
|
6079
|
-
VolleyballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6080
|
-
VolleyballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6081
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6089
|
+
VolleyballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: VolleyballGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6090
|
+
VolleyballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: VolleyballGameApi, providedIn: 'root' });
|
|
6091
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: VolleyballGameApi, decorators: [{
|
|
6082
6092
|
type: Injectable,
|
|
6083
6093
|
args: [{ providedIn: 'root' }]
|
|
6084
6094
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -6742,9 +6752,9 @@ class WaterpoloGameApi extends GameBaseApi {
|
|
|
6742
6752
|
});
|
|
6743
6753
|
}
|
|
6744
6754
|
}
|
|
6745
|
-
WaterpoloGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6746
|
-
WaterpoloGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6747
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6755
|
+
WaterpoloGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: WaterpoloGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6756
|
+
WaterpoloGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: WaterpoloGameApi, providedIn: 'root' });
|
|
6757
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: WaterpoloGameApi, decorators: [{
|
|
6748
6758
|
type: Injectable,
|
|
6749
6759
|
args: [{ providedIn: 'root' }]
|
|
6750
6760
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -6770,9 +6780,9 @@ class PublicTeamApi {
|
|
|
6770
6780
|
});
|
|
6771
6781
|
}
|
|
6772
6782
|
}
|
|
6773
|
-
PublicTeamApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6774
|
-
PublicTeamApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6775
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6783
|
+
PublicTeamApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicTeamApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6784
|
+
PublicTeamApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicTeamApi, providedIn: 'root' });
|
|
6785
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicTeamApi, decorators: [{
|
|
6776
6786
|
type: Injectable,
|
|
6777
6787
|
args: [{ providedIn: 'root' }]
|
|
6778
6788
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -6798,9 +6808,9 @@ class PublicUserApi {
|
|
|
6798
6808
|
return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/public_user/${userId}/league_player/`, { params }).pipe(map(result => new LeaguePlayer(result))).toPromise();
|
|
6799
6809
|
}
|
|
6800
6810
|
}
|
|
6801
|
-
PublicUserApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6802
|
-
PublicUserApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6803
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6811
|
+
PublicUserApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicUserApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6812
|
+
PublicUserApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicUserApi, providedIn: 'root' });
|
|
6813
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicUserApi, decorators: [{
|
|
6804
6814
|
type: Injectable,
|
|
6805
6815
|
args: [{ providedIn: 'root' }]
|
|
6806
6816
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
|
|
@@ -7345,6 +7355,9 @@ TournamentJoin1x1Data = __decorate([
|
|
|
7345
7355
|
], TournamentJoin1x1Data);
|
|
7346
7356
|
|
|
7347
7357
|
class CentrifugoService {
|
|
7358
|
+
get connected$() {
|
|
7359
|
+
return this.connectedSubject;
|
|
7360
|
+
}
|
|
7348
7361
|
constructor(httpClient, configService, platformId) {
|
|
7349
7362
|
this.httpClient = httpClient;
|
|
7350
7363
|
this.configService = configService;
|
|
@@ -7353,9 +7366,6 @@ class CentrifugoService {
|
|
|
7353
7366
|
this.subscriptions = {};
|
|
7354
7367
|
this.connectedSubject = new BehaviorSubject(false);
|
|
7355
7368
|
}
|
|
7356
|
-
get connected$() {
|
|
7357
|
-
return this.connectedSubject;
|
|
7358
|
-
}
|
|
7359
7369
|
listen(channel) {
|
|
7360
7370
|
if (!isPlatformBrowser(this.platformId)) {
|
|
7361
7371
|
return new Observable(observer => {
|
|
@@ -7453,9 +7463,9 @@ class CentrifugoService {
|
|
|
7453
7463
|
this.channels$[channel].next(message);
|
|
7454
7464
|
}
|
|
7455
7465
|
}
|
|
7456
|
-
CentrifugoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7457
|
-
CentrifugoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7458
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7466
|
+
CentrifugoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: CentrifugoService, deps: [{ token: i1.HttpClient }, { token: ConfigService }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7467
|
+
CentrifugoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: CentrifugoService, providedIn: 'root' });
|
|
7468
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: CentrifugoService, decorators: [{
|
|
7459
7469
|
type: Injectable,
|
|
7460
7470
|
args: [{ providedIn: 'root' }]
|
|
7461
7471
|
}], ctorParameters: function () {
|
|
@@ -7504,9 +7514,9 @@ class DeviceInfoService {
|
|
|
7504
7514
|
});
|
|
7505
7515
|
}
|
|
7506
7516
|
}
|
|
7507
|
-
DeviceInfoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7508
|
-
DeviceInfoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7509
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7517
|
+
DeviceInfoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: DeviceInfoService, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7518
|
+
DeviceInfoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: DeviceInfoService, providedIn: 'root' });
|
|
7519
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: DeviceInfoService, decorators: [{
|
|
7510
7520
|
type: Injectable,
|
|
7511
7521
|
args: [{ providedIn: 'root' }]
|
|
7512
7522
|
}], ctorParameters: function () {
|
|
@@ -7549,13 +7559,13 @@ class OldStorageEngine {
|
|
|
7549
7559
|
if (!this.fields[key]) {
|
|
7550
7560
|
return;
|
|
7551
7561
|
}
|
|
7552
|
-
this.setItem(`${this.name}_${key}`, this.fields[key].json(value));
|
|
7562
|
+
this.setItem(`${this.name}_${key.toString()}`, this.fields[key].json(value));
|
|
7553
7563
|
}
|
|
7554
7564
|
get(key) {
|
|
7555
7565
|
if (!this.fields[key]) {
|
|
7556
7566
|
return;
|
|
7557
7567
|
}
|
|
7558
|
-
const value = this.getItem(`${this.name}_${key}`);
|
|
7568
|
+
const value = this.getItem(`${this.name}_${key.toString()}`);
|
|
7559
7569
|
return this.fields[key].create(value);
|
|
7560
7570
|
}
|
|
7561
7571
|
clear() {
|
|
@@ -7583,11 +7593,6 @@ class OldLocalStorageEngine extends OldStorageEngine {
|
|
|
7583
7593
|
}
|
|
7584
7594
|
|
|
7585
7595
|
class Storage {
|
|
7586
|
-
constructor(initial, engine) {
|
|
7587
|
-
this.initial = initial;
|
|
7588
|
-
this.subject = new BehaviorSubject(Object.assign(Object.assign({}, initial), (engine ? engine.getAll() : {})));
|
|
7589
|
-
this.engine = engine;
|
|
7590
|
-
}
|
|
7591
7596
|
get data$() {
|
|
7592
7597
|
return this.subject.asObservable().pipe(distinctUntilChanged((oldValue, newValue) => Object.keys(newValue).filter(key => newValue[key] !== oldValue[key]).length === 0 &&
|
|
7593
7598
|
Object.keys(newValue).length === Object.keys(oldValue).length));
|
|
@@ -7602,6 +7607,11 @@ class Storage {
|
|
|
7602
7607
|
get data() {
|
|
7603
7608
|
return this.subject.getValue();
|
|
7604
7609
|
}
|
|
7610
|
+
constructor(initial, engine) {
|
|
7611
|
+
this.initial = initial;
|
|
7612
|
+
this.subject = new BehaviorSubject(Object.assign(Object.assign({}, initial), (engine ? engine.getAll() : {})));
|
|
7613
|
+
this.engine = engine;
|
|
7614
|
+
}
|
|
7605
7615
|
update(data) {
|
|
7606
7616
|
this.subject.next(Object.assign(Object.assign({}, this.subject.value), data));
|
|
7607
7617
|
if (this.engine) {
|
|
@@ -7611,7 +7621,7 @@ class Storage {
|
|
|
7611
7621
|
reset() {
|
|
7612
7622
|
this.subject.next(Object.assign({}, this.initial));
|
|
7613
7623
|
}
|
|
7614
|
-
mergeWith(data$, mapper) {
|
|
7624
|
+
mergeWith(data$, mapper = data => data) {
|
|
7615
7625
|
data$.subscribe(data => this.update(mapper(data)));
|
|
7616
7626
|
return this;
|
|
7617
7627
|
}
|
|
@@ -7648,7 +7658,7 @@ class StorageEngine {
|
|
|
7648
7658
|
}
|
|
7649
7659
|
}
|
|
7650
7660
|
getValue(key) {
|
|
7651
|
-
const value = this.getItem(`${this.name}_${key}`);
|
|
7661
|
+
const value = this.getItem(`${this.name}_${key.toString()}`);
|
|
7652
7662
|
return this.fields[key].create(value);
|
|
7653
7663
|
}
|
|
7654
7664
|
getAll() {
|
|
@@ -7868,9 +7878,9 @@ class HttpCookieInterceptor {
|
|
|
7868
7878
|
return next.handle(req);
|
|
7869
7879
|
}
|
|
7870
7880
|
}
|
|
7871
|
-
HttpCookieInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7872
|
-
HttpCookieInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7873
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7881
|
+
HttpCookieInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HttpCookieInterceptor, deps: [{ token: i0.Injector }, { token: ConfigService }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7882
|
+
HttpCookieInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HttpCookieInterceptor });
|
|
7883
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HttpCookieInterceptor, decorators: [{
|
|
7874
7884
|
type: Injectable
|
|
7875
7885
|
}], ctorParameters: function () {
|
|
7876
7886
|
return [{ type: i0.Injector }, { type: ConfigService }, { type: undefined, decorators: [{
|
|
@@ -7926,9 +7936,9 @@ class GameWebsocket {
|
|
|
7926
7936
|
return this.centrifugoService.listen(`game_${gameId}`).pipe(filter(item => item.action === GameWebsocketEvents.GAME_USER_DELETED), map(item => new GameUser(item.data)));
|
|
7927
7937
|
}
|
|
7928
7938
|
}
|
|
7929
|
-
GameWebsocket.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7930
|
-
GameWebsocket.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7931
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7939
|
+
GameWebsocket.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameWebsocket, deps: [{ token: CentrifugoService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7940
|
+
GameWebsocket.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameWebsocket, providedIn: 'root' });
|
|
7941
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameWebsocket, decorators: [{
|
|
7932
7942
|
type: Injectable,
|
|
7933
7943
|
args: [{ providedIn: 'root' }]
|
|
7934
7944
|
}], ctorParameters: function () { return [{ type: CentrifugoService }]; } });
|