import { Result } from '@/lib/contracts/Result'; import { Service, type DomainError } from '@/lib/contracts/services/Service'; import { type StewardingApiDto } from '@/lib/types/tbd/StewardingApiDto'; export class LeagueStewardingService implements Service { async getStewardingData(leagueId: string): Promise> { // Mock data since backend not implemented const mockData: StewardingApiDto = { leagueId, totalPending: 0, totalResolved: 0, totalPenalties: 0, races: [], drivers: [] }; return Result.ok(mockData); } async getProtestDetailViewModel(_: string, __: string): Promise> { return Result.err({ type: 'notImplemented', message: 'getProtestDetailViewModel' }); } }