@mtgame/core 0.1.22 → 0.1.23

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.
@@ -8050,6 +8050,10 @@ var PublicUserApi = /** @class */ (function () {
8050
8050
  var params = new HttpParams().set('season_id', seasonId.toString());
8051
8051
  return this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/public_user/" + userId + "/tournament_user/", { params: params }).pipe(map(function (result) { return TournamentTeamUser.toFront(result); })).toPromise();
8052
8052
  };
8053
+ PublicUserApi.prototype.getLeaguePlayer = function (userId, leagueId) {
8054
+ var params = new HttpParams().set('league_id', leagueId.toString());
8055
+ return this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/public_user/" + userId + "/league_player/", { params: params }).pipe(map(function (result) { return LeaguePlayer.toFront(result); })).toPromise();
8056
+ };
8053
8057
  PublicUserApi.ctorParameters = function () { return [
8054
8058
  { type: HttpClient },
8055
8059
  { type: ConfigService }