Matchups: implemented matchups
All checks were successful
pipeline / lint-and-format (push) Successful in 4m36s
pipeline / build-and-push-images (push) Successful in 1m50s

This commit is contained in:
2026-01-25 00:22:40 +01:00
parent 7a34c16087
commit 8f8fc0f1af
9 changed files with 761 additions and 71 deletions

View File

@@ -31,6 +31,17 @@ declare global {
pickrate: number
}
/**
* Represents counter data for a champion
*/
interface MatchupData {
championId: number
winrate: number
games: number
championName: string
championAlias: string
}
/**
* Represents lane-specific champion data
*/
@@ -43,6 +54,7 @@ declare global {
pickrate: number
runes?: Rune[]
builds?: Builds
matchups?: MatchupData[]
}
/**