Files
gridpilot.gg/core/racing/application/ports/TeamRaceResultsProvider.ts
2026-01-16 16:46:57 +01:00

15 lines
502 B
TypeScript

import { TeamDrivingRaceFactsDto } from '../../domain/services/TeamDrivingRatingEventFactory';
/**
* Port: TeamRaceResultsProvider
*
* Provides race results for teams from the racing context.
* This is a port that adapts the racing domain data to the rating system.
*/
export interface TeamRaceResultsProvider {
/**
* Get race results for teams
* Returns team race facts needed for rating calculations
*/
getTeamRaceResults(raceId: string): Promise<TeamDrivingRaceFactsDto | null>;
}