Files
gridpilot.gg/packages/racing/domain/services/IImageService.ts
2025-12-11 00:57:32 +01:00

12 lines
413 B
TypeScript

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