From b49796dab284f483975babcaf80ffae4f944ed4f Mon Sep 17 00:00:00 2001 From: Yuri Mikhin <38258318+mikhin@users.noreply.github.com> Date: Wed, 24 May 2023 12:05:23 +0300 Subject: [PATCH] refactor(TFTLeague): Update LeagueEntryDTO. Add ratedTier and ratedRating props. Make nullable some props. (#441) --- src/@types/index.ts | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/@types/index.ts b/src/@types/index.ts index bde100c..79e7d43 100644 --- a/src/@types/index.ts +++ b/src/@types/index.ts @@ -1382,22 +1382,24 @@ export namespace RiotAPITypes { } export interface LeagueEntryDTO { - leagueId: string; + leagueId?: string; /** Player's encrypted summonerId. */ summonerId: string; summonerName: string; queueType: string; - tier: string; - rank: string; - leaguePoints: number; + ratedTier?: RatedTier; + ratedRating?: number; + tier?: string; + rank?: string; + leaguePoints?: number; /** First placement. */ wins: number; /** Second through eighth placement. */ losses: number; - hotStreak: boolean; - veteran: boolean; - freshBlood: boolean; - inactive: boolean; + hotStreak?: boolean; + veteran?: boolean; + freshBlood?: boolean; + inactive?: boolean; miniSeries?: TftLeague.MiniSeriesDTO | null; }