import type { RaceResultDto } from './RaceResultDto';

/**
 * Race results detail data transfer object
 * Detailed results for a race
 */
export interface RaceResultsDetailDto {
  raceId: string;
  track: string;
  results: RaceResultDto[];
  league?: { id: string; name: string };
  race?: { id: string; track: string; scheduledAt: string };
  drivers: { id: string; name: string }[];
  pointsSystem: Record<number, number>;
  fastestLapTime: number;
  penalties: { driverId: string; type: string; value?: number }[];
  currentDriverId: string;
}