view data fixes
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import type { FileProtestCommandDTO } from '../../../types/generated/FileProtestCommandDTO';
|
||||
import type { ImportRaceResultsDTO } from '../../../types/generated/ImportRaceResultsDTO';
|
||||
import type { RaceDetailDTO } from '../../../types/generated/RaceDetailDTO';
|
||||
import type { RaceDetailEntryDTO } from '../../../types/generated/RaceDetailEntryDTO';
|
||||
import type { RaceDetailLeagueDTO } from '../../../types/generated/RaceDetailLeagueDTO';
|
||||
import type { RaceDetailRaceDTO } from '../../../types/generated/RaceDetailRaceDTO';
|
||||
@@ -15,14 +16,6 @@ import { BaseApiClient } from '../base/BaseApiClient';
|
||||
|
||||
// Define missing types
|
||||
export type RacesPageDataDTO = { races: RacesPageDataRaceDTO[] };
|
||||
export type RaceDetailDTO = {
|
||||
race: RaceDetailRaceDTO | null;
|
||||
league: RaceDetailLeagueDTO | null;
|
||||
entryList: RaceDetailEntryDTO[];
|
||||
registration: RaceDetailRegistrationDTO;
|
||||
userResult: RaceDetailUserResultDTO | null;
|
||||
error?: string;
|
||||
};
|
||||
export type ImportRaceResultsSummaryDTO = {
|
||||
success: boolean;
|
||||
raceId: string;
|
||||
|
||||
Reference in New Issue
Block a user