-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use u.gg instead of mobalytics
[IMP] use u.gg instead of mobalytics
- Loading branch information
Showing
2 changed files
with
166 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,71 @@ | ||
export interface SummonerData { | ||
data: Data; | ||
export interface SummonerProfile { | ||
data: SummonerProfileData; | ||
} | ||
|
||
export interface Data { | ||
lol: Lol; | ||
export interface SummonerProfileData { | ||
fetchProfileRanks: FetchProfileRanks; | ||
} | ||
|
||
export interface Lol { | ||
player: Player; | ||
export interface FetchProfileRanks { | ||
rankScores: RankScore[]; | ||
} | ||
|
||
export interface Player { | ||
aId: string; | ||
icon: string; | ||
queuesStats: QueuesStats; | ||
roleStats: RoleStats; | ||
export interface RankScore { | ||
lastUpdatedAt: any; | ||
losses: number; | ||
lp: number; | ||
promoProgress: any; | ||
queueType: string; | ||
rank: string; | ||
role: any; | ||
seasonId: number; | ||
tier: string; | ||
wins: number; | ||
} | ||
|
||
export interface QueuesStats { | ||
items: QueueStat[]; | ||
export interface RecentRoles { | ||
data: Data; | ||
} | ||
|
||
export interface QueueStat { | ||
rank: Rank; | ||
queue: string; | ||
lp: number; | ||
wins: number; | ||
winrate: number; | ||
gamesCount: number; | ||
losses: number; | ||
export interface Data { | ||
recentRoleRates: RecentRoleRates; | ||
} | ||
|
||
export interface Rank { | ||
tier: string; | ||
division: string; | ||
export interface RecentRoleRates { | ||
adc: Adc; | ||
jungle: Jungle; | ||
mid: Mid; | ||
none: None; | ||
supp: Supp; | ||
top: Top; | ||
} | ||
|
||
export interface RoleStats { | ||
filters: Filters; | ||
defaultRole: DefaultRole; | ||
export interface Adc { | ||
gameCount: number; | ||
winCount: number; | ||
} | ||
|
||
export interface Filters { | ||
actual: Actual; | ||
export interface Jungle { | ||
gameCount: number; | ||
winCount: number; | ||
} | ||
|
||
export interface Actual { | ||
queue: string; | ||
rolename: string; | ||
export interface Mid { | ||
gameCount: number; | ||
winCount: number; | ||
} | ||
|
||
export interface DefaultRole { | ||
wins: number; | ||
looses: number; | ||
kda: Kda; | ||
csm: number; | ||
kp: number; | ||
lp: number; | ||
export interface None { | ||
gameCount: number; | ||
winCount: number; | ||
} | ||
|
||
export interface Supp { | ||
gameCount: number; | ||
winCount: number; | ||
} | ||
|
||
export interface Kda { | ||
k: number; | ||
d: number; | ||
a: number; | ||
__typename: string; | ||
export interface Top { | ||
gameCount: number; | ||
winCount: number; | ||
} |