fix issues in core

This commit is contained in:
2025-12-23 16:16:12 +01:00
parent 120d3bb1a1
commit d04a21fe02
40 changed files with 280 additions and 841 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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