import type { RaceDetailRaceDto } from './RaceDetailRaceDto';
import type { RaceDetailLeagueDto } from './RaceDetailLeagueDto';
import type { RaceDetailEntryDto } from './RaceDetailEntryDto';
import type { RaceDetailRegistrationDto } from './RaceDetailRegistrationDto';
import type { RaceDetailUserResultDto } from './RaceDetailUserResultDto';

/**
 * Race detail data transfer object
 * Complete race details view
 */
export interface RaceDetailDto {
  race: RaceDetailRaceDto | null;
  league: RaceDetailLeagueDto | null;
  entryList: RaceDetailEntryDto[];
  registration: RaceDetailRegistrationDto;
  userResult: RaceDetailUserResultDto | null;
  error?: string;
}