Files
gridpilot.gg/packages/racing/application/ports/IImageServicePort.ts
2025-12-11 13:50:38 +01:00

12 lines
404 B
TypeScript

/**
* Application Port: IImageServicePort
*
* Abstraction used by racing application use cases to obtain image URLs
* for drivers, teams and leagues without depending on UI/media layers.
*/
export interface IImageServicePort {
getDriverAvatar(driverId: string): string;
getTeamLogo(teamId: string): string;
getLeagueCover(leagueId: string): string;
getLeagueLogo(leagueId: string): string;
}