Files
gridpilot.gg/apps/website/lib/services/races/RaceStewardingService.ts
2026-01-14 02:02:24 +01:00

13 lines
463 B
TypeScript

/**
* 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: [] };
}
}