update fastestLapDriverId to be nullable

This commit is contained in:
2026-03-01 17:03:39 +01:00
parent e2f86fbcb6
commit f8510c8db3
2 changed files with 4 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ export const leaderboardTrackSchema = z.object({
id: z.string(),
name: z.string().min(1),
results: z.array(z.object({ driverId: z.string(), score: resultValueSchema })),
fastestLapDriverId: z.string()
fastestLapDriverId: z.string().nullable()
});
export type LeaderboardTrack = z.infer<typeof leaderboardTrackSchema>;