.
This commit is contained in:
1 parent
c82bf55fe9
commit
6d62de4ec4
3 files changed
+16
-10
No files matched your search
@@ -58,8 +58,7 @@ export interface MatchDetailView {
|
||||
|
||||
export interface AuctionPlayerView extends ParticipantView {
|
||||
masteries: {
|
||||
championName: string;
|
||||
championId: string;
|
||||
championId: number;
|
||||
level: number;
|
||||
points: number;
|
||||
}[];
|
||||
@@ -175,10 +174,9 @@ function mapAuctionPlayerToView(
|
||||
subPosition,
|
||||
profileIconId: player.profileIconId,
|
||||
masteries: player.masteries.slice(0, 3).map((mastery) => ({
|
||||
championName: mastery.championName ?? mastery.championId,
|
||||
championId: mastery.championId,
|
||||
level: mastery.level,
|
||||
points: mastery.points,
|
||||
level: mastery.championLevel,
|
||||
points: mastery.championPoints,
|
||||
})),
|
||||
recentStats: {
|
||||
games: player.recentStatsSummary?.games ?? 0,
|
||||
|
||||
@@ -29,10 +29,18 @@ export interface ApiTierInfo {
|
||||
}
|
||||
|
||||
export interface ApiChampionMasteryEntry {
|
||||
championId: string;
|
||||
championName?: string;
|
||||
level: number;
|
||||
points: number;
|
||||
puuid?: string;
|
||||
championId: number;
|
||||
championLevel: number;
|
||||
championPoints: number;
|
||||
lastPlayTime?: number;
|
||||
championPointsSinceLastLevel?: number;
|
||||
championPointsUntilNextLevel?: number;
|
||||
markRequiredForNextLevel?: number;
|
||||
tokensEarned?: number;
|
||||
championSeasonMilestone?: number;
|
||||
milestoneGrades?: string[];
|
||||
nextSeasonMilestone?: Record<string, unknown>;
|
||||
}
|
||||
|
||||
export interface ApiRiotRecentStatsSummary {
|
||||
|
||||
Reference in new issue
Block a user