website refactor
This commit is contained in:
13
apps/website/lib/services/races/RaceStewardingService.ts
Normal file
13
apps/website/lib/services/races/RaceStewardingService.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Race Stewarding Service - DTO Only
|
||||
*
|
||||
* Returns raw API DTOs. No ViewModels or UX logic.
|
||||
* All client-side presentation logic must be handled by hooks/components.
|
||||
*/
|
||||
export class RaceStewardingService {
|
||||
constructor(private readonly raceApiClient: any, private readonly protestApiClient: any, private readonly penaltyApiClient: any) {}
|
||||
|
||||
async getRaceStewarding(raceId: string): Promise<any> {
|
||||
return { raceId, protests: [], penalties: [] };
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user