fix issues in core
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
export interface AllRacesPageOutputPort {
|
||||
races: Array<{
|
||||
id: string;
|
||||
name: string;
|
||||
leagueId: string;
|
||||
leagueName: string;
|
||||
scheduledTime: Date;
|
||||
trackId: string;
|
||||
status: string;
|
||||
participants: number;
|
||||
}>;
|
||||
total: number;
|
||||
page: number;
|
||||
limit: number;
|
||||
}
|
||||
|
||||
// TODO this code must be resolved into a Result within UseCase, thats not an OutputPort
|
||||
@@ -1,14 +0,0 @@
|
||||
export interface ChampionshipStandingsOutputPort {
|
||||
leagueId: string;
|
||||
seasonId: string;
|
||||
standings: Array<{
|
||||
driverId: string;
|
||||
position: number;
|
||||
points: number;
|
||||
driverName: string;
|
||||
teamId?: string;
|
||||
teamName?: string;
|
||||
}>;
|
||||
}
|
||||
|
||||
// TODO this code must be resolved into a Result within UseCase, thats not an OutputPort
|
||||
@@ -1,10 +0,0 @@
|
||||
export interface ChampionshipStandingsRowOutputPort {
|
||||
driverId: string;
|
||||
position: number;
|
||||
points: number;
|
||||
driverName: string;
|
||||
teamId?: string;
|
||||
teamName?: string;
|
||||
}
|
||||
|
||||
// TODO this code must be resolved into a Result within UseCase, thats not an OutputPort
|
||||
@@ -1,9 +0,0 @@
|
||||
export interface DriverRegistrationStatusOutputPort {
|
||||
driverId: string;
|
||||
raceId: string;
|
||||
leagueId: string;
|
||||
registered: boolean;
|
||||
status: 'registered' | 'withdrawn' | 'pending' | 'not_registered';
|
||||
}
|
||||
|
||||
// TODO this code must be resolved into a Result within UseCase, thats not an OutputPort
|
||||
Reference in New Issue
Block a user