@mtgame/core 0.0.54 → 0.0.56
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/basketball-game-api.d.ts +4 -5
- package/api/football-game-api.d.ts +4 -5
- package/api/game-base-api.d.ts +10 -0
- package/api/hockey-game-api.d.ts +4 -5
- package/api/volleyball-game-api.d.ts +4 -5
- package/bundles/mtgame-core.umd.js +382 -355
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/bundles/mtgame-core.umd.min.js +1 -1
- package/bundles/mtgame-core.umd.min.js.map +1 -1
- package/esm2015/api/basketball-game-api.js +4 -8
- package/esm2015/api/football-game-api.js +4 -8
- package/esm2015/api/game-base-api.js +35 -0
- package/esm2015/api/hockey-game-api.js +4 -8
- package/esm2015/api/volleyball-game-api.js +4 -8
- package/esm2015/models/game-user.js +2 -1
- package/esm2015/models/hockey-statistic.js +8 -1
- package/esm2015/mtgame-core.js +2 -1
- package/esm5/api/basketball-game-api.js +10 -14
- package/esm5/api/football-game-api.js +10 -14
- package/esm5/api/game-base-api.js +40 -0
- package/esm5/api/hockey-game-api.js +10 -14
- package/esm5/api/volleyball-game-api.js +10 -14
- package/esm5/models/game-user.js +2 -1
- package/esm5/models/hockey-statistic.js +12 -1
- package/esm5/mtgame-core.js +2 -1
- package/fesm2015/mtgame-core.js +244 -227
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +382 -356
- package/fesm5/mtgame-core.js.map +1 -1
- package/models/game-user.d.ts +1 -0
- package/models/hockey-statistic.d.ts +2 -0
- package/mtgame-core.d.ts +1 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -1773,255 +1773,6 @@
|
|
|
1773
1773
|
return Game;
|
|
1774
1774
|
}(BaseModel));
|
|
1775
1775
|
|
|
1776
|
-
|
|
1777
|
-
(function (TeamUserRole) {
|
|
1778
|
-
TeamUserRole[TeamUserRole["member"] = 1] = "member";
|
|
1779
|
-
TeamUserRole[TeamUserRole["moderator"] = 2] = "moderator";
|
|
1780
|
-
TeamUserRole[TeamUserRole["admin"] = 3] = "admin";
|
|
1781
|
-
})(exports.TeamUserRole || (exports.TeamUserRole = {}));
|
|
1782
|
-
var TeamUser = /** @class */ (function (_super) {
|
|
1783
|
-
__extends(TeamUser, _super);
|
|
1784
|
-
function TeamUser() {
|
|
1785
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1786
|
-
}
|
|
1787
|
-
TeamUser.toFront = function (data) { };
|
|
1788
|
-
TeamUser.toBack = function (teamPlayer) { };
|
|
1789
|
-
__decorate([
|
|
1790
|
-
ToFrontHook
|
|
1791
|
-
], TeamUser, "toFront", null);
|
|
1792
|
-
__decorate([
|
|
1793
|
-
ToBackHook
|
|
1794
|
-
], TeamUser, "toBack", null);
|
|
1795
|
-
TeamUser = __decorate([
|
|
1796
|
-
ModelInstance({
|
|
1797
|
-
mappingFields: {
|
|
1798
|
-
id: 'id',
|
|
1799
|
-
team_id: 'teamId',
|
|
1800
|
-
user: 'user',
|
|
1801
|
-
role: 'role',
|
|
1802
|
-
number: 'number',
|
|
1803
|
-
team: 'team',
|
|
1804
|
-
},
|
|
1805
|
-
relation: {
|
|
1806
|
-
user: User,
|
|
1807
|
-
team: Team,
|
|
1808
|
-
role: enumField(exports.TeamUserRole)
|
|
1809
|
-
}
|
|
1810
|
-
})
|
|
1811
|
-
], TeamUser);
|
|
1812
|
-
return TeamUser;
|
|
1813
|
-
}(BaseModel));
|
|
1814
|
-
|
|
1815
|
-
var TournamentGroup = /** @class */ (function (_super) {
|
|
1816
|
-
__extends(TournamentGroup, _super);
|
|
1817
|
-
function TournamentGroup() {
|
|
1818
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1819
|
-
}
|
|
1820
|
-
TournamentGroup.toFront = function (data) { };
|
|
1821
|
-
TournamentGroup.toBack = function (data) { };
|
|
1822
|
-
__decorate([
|
|
1823
|
-
ToFrontHook
|
|
1824
|
-
], TournamentGroup, "toFront", null);
|
|
1825
|
-
__decorate([
|
|
1826
|
-
ToBackHook
|
|
1827
|
-
], TournamentGroup, "toBack", null);
|
|
1828
|
-
TournamentGroup = __decorate([
|
|
1829
|
-
ModelInstance({
|
|
1830
|
-
mappingFields: {
|
|
1831
|
-
id: 'id',
|
|
1832
|
-
name: 'name',
|
|
1833
|
-
tournament_stage_id: 'tournamentStageId'
|
|
1834
|
-
}
|
|
1835
|
-
})
|
|
1836
|
-
], TournamentGroup);
|
|
1837
|
-
return TournamentGroup;
|
|
1838
|
-
}(BaseModel));
|
|
1839
|
-
|
|
1840
|
-
var TournamentTeam = /** @class */ (function (_super) {
|
|
1841
|
-
__extends(TournamentTeam, _super);
|
|
1842
|
-
function TournamentTeam() {
|
|
1843
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1844
|
-
}
|
|
1845
|
-
Object.defineProperty(TournamentTeam.prototype, "gamesWonPercent", {
|
|
1846
|
-
get: function () {
|
|
1847
|
-
if (!this.gamesCount) {
|
|
1848
|
-
return 0;
|
|
1849
|
-
}
|
|
1850
|
-
return Math.floor(1000 * this.wonGamesCount / this.gamesCount) / 10;
|
|
1851
|
-
},
|
|
1852
|
-
enumerable: true,
|
|
1853
|
-
configurable: true
|
|
1854
|
-
});
|
|
1855
|
-
TournamentTeam.toFront = function (data) { };
|
|
1856
|
-
TournamentTeam.toBack = function (data) { };
|
|
1857
|
-
__decorate([
|
|
1858
|
-
ToFrontHook
|
|
1859
|
-
], TournamentTeam, "toFront", null);
|
|
1860
|
-
__decorate([
|
|
1861
|
-
ToBackHook
|
|
1862
|
-
], TournamentTeam, "toBack", null);
|
|
1863
|
-
TournamentTeam = __decorate([
|
|
1864
|
-
ModelInstance({
|
|
1865
|
-
mappingFields: {
|
|
1866
|
-
id: 'id',
|
|
1867
|
-
team_id: 'teamId',
|
|
1868
|
-
tournament_id: 'tournamentId',
|
|
1869
|
-
tournament: 'tournament',
|
|
1870
|
-
team: 'team',
|
|
1871
|
-
group: 'group',
|
|
1872
|
-
final_standing: 'finalStanding',
|
|
1873
|
-
games_count: 'gamesCount',
|
|
1874
|
-
won_games_count: 'wonGamesCount',
|
|
1875
|
-
draw_games_count: 'drawGamesCount',
|
|
1876
|
-
last_games_count: 'lastGamesCount',
|
|
1877
|
-
last_games_won: 'lastGamesWon',
|
|
1878
|
-
score_sum: 'scoreSum',
|
|
1879
|
-
missed_sum: 'missedSum',
|
|
1880
|
-
score_points_sum: 'scorePointsSum',
|
|
1881
|
-
missed_points_sum: 'missedPointsSum',
|
|
1882
|
-
points: 'points',
|
|
1883
|
-
users_count: 'usersCount',
|
|
1884
|
-
games: 'games',
|
|
1885
|
-
notifications_count: 'notificationsCount',
|
|
1886
|
-
win_normal_time_games_count: 'winNormalTimeGamesCount',
|
|
1887
|
-
lose_normal_time_games_count: 'loseNormalTimeGamesCount',
|
|
1888
|
-
win_overtime_games_count: 'winOvertimeGamesCount',
|
|
1889
|
-
lose_overtime_games_count: 'loseOvertimeGamesCount',
|
|
1890
|
-
},
|
|
1891
|
-
relation: {
|
|
1892
|
-
tournament: Tournament,
|
|
1893
|
-
team: Team,
|
|
1894
|
-
group: TournamentGroup,
|
|
1895
|
-
games: Game,
|
|
1896
|
-
}
|
|
1897
|
-
})
|
|
1898
|
-
], TournamentTeam);
|
|
1899
|
-
return TournamentTeam;
|
|
1900
|
-
}(BaseModel));
|
|
1901
|
-
|
|
1902
|
-
var TournamentDisqualification = /** @class */ (function (_super) {
|
|
1903
|
-
__extends(TournamentDisqualification, _super);
|
|
1904
|
-
function TournamentDisqualification() {
|
|
1905
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1906
|
-
}
|
|
1907
|
-
TournamentDisqualification.toFront = function (data) { };
|
|
1908
|
-
TournamentDisqualification.toBack = function (data) { };
|
|
1909
|
-
__decorate([
|
|
1910
|
-
ToFrontHook
|
|
1911
|
-
], TournamentDisqualification, "toFront", null);
|
|
1912
|
-
__decorate([
|
|
1913
|
-
ToBackHook
|
|
1914
|
-
], TournamentDisqualification, "toBack", null);
|
|
1915
|
-
TournamentDisqualification = __decorate([
|
|
1916
|
-
ModelInstance({
|
|
1917
|
-
mappingFields: {
|
|
1918
|
-
id: 'id',
|
|
1919
|
-
tournament_team_user_id: 'tournamentTeamUserId',
|
|
1920
|
-
date_from: 'dateFrom',
|
|
1921
|
-
date_to: 'dateTo',
|
|
1922
|
-
matches_count: 'matchesCount',
|
|
1923
|
-
},
|
|
1924
|
-
relation: {
|
|
1925
|
-
dateFrom: DateField,
|
|
1926
|
-
dateTo: DateField,
|
|
1927
|
-
}
|
|
1928
|
-
})
|
|
1929
|
-
], TournamentDisqualification);
|
|
1930
|
-
return TournamentDisqualification;
|
|
1931
|
-
}(BaseModel));
|
|
1932
|
-
|
|
1933
|
-
var TournamentTeamUser = /** @class */ (function (_super) {
|
|
1934
|
-
__extends(TournamentTeamUser, _super);
|
|
1935
|
-
function TournamentTeamUser() {
|
|
1936
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1937
|
-
}
|
|
1938
|
-
Object.defineProperty(TournamentTeamUser.prototype, "fullName", {
|
|
1939
|
-
get: function () {
|
|
1940
|
-
return [this.lastName, this.firstName, this.middleName].filter(function (s) { return s; }).join(' ');
|
|
1941
|
-
},
|
|
1942
|
-
enumerable: true,
|
|
1943
|
-
configurable: true
|
|
1944
|
-
});
|
|
1945
|
-
Object.defineProperty(TournamentTeamUser.prototype, "shortName", {
|
|
1946
|
-
get: function () {
|
|
1947
|
-
return [this.lastName, this.firstName].filter(function (s) { return s; }).join(' ');
|
|
1948
|
-
},
|
|
1949
|
-
enumerable: true,
|
|
1950
|
-
configurable: true
|
|
1951
|
-
});
|
|
1952
|
-
Object.defineProperty(TournamentTeamUser.prototype, "initials", {
|
|
1953
|
-
get: function () {
|
|
1954
|
-
return [this.lastName, this.firstName].filter(function (s) { return s; }).map(function (s) { return s.substr(0, 1); }).join('');
|
|
1955
|
-
},
|
|
1956
|
-
enumerable: true,
|
|
1957
|
-
configurable: true
|
|
1958
|
-
});
|
|
1959
|
-
TournamentTeamUser.toFront = function (data) { };
|
|
1960
|
-
TournamentTeamUser.toBack = function (data) { };
|
|
1961
|
-
__decorate([
|
|
1962
|
-
ToFrontHook
|
|
1963
|
-
], TournamentTeamUser, "toFront", null);
|
|
1964
|
-
__decorate([
|
|
1965
|
-
ToBackHook
|
|
1966
|
-
], TournamentTeamUser, "toBack", null);
|
|
1967
|
-
TournamentTeamUser = __decorate([
|
|
1968
|
-
ModelInstance({
|
|
1969
|
-
mappingFields: {
|
|
1970
|
-
id: 'id',
|
|
1971
|
-
tournament_team: 'tournamentTeam',
|
|
1972
|
-
team_user: 'teamUser',
|
|
1973
|
-
disqualified: 'disqualified',
|
|
1974
|
-
first_name: 'firstName',
|
|
1975
|
-
last_name: 'lastName',
|
|
1976
|
-
middle_name: 'middleName',
|
|
1977
|
-
photo: 'photo',
|
|
1978
|
-
disqualification: 'disqualification',
|
|
1979
|
-
has_changes: 'hasChanges',
|
|
1980
|
-
rating: 'rating'
|
|
1981
|
-
},
|
|
1982
|
-
relation: {
|
|
1983
|
-
tournamentTeam: TournamentTeam,
|
|
1984
|
-
teamUser: TeamUser,
|
|
1985
|
-
photo: File,
|
|
1986
|
-
disqualification: TournamentDisqualification,
|
|
1987
|
-
}
|
|
1988
|
-
})
|
|
1989
|
-
], TournamentTeamUser);
|
|
1990
|
-
return TournamentTeamUser;
|
|
1991
|
-
}(BaseModel));
|
|
1992
|
-
|
|
1993
|
-
var GameUser = /** @class */ (function (_super) {
|
|
1994
|
-
__extends(GameUser, _super);
|
|
1995
|
-
function GameUser() {
|
|
1996
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1997
|
-
}
|
|
1998
|
-
GameUser.toFront = function (data) { };
|
|
1999
|
-
GameUser.toBack = function (data) { };
|
|
2000
|
-
__decorate([
|
|
2001
|
-
ToFrontHook
|
|
2002
|
-
], GameUser, "toFront", null);
|
|
2003
|
-
__decorate([
|
|
2004
|
-
ToBackHook
|
|
2005
|
-
], GameUser, "toBack", null);
|
|
2006
|
-
GameUser = __decorate([
|
|
2007
|
-
ModelInstance({
|
|
2008
|
-
mappingFields: {
|
|
2009
|
-
id: 'id',
|
|
2010
|
-
game_id: 'gameId',
|
|
2011
|
-
team_user: 'teamUser',
|
|
2012
|
-
tournament_team_user: 'tournamentTeamUser',
|
|
2013
|
-
updated_at: 'updatedAt'
|
|
2014
|
-
},
|
|
2015
|
-
relation: {
|
|
2016
|
-
teamUser: TeamUser,
|
|
2017
|
-
tournamentTeamUser: TournamentTeamUser,
|
|
2018
|
-
updatedAt: DateTimeField,
|
|
2019
|
-
}
|
|
2020
|
-
})
|
|
2021
|
-
], GameUser);
|
|
2022
|
-
return GameUser;
|
|
2023
|
-
}(BaseModel));
|
|
2024
|
-
|
|
2025
1776
|
function updateItemInArray(data, item, force, checkFunction) {
|
|
2026
1777
|
if (force === void 0) { force = false; }
|
|
2027
1778
|
if (!Array.isArray(data)) {
|
|
@@ -2152,86 +1903,303 @@
|
|
|
2152
1903
|
try {
|
|
2153
1904
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2154
1905
|
}
|
|
2155
|
-
finally { if (e_1) throw e_1.error; }
|
|
2156
|
-
}
|
|
2157
|
-
};
|
|
2158
|
-
Store.prototype.clearStorageData = function () {
|
|
2159
|
-
if (this.engine) {
|
|
2160
|
-
this.engine.clear();
|
|
2161
|
-
}
|
|
2162
|
-
};
|
|
2163
|
-
Store.prototype.getEngine = function () {
|
|
2164
|
-
return this.engine;
|
|
2165
|
-
};
|
|
2166
|
-
Store.prototype.getSubject = function (key) {
|
|
2167
|
-
if (!this.data[key]) {
|
|
2168
|
-
this.data[key] = new rxjs.BehaviorSubject(this.engine ? this.engine.get(key) : undefined);
|
|
2169
|
-
}
|
|
2170
|
-
return this.data[key];
|
|
2171
|
-
};
|
|
2172
|
-
return Store;
|
|
2173
|
-
}());
|
|
1906
|
+
finally { if (e_1) throw e_1.error; }
|
|
1907
|
+
}
|
|
1908
|
+
};
|
|
1909
|
+
Store.prototype.clearStorageData = function () {
|
|
1910
|
+
if (this.engine) {
|
|
1911
|
+
this.engine.clear();
|
|
1912
|
+
}
|
|
1913
|
+
};
|
|
1914
|
+
Store.prototype.getEngine = function () {
|
|
1915
|
+
return this.engine;
|
|
1916
|
+
};
|
|
1917
|
+
Store.prototype.getSubject = function (key) {
|
|
1918
|
+
if (!this.data[key]) {
|
|
1919
|
+
this.data[key] = new rxjs.BehaviorSubject(this.engine ? this.engine.get(key) : undefined);
|
|
1920
|
+
}
|
|
1921
|
+
return this.data[key];
|
|
1922
|
+
};
|
|
1923
|
+
return Store;
|
|
1924
|
+
}());
|
|
1925
|
+
|
|
1926
|
+
var BaseService = /** @class */ (function () {
|
|
1927
|
+
function BaseService() {
|
|
1928
|
+
this.store = new Store();
|
|
1929
|
+
}
|
|
1930
|
+
BaseService.prototype.dispose = function () {
|
|
1931
|
+
this.store.dispose();
|
|
1932
|
+
};
|
|
1933
|
+
BaseService.ɵprov = core.ɵɵdefineInjectable({ factory: function BaseService_Factory() { return new BaseService(); }, token: BaseService, providedIn: "root" });
|
|
1934
|
+
BaseService = __decorate([
|
|
1935
|
+
core.Injectable({ providedIn: 'root' })
|
|
1936
|
+
], BaseService);
|
|
1937
|
+
return BaseService;
|
|
1938
|
+
}());
|
|
1939
|
+
|
|
1940
|
+
var CONFIG_STORE_KEY = 'config';
|
|
1941
|
+
var CONFIG_DATA = 'mtg-core-config-data';
|
|
1942
|
+
var ConfigService = /** @class */ (function (_super) {
|
|
1943
|
+
__extends(ConfigService, _super);
|
|
1944
|
+
function ConfigService(configData) {
|
|
1945
|
+
var _this = _super.call(this) || this;
|
|
1946
|
+
_this.configData = configData;
|
|
1947
|
+
if (configData) {
|
|
1948
|
+
_this.initialize(configData);
|
|
1949
|
+
}
|
|
1950
|
+
return _this;
|
|
1951
|
+
}
|
|
1952
|
+
Object.defineProperty(ConfigService.prototype, "config$", {
|
|
1953
|
+
get: function () {
|
|
1954
|
+
return this.store.get(CONFIG_STORE_KEY);
|
|
1955
|
+
},
|
|
1956
|
+
enumerable: true,
|
|
1957
|
+
configurable: true
|
|
1958
|
+
});
|
|
1959
|
+
Object.defineProperty(ConfigService.prototype, "config", {
|
|
1960
|
+
get: function () {
|
|
1961
|
+
return this.store.value(CONFIG_STORE_KEY) || {};
|
|
1962
|
+
},
|
|
1963
|
+
enumerable: true,
|
|
1964
|
+
configurable: true
|
|
1965
|
+
});
|
|
1966
|
+
ConfigService.prototype.initialize = function (data) {
|
|
1967
|
+
this.store.save(CONFIG_STORE_KEY, data);
|
|
1968
|
+
};
|
|
1969
|
+
ConfigService.prototype.set = function (key, value) {
|
|
1970
|
+
var _a;
|
|
1971
|
+
this.store.save(CONFIG_STORE_KEY, __assign(__assign({}, this.config), (_a = {}, _a[key] = value, _a)));
|
|
1972
|
+
};
|
|
1973
|
+
ConfigService.prototype.get = function (key) {
|
|
1974
|
+
return this.store.value(CONFIG_STORE_KEY) && this.store.value(CONFIG_STORE_KEY)[key];
|
|
1975
|
+
};
|
|
1976
|
+
ConfigService.ctorParameters = function () { return [
|
|
1977
|
+
{ type: undefined, decorators: [{ type: core.Optional }, { type: core.Inject, args: [CONFIG_DATA,] }] }
|
|
1978
|
+
]; };
|
|
1979
|
+
ConfigService.ɵprov = core.ɵɵdefineInjectable({ factory: function ConfigService_Factory() { return new ConfigService(core.ɵɵinject("mtg-core-config-data", 8)); }, token: ConfigService, providedIn: "root" });
|
|
1980
|
+
ConfigService = __decorate([
|
|
1981
|
+
core.Injectable({ providedIn: 'root' }),
|
|
1982
|
+
__param(0, core.Optional()), __param(0, core.Inject(CONFIG_DATA))
|
|
1983
|
+
], ConfigService);
|
|
1984
|
+
return ConfigService;
|
|
1985
|
+
}(BaseService));
|
|
1986
|
+
|
|
1987
|
+
var TournamentGroup = /** @class */ (function (_super) {
|
|
1988
|
+
__extends(TournamentGroup, _super);
|
|
1989
|
+
function TournamentGroup() {
|
|
1990
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1991
|
+
}
|
|
1992
|
+
TournamentGroup.toFront = function (data) { };
|
|
1993
|
+
TournamentGroup.toBack = function (data) { };
|
|
1994
|
+
__decorate([
|
|
1995
|
+
ToFrontHook
|
|
1996
|
+
], TournamentGroup, "toFront", null);
|
|
1997
|
+
__decorate([
|
|
1998
|
+
ToBackHook
|
|
1999
|
+
], TournamentGroup, "toBack", null);
|
|
2000
|
+
TournamentGroup = __decorate([
|
|
2001
|
+
ModelInstance({
|
|
2002
|
+
mappingFields: {
|
|
2003
|
+
id: 'id',
|
|
2004
|
+
name: 'name',
|
|
2005
|
+
tournament_stage_id: 'tournamentStageId'
|
|
2006
|
+
}
|
|
2007
|
+
})
|
|
2008
|
+
], TournamentGroup);
|
|
2009
|
+
return TournamentGroup;
|
|
2010
|
+
}(BaseModel));
|
|
2011
|
+
|
|
2012
|
+
var TournamentTeam = /** @class */ (function (_super) {
|
|
2013
|
+
__extends(TournamentTeam, _super);
|
|
2014
|
+
function TournamentTeam() {
|
|
2015
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2016
|
+
}
|
|
2017
|
+
Object.defineProperty(TournamentTeam.prototype, "gamesWonPercent", {
|
|
2018
|
+
get: function () {
|
|
2019
|
+
if (!this.gamesCount) {
|
|
2020
|
+
return 0;
|
|
2021
|
+
}
|
|
2022
|
+
return Math.floor(1000 * this.wonGamesCount / this.gamesCount) / 10;
|
|
2023
|
+
},
|
|
2024
|
+
enumerable: true,
|
|
2025
|
+
configurable: true
|
|
2026
|
+
});
|
|
2027
|
+
TournamentTeam.toFront = function (data) { };
|
|
2028
|
+
TournamentTeam.toBack = function (data) { };
|
|
2029
|
+
__decorate([
|
|
2030
|
+
ToFrontHook
|
|
2031
|
+
], TournamentTeam, "toFront", null);
|
|
2032
|
+
__decorate([
|
|
2033
|
+
ToBackHook
|
|
2034
|
+
], TournamentTeam, "toBack", null);
|
|
2035
|
+
TournamentTeam = __decorate([
|
|
2036
|
+
ModelInstance({
|
|
2037
|
+
mappingFields: {
|
|
2038
|
+
id: 'id',
|
|
2039
|
+
team_id: 'teamId',
|
|
2040
|
+
tournament_id: 'tournamentId',
|
|
2041
|
+
tournament: 'tournament',
|
|
2042
|
+
team: 'team',
|
|
2043
|
+
group: 'group',
|
|
2044
|
+
final_standing: 'finalStanding',
|
|
2045
|
+
games_count: 'gamesCount',
|
|
2046
|
+
won_games_count: 'wonGamesCount',
|
|
2047
|
+
draw_games_count: 'drawGamesCount',
|
|
2048
|
+
last_games_count: 'lastGamesCount',
|
|
2049
|
+
last_games_won: 'lastGamesWon',
|
|
2050
|
+
score_sum: 'scoreSum',
|
|
2051
|
+
missed_sum: 'missedSum',
|
|
2052
|
+
score_points_sum: 'scorePointsSum',
|
|
2053
|
+
missed_points_sum: 'missedPointsSum',
|
|
2054
|
+
points: 'points',
|
|
2055
|
+
users_count: 'usersCount',
|
|
2056
|
+
games: 'games',
|
|
2057
|
+
notifications_count: 'notificationsCount',
|
|
2058
|
+
win_normal_time_games_count: 'winNormalTimeGamesCount',
|
|
2059
|
+
lose_normal_time_games_count: 'loseNormalTimeGamesCount',
|
|
2060
|
+
win_overtime_games_count: 'winOvertimeGamesCount',
|
|
2061
|
+
lose_overtime_games_count: 'loseOvertimeGamesCount',
|
|
2062
|
+
},
|
|
2063
|
+
relation: {
|
|
2064
|
+
tournament: Tournament,
|
|
2065
|
+
team: Team,
|
|
2066
|
+
group: TournamentGroup,
|
|
2067
|
+
games: Game,
|
|
2068
|
+
}
|
|
2069
|
+
})
|
|
2070
|
+
], TournamentTeam);
|
|
2071
|
+
return TournamentTeam;
|
|
2072
|
+
}(BaseModel));
|
|
2073
|
+
|
|
2074
|
+
|
|
2075
|
+
(function (TeamUserRole) {
|
|
2076
|
+
TeamUserRole[TeamUserRole["member"] = 1] = "member";
|
|
2077
|
+
TeamUserRole[TeamUserRole["moderator"] = 2] = "moderator";
|
|
2078
|
+
TeamUserRole[TeamUserRole["admin"] = 3] = "admin";
|
|
2079
|
+
})(exports.TeamUserRole || (exports.TeamUserRole = {}));
|
|
2080
|
+
var TeamUser = /** @class */ (function (_super) {
|
|
2081
|
+
__extends(TeamUser, _super);
|
|
2082
|
+
function TeamUser() {
|
|
2083
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2084
|
+
}
|
|
2085
|
+
TeamUser.toFront = function (data) { };
|
|
2086
|
+
TeamUser.toBack = function (teamPlayer) { };
|
|
2087
|
+
__decorate([
|
|
2088
|
+
ToFrontHook
|
|
2089
|
+
], TeamUser, "toFront", null);
|
|
2090
|
+
__decorate([
|
|
2091
|
+
ToBackHook
|
|
2092
|
+
], TeamUser, "toBack", null);
|
|
2093
|
+
TeamUser = __decorate([
|
|
2094
|
+
ModelInstance({
|
|
2095
|
+
mappingFields: {
|
|
2096
|
+
id: 'id',
|
|
2097
|
+
team_id: 'teamId',
|
|
2098
|
+
user: 'user',
|
|
2099
|
+
role: 'role',
|
|
2100
|
+
number: 'number',
|
|
2101
|
+
team: 'team',
|
|
2102
|
+
},
|
|
2103
|
+
relation: {
|
|
2104
|
+
user: User,
|
|
2105
|
+
team: Team,
|
|
2106
|
+
role: enumField(exports.TeamUserRole)
|
|
2107
|
+
}
|
|
2108
|
+
})
|
|
2109
|
+
], TeamUser);
|
|
2110
|
+
return TeamUser;
|
|
2111
|
+
}(BaseModel));
|
|
2174
2112
|
|
|
2175
|
-
var
|
|
2176
|
-
|
|
2177
|
-
|
|
2113
|
+
var TournamentDisqualification = /** @class */ (function (_super) {
|
|
2114
|
+
__extends(TournamentDisqualification, _super);
|
|
2115
|
+
function TournamentDisqualification() {
|
|
2116
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2178
2117
|
}
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2118
|
+
TournamentDisqualification.toFront = function (data) { };
|
|
2119
|
+
TournamentDisqualification.toBack = function (data) { };
|
|
2120
|
+
__decorate([
|
|
2121
|
+
ToFrontHook
|
|
2122
|
+
], TournamentDisqualification, "toFront", null);
|
|
2123
|
+
__decorate([
|
|
2124
|
+
ToBackHook
|
|
2125
|
+
], TournamentDisqualification, "toBack", null);
|
|
2126
|
+
TournamentDisqualification = __decorate([
|
|
2127
|
+
ModelInstance({
|
|
2128
|
+
mappingFields: {
|
|
2129
|
+
id: 'id',
|
|
2130
|
+
tournament_team_user_id: 'tournamentTeamUserId',
|
|
2131
|
+
date_from: 'dateFrom',
|
|
2132
|
+
date_to: 'dateTo',
|
|
2133
|
+
matches_count: 'matchesCount',
|
|
2134
|
+
},
|
|
2135
|
+
relation: {
|
|
2136
|
+
dateFrom: DateField,
|
|
2137
|
+
dateTo: DateField,
|
|
2138
|
+
}
|
|
2139
|
+
})
|
|
2140
|
+
], TournamentDisqualification);
|
|
2141
|
+
return TournamentDisqualification;
|
|
2142
|
+
}(BaseModel));
|
|
2188
2143
|
|
|
2189
|
-
var
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
function ConfigService(configData) {
|
|
2194
|
-
var _this = _super.call(this) || this;
|
|
2195
|
-
_this.configData = configData;
|
|
2196
|
-
if (configData) {
|
|
2197
|
-
_this.initialize(configData);
|
|
2198
|
-
}
|
|
2199
|
-
return _this;
|
|
2144
|
+
var TournamentTeamUser = /** @class */ (function (_super) {
|
|
2145
|
+
__extends(TournamentTeamUser, _super);
|
|
2146
|
+
function TournamentTeamUser() {
|
|
2147
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2200
2148
|
}
|
|
2201
|
-
Object.defineProperty(
|
|
2149
|
+
Object.defineProperty(TournamentTeamUser.prototype, "fullName", {
|
|
2202
2150
|
get: function () {
|
|
2203
|
-
return this.
|
|
2151
|
+
return [this.lastName, this.firstName, this.middleName].filter(function (s) { return s; }).join(' ');
|
|
2204
2152
|
},
|
|
2205
2153
|
enumerable: true,
|
|
2206
2154
|
configurable: true
|
|
2207
2155
|
});
|
|
2208
|
-
Object.defineProperty(
|
|
2156
|
+
Object.defineProperty(TournamentTeamUser.prototype, "shortName", {
|
|
2209
2157
|
get: function () {
|
|
2210
|
-
return this.
|
|
2158
|
+
return [this.lastName, this.firstName].filter(function (s) { return s; }).join(' ');
|
|
2211
2159
|
},
|
|
2212
2160
|
enumerable: true,
|
|
2213
2161
|
configurable: true
|
|
2214
2162
|
});
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
};
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2163
|
+
Object.defineProperty(TournamentTeamUser.prototype, "initials", {
|
|
2164
|
+
get: function () {
|
|
2165
|
+
return [this.lastName, this.firstName].filter(function (s) { return s; }).map(function (s) { return s.substr(0, 1); }).join('');
|
|
2166
|
+
},
|
|
2167
|
+
enumerable: true,
|
|
2168
|
+
configurable: true
|
|
2169
|
+
});
|
|
2170
|
+
TournamentTeamUser.toFront = function (data) { };
|
|
2171
|
+
TournamentTeamUser.toBack = function (data) { };
|
|
2172
|
+
__decorate([
|
|
2173
|
+
ToFrontHook
|
|
2174
|
+
], TournamentTeamUser, "toFront", null);
|
|
2175
|
+
__decorate([
|
|
2176
|
+
ToBackHook
|
|
2177
|
+
], TournamentTeamUser, "toBack", null);
|
|
2178
|
+
TournamentTeamUser = __decorate([
|
|
2179
|
+
ModelInstance({
|
|
2180
|
+
mappingFields: {
|
|
2181
|
+
id: 'id',
|
|
2182
|
+
tournament_team: 'tournamentTeam',
|
|
2183
|
+
team_user: 'teamUser',
|
|
2184
|
+
disqualified: 'disqualified',
|
|
2185
|
+
first_name: 'firstName',
|
|
2186
|
+
last_name: 'lastName',
|
|
2187
|
+
middle_name: 'middleName',
|
|
2188
|
+
photo: 'photo',
|
|
2189
|
+
disqualification: 'disqualification',
|
|
2190
|
+
has_changes: 'hasChanges',
|
|
2191
|
+
rating: 'rating'
|
|
2192
|
+
},
|
|
2193
|
+
relation: {
|
|
2194
|
+
tournamentTeam: TournamentTeam,
|
|
2195
|
+
teamUser: TeamUser,
|
|
2196
|
+
photo: File,
|
|
2197
|
+
disqualification: TournamentDisqualification,
|
|
2198
|
+
}
|
|
2199
|
+
})
|
|
2200
|
+
], TournamentTeamUser);
|
|
2201
|
+
return TournamentTeamUser;
|
|
2202
|
+
}(BaseModel));
|
|
2235
2203
|
|
|
2236
2204
|
var BaseStatistic = /** @class */ (function () {
|
|
2237
2205
|
function BaseStatistic() {
|
|
@@ -2511,22 +2479,81 @@
|
|
|
2511
2479
|
return BasketballGameLog;
|
|
2512
2480
|
}(BaseModel));
|
|
2513
2481
|
|
|
2514
|
-
var
|
|
2515
|
-
|
|
2482
|
+
var GameUser = /** @class */ (function (_super) {
|
|
2483
|
+
__extends(GameUser, _super);
|
|
2484
|
+
function GameUser() {
|
|
2485
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2486
|
+
}
|
|
2487
|
+
GameUser.toFront = function (data) { };
|
|
2488
|
+
GameUser.toBack = function (data) { };
|
|
2489
|
+
__decorate([
|
|
2490
|
+
ToFrontHook
|
|
2491
|
+
], GameUser, "toFront", null);
|
|
2492
|
+
__decorate([
|
|
2493
|
+
ToBackHook
|
|
2494
|
+
], GameUser, "toBack", null);
|
|
2495
|
+
GameUser = __decorate([
|
|
2496
|
+
ModelInstance({
|
|
2497
|
+
mappingFields: {
|
|
2498
|
+
id: 'id',
|
|
2499
|
+
game_id: 'gameId',
|
|
2500
|
+
team_user: 'teamUser',
|
|
2501
|
+
tournament_team_user: 'tournamentTeamUser',
|
|
2502
|
+
is_mvp: 'isMvp',
|
|
2503
|
+
updated_at: 'updatedAt'
|
|
2504
|
+
},
|
|
2505
|
+
relation: {
|
|
2506
|
+
teamUser: TeamUser,
|
|
2507
|
+
tournamentTeamUser: TournamentTeamUser,
|
|
2508
|
+
updatedAt: DateTimeField,
|
|
2509
|
+
}
|
|
2510
|
+
})
|
|
2511
|
+
], GameUser);
|
|
2512
|
+
return GameUser;
|
|
2513
|
+
}(BaseModel));
|
|
2514
|
+
|
|
2515
|
+
var GameBaseApi = /** @class */ (function () {
|
|
2516
|
+
function GameBaseApi(httpClient, configService) {
|
|
2516
2517
|
this.httpClient = httpClient;
|
|
2517
2518
|
this.configService = configService;
|
|
2518
2519
|
}
|
|
2519
|
-
|
|
2520
|
+
GameBaseApi.prototype.getUsers = function (gameId) {
|
|
2520
2521
|
return __awaiter(this, void 0, void 0, function () {
|
|
2521
2522
|
return __generator(this, function (_a) {
|
|
2522
|
-
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/
|
|
2523
|
+
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_game/" + gameId + "/users/").pipe(operators.map(function (result) { return GameUser.toFront(result); })).toPromise()];
|
|
2523
2524
|
});
|
|
2524
2525
|
});
|
|
2525
2526
|
};
|
|
2526
|
-
|
|
2527
|
+
GameBaseApi.prototype.getMvp = function (gameId) {
|
|
2527
2528
|
return __awaiter(this, void 0, void 0, function () {
|
|
2528
2529
|
return __generator(this, function (_a) {
|
|
2529
|
-
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_game/" + gameId + "/
|
|
2530
|
+
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_game/" + gameId + "/mvp/").pipe(operators.map(function (result) { return GameUser.toFront(result); })).toPromise()];
|
|
2531
|
+
});
|
|
2532
|
+
});
|
|
2533
|
+
};
|
|
2534
|
+
GameBaseApi.ctorParameters = function () { return [
|
|
2535
|
+
{ type: http.HttpClient },
|
|
2536
|
+
{ type: ConfigService }
|
|
2537
|
+
]; };
|
|
2538
|
+
GameBaseApi.ɵprov = core.ɵɵdefineInjectable({ factory: function GameBaseApi_Factory() { return new GameBaseApi(core.ɵɵinject(http.HttpClient), core.ɵɵinject(ConfigService)); }, token: GameBaseApi, providedIn: "root" });
|
|
2539
|
+
GameBaseApi = __decorate([
|
|
2540
|
+
core.Injectable({ providedIn: 'root' })
|
|
2541
|
+
], GameBaseApi);
|
|
2542
|
+
return GameBaseApi;
|
|
2543
|
+
}());
|
|
2544
|
+
|
|
2545
|
+
var BasketballGameApi = /** @class */ (function (_super) {
|
|
2546
|
+
__extends(BasketballGameApi, _super);
|
|
2547
|
+
function BasketballGameApi(httpClient, configService) {
|
|
2548
|
+
var _this = _super.call(this, httpClient, configService) || this;
|
|
2549
|
+
_this.httpClient = httpClient;
|
|
2550
|
+
_this.configService = configService;
|
|
2551
|
+
return _this;
|
|
2552
|
+
}
|
|
2553
|
+
BasketballGameApi.prototype.getById = function (gameId) {
|
|
2554
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2555
|
+
return __generator(this, function (_a) {
|
|
2556
|
+
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_basketball_game/" + gameId + "/").pipe(operators.map(function (result) { return Game.toFront(result); })).toPromise()];
|
|
2530
2557
|
});
|
|
2531
2558
|
});
|
|
2532
2559
|
};
|
|
@@ -2576,7 +2603,7 @@
|
|
|
2576
2603
|
core.Injectable({ providedIn: 'root' })
|
|
2577
2604
|
], BasketballGameApi);
|
|
2578
2605
|
return BasketballGameApi;
|
|
2579
|
-
}());
|
|
2606
|
+
}(GameBaseApi));
|
|
2580
2607
|
|
|
2581
2608
|
var Feedback = /** @class */ (function () {
|
|
2582
2609
|
function Feedback() {
|
|
@@ -3010,6 +3037,16 @@
|
|
|
3010
3037
|
enumerable: true,
|
|
3011
3038
|
configurable: true
|
|
3012
3039
|
});
|
|
3040
|
+
Object.defineProperty(HockeyStatistic.prototype, "gamesWonPercent", {
|
|
3041
|
+
get: function () {
|
|
3042
|
+
if (!this.gamesCount) {
|
|
3043
|
+
return 0;
|
|
3044
|
+
}
|
|
3045
|
+
return Math.floor(1000 * this.wonGamesCount / this.gamesCount) / 10;
|
|
3046
|
+
},
|
|
3047
|
+
enumerable: true,
|
|
3048
|
+
configurable: true
|
|
3049
|
+
});
|
|
3013
3050
|
HockeyStatistic.toFront = function (data) { };
|
|
3014
3051
|
HockeyStatistic.toBack = function (data) { };
|
|
3015
3052
|
__decorate([
|
|
@@ -3030,6 +3067,7 @@
|
|
|
3030
3067
|
win_lose: 'winLose',
|
|
3031
3068
|
games_count: 'gamesCount',
|
|
3032
3069
|
won_games_count: 'wonGamesCount',
|
|
3070
|
+
lose_games_count: 'loseGamesCount',
|
|
3033
3071
|
points: 'points',
|
|
3034
3072
|
pp_shots: 'ppShots',
|
|
3035
3073
|
pp_shot_misses: 'ppShotMisses',
|
|
@@ -3116,10 +3154,13 @@
|
|
|
3116
3154
|
return HockeyGameTeamStatistic;
|
|
3117
3155
|
}(BaseModel));
|
|
3118
3156
|
|
|
3119
|
-
var HockeyGameApi = /** @class */ (function () {
|
|
3157
|
+
var HockeyGameApi = /** @class */ (function (_super) {
|
|
3158
|
+
__extends(HockeyGameApi, _super);
|
|
3120
3159
|
function HockeyGameApi(httpClient, configService) {
|
|
3121
|
-
this
|
|
3122
|
-
|
|
3160
|
+
var _this = _super.call(this, httpClient, configService) || this;
|
|
3161
|
+
_this.httpClient = httpClient;
|
|
3162
|
+
_this.configService = configService;
|
|
3163
|
+
return _this;
|
|
3123
3164
|
}
|
|
3124
3165
|
HockeyGameApi.prototype.getById = function (gameId) {
|
|
3125
3166
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -3128,13 +3169,6 @@
|
|
|
3128
3169
|
});
|
|
3129
3170
|
});
|
|
3130
3171
|
};
|
|
3131
|
-
HockeyGameApi.prototype.getUsers = function (gameId) {
|
|
3132
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
3133
|
-
return __generator(this, function (_a) {
|
|
3134
|
-
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_game/" + gameId + "/users/").pipe(operators.map(function (result) { return GameUser.toFront(result); })).toPromise()];
|
|
3135
|
-
});
|
|
3136
|
-
});
|
|
3137
|
-
};
|
|
3138
3172
|
HockeyGameApi.prototype.getTeamStatistic = function (gameId) {
|
|
3139
3173
|
return __awaiter(this, void 0, void 0, function () {
|
|
3140
3174
|
return __generator(this, function (_a) {
|
|
@@ -3185,7 +3219,7 @@
|
|
|
3185
3219
|
core.Injectable({ providedIn: 'root' })
|
|
3186
3220
|
], HockeyGameApi);
|
|
3187
3221
|
return HockeyGameApi;
|
|
3188
|
-
}());
|
|
3222
|
+
}(GameBaseApi));
|
|
3189
3223
|
|
|
3190
3224
|
|
|
3191
3225
|
(function (FootballGameLogTypes) {
|
|
@@ -3608,10 +3642,13 @@
|
|
|
3608
3642
|
return FootballGameTeamStatistic;
|
|
3609
3643
|
}(BaseModel));
|
|
3610
3644
|
|
|
3611
|
-
var FootballGameApi = /** @class */ (function () {
|
|
3645
|
+
var FootballGameApi = /** @class */ (function (_super) {
|
|
3646
|
+
__extends(FootballGameApi, _super);
|
|
3612
3647
|
function FootballGameApi(httpClient, configService) {
|
|
3613
|
-
this
|
|
3614
|
-
|
|
3648
|
+
var _this = _super.call(this, httpClient, configService) || this;
|
|
3649
|
+
_this.httpClient = httpClient;
|
|
3650
|
+
_this.configService = configService;
|
|
3651
|
+
return _this;
|
|
3615
3652
|
}
|
|
3616
3653
|
FootballGameApi.prototype.getById = function (gameId) {
|
|
3617
3654
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -3620,13 +3657,6 @@
|
|
|
3620
3657
|
});
|
|
3621
3658
|
});
|
|
3622
3659
|
};
|
|
3623
|
-
FootballGameApi.prototype.getUsers = function (gameId) {
|
|
3624
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
3625
|
-
return __generator(this, function (_a) {
|
|
3626
|
-
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_game/" + gameId + "/users/").pipe(operators.map(function (result) { return GameUser.toFront(result); })).toPromise()];
|
|
3627
|
-
});
|
|
3628
|
-
});
|
|
3629
|
-
};
|
|
3630
3660
|
FootballGameApi.prototype.getTeamStatistic = function (gameId) {
|
|
3631
3661
|
return __awaiter(this, void 0, void 0, function () {
|
|
3632
3662
|
return __generator(this, function (_a) {
|
|
@@ -3677,7 +3707,7 @@
|
|
|
3677
3707
|
core.Injectable({ providedIn: 'root' })
|
|
3678
3708
|
], FootballGameApi);
|
|
3679
3709
|
return FootballGameApi;
|
|
3680
|
-
}());
|
|
3710
|
+
}(GameBaseApi));
|
|
3681
3711
|
|
|
3682
3712
|
|
|
3683
3713
|
(function (LeagueNewsType) {
|
|
@@ -7237,10 +7267,13 @@
|
|
|
7237
7267
|
return VolleyballGameLog;
|
|
7238
7268
|
}(BaseModel));
|
|
7239
7269
|
|
|
7240
|
-
var VolleyballGameApi = /** @class */ (function () {
|
|
7270
|
+
var VolleyballGameApi = /** @class */ (function (_super) {
|
|
7271
|
+
__extends(VolleyballGameApi, _super);
|
|
7241
7272
|
function VolleyballGameApi(httpClient, configService) {
|
|
7242
|
-
this
|
|
7243
|
-
|
|
7273
|
+
var _this = _super.call(this, httpClient, configService) || this;
|
|
7274
|
+
_this.httpClient = httpClient;
|
|
7275
|
+
_this.configService = configService;
|
|
7276
|
+
return _this;
|
|
7244
7277
|
}
|
|
7245
7278
|
VolleyballGameApi.prototype.getById = function (gameId) {
|
|
7246
7279
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -7249,13 +7282,6 @@
|
|
|
7249
7282
|
});
|
|
7250
7283
|
});
|
|
7251
7284
|
};
|
|
7252
|
-
VolleyballGameApi.prototype.getUsers = function (gameId) {
|
|
7253
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
7254
|
-
return __generator(this, function (_a) {
|
|
7255
|
-
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_game/" + gameId + "/users/").pipe(operators.map(function (result) { return GameUser.toFront(result); })).toPromise()];
|
|
7256
|
-
});
|
|
7257
|
-
});
|
|
7258
|
-
};
|
|
7259
7285
|
VolleyballGameApi.prototype.getTeamStatistic = function (gameId) {
|
|
7260
7286
|
return __awaiter(this, void 0, void 0, function () {
|
|
7261
7287
|
return __generator(this, function (_a) {
|
|
@@ -7286,7 +7312,7 @@
|
|
|
7286
7312
|
core.Injectable({ providedIn: 'root' })
|
|
7287
7313
|
], VolleyballGameApi);
|
|
7288
7314
|
return VolleyballGameApi;
|
|
7289
|
-
}());
|
|
7315
|
+
}(GameBaseApi));
|
|
7290
7316
|
|
|
7291
7317
|
var _a$1;
|
|
7292
7318
|
var BasketballGameLogTypeLocalization = (_a$1 = {},
|
|
@@ -8073,6 +8099,7 @@
|
|
|
8073
8099
|
exports.validatePhone = validatePhone;
|
|
8074
8100
|
exports.validateUrl = validateUrl;
|
|
8075
8101
|
exports.ɵa = penaltyTypeField;
|
|
8102
|
+
exports.ɵb = GameBaseApi;
|
|
8076
8103
|
|
|
8077
8104
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8078
8105
|
|