team rating

This commit is contained in:
2025-12-30 12:25:45 +01:00
parent ccaa39c39c
commit 83371ea839
93 changed files with 10324 additions and 490 deletions

View File

@@ -0,0 +1,15 @@
import { TeamDrivingRaceFactsDto } from '../../domain/services/TeamDrivingRatingEventFactory';
/**
* Port: ITeamRaceResultsProvider
*
* 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 ITeamRaceResultsProvider {
/**
* Get race results for teams
* Returns team race facts needed for rating calculations
*/
getTeamRaceResults(raceId: string): Promise<TeamDrivingRaceFactsDto | null>;
}