Lib: Add ScrapedDriverStanding + ScrapedTeamStanding to schema

This commit is contained in:
2025-03-25 19:29:48 +01:00
parent 36b4aea1c2
commit 2fa2d7006b

View File

@ -150,9 +150,23 @@ export interface RacePickPointsAcc {
export interface ScrapedRaceResult {
id: string;
race_step: number;
driver_code: string;
race_step: number; // This maps to races
driver_code: string; // This maps to drivers
position: number;
status: string; // Either contains time to leader or DNF/DSQ...
points: number;
}
export interface ScrapedDriverStanding {
id: string;
driver_code: string; // This maps to drivers
position: number;
points: number;
}
export interface ScrapedTeamStanding {
id: string;
team_fullname: string; // TODO: This does NOT map to teams! Add fullname to team data!
position: number;
points: number;
}