api client refactor
This commit is contained in:
13
apps/website/lib/dtos/RaceListItemDto.ts
Normal file
13
apps/website/lib/dtos/RaceListItemDto.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Race list item data transfer object
|
||||
* Represents a race in list views
|
||||
*/
|
||||
export interface RaceListItemDto {
|
||||
id: string;
|
||||
name: string;
|
||||
leagueId: string;
|
||||
leagueName: string;
|
||||
scheduledTime: string;
|
||||
status: string;
|
||||
trackName?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user