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