Skip to content

Commit

Permalink
re-order types
Browse files Browse the repository at this point in the history
  • Loading branch information
fitztrev committed May 25, 2024
1 parent c914c60 commit 02978fb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/types/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ export type TrophyCacheFile = {
trophies: PlayerTrophiesByType
}

export type PlayerTrophiesByType = {
[key: string]: TrophyForGame
}

export type TrophyForGame = {
[key: string]: {
date: string
Expand All @@ -23,8 +27,4 @@ export type TrophyForGame = {
}
}

export type PlayerTrophiesByType = {
[key: string]: TrophyForGame
}

export type ReportSource = 'lichess' | 'chesscom'

0 comments on commit 02978fb

Please sign in to comment.