Skip to content

Commit

Permalink
refactor(TFTLeague): Update LeagueEntryDTO. Add ratedTier and ratedRa…
Browse files Browse the repository at this point in the history
…ting props. Make nullable some props. (#441)
  • Loading branch information
mikhin authored May 24, 2023
1 parent 9086047 commit b49796d
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/@types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit b49796d

Please sign in to comment.