12 lines
413 B
TypeScript
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;
|
|
} |