api client refactor
This commit is contained in:
12
apps/website/lib/dtos/RaceDetailEntryDto.ts
Normal file
12
apps/website/lib/dtos/RaceDetailEntryDto.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Race detail entry data transfer object
|
||||
* Represents an entry in race details
|
||||
*/
|
||||
export interface RaceDetailEntryDto {
|
||||
id: string;
|
||||
name: string;
|
||||
country: string;
|
||||
avatarUrl: string;
|
||||
rating: number | null;
|
||||
isCurrentUser: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user