api client refactor
This commit is contained in:
13
apps/website/lib/dtos/LeagueStandingsDto.ts
Normal file
13
apps/website/lib/dtos/LeagueStandingsDto.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import type { StandingEntryDto } from './StandingEntryDto';
|
||||
import type { DriverDto } from './DriverDto';
|
||||
import type { LeagueMembership } from './LeagueMembershipDto';
|
||||
|
||||
/**
|
||||
* League standings transport object
|
||||
* Contains the current league standings
|
||||
*/
|
||||
export interface LeagueStandingsDto {
|
||||
standings: StandingEntryDto[];
|
||||
drivers: DriverDto[];
|
||||
memberships: LeagueMembership[];
|
||||
}
|
||||
Reference in New Issue
Block a user