website cleanup

This commit is contained in:
2025-12-24 21:44:58 +01:00
parent 9b683a59d3
commit d78854a4c6
277 changed files with 6141 additions and 2693 deletions

View File

@@ -21,7 +21,12 @@ export class LeagueStandingsPresenter implements Presenter<GetLeagueStandingsRes
joinedAt: standing.driver.joinedAt.toString(),
},
points: standing.points,
rank: standing.rank,
position: standing.rank,
// TODO: GetLeagueStandings currently does not provide these metrics.
// Keep them stable in the API contract for now.
wins: 0,
podiums: 0,
races: 0,
}));
this.result = { standings };
}
@@ -30,4 +35,4 @@ export class LeagueStandingsPresenter implements Presenter<GetLeagueStandingsRes
if (!this.result) throw new Error('Presenter not presented');
return this.result;
}
}
}