wip
This commit is contained in:
@@ -1,12 +1,7 @@
|
||||
/**
|
||||
* Domain Service Port: IImageService
|
||||
* Backwards-compat alias for legacy imports.
|
||||
*
|
||||
* Thin abstraction used by racing application use cases to obtain image URLs
|
||||
* for drivers, teams and leagues without depending directly on UI/media layers.
|
||||
* New code should depend on IImageServicePort from
|
||||
* packages/racing/application/ports/IImageServicePort.
|
||||
*/
|
||||
export interface IImageService {
|
||||
getDriverAvatar(driverId: string): string;
|
||||
getTeamLogo(teamId: string): string;
|
||||
getLeagueCover(leagueId: string): string;
|
||||
getLeagueLogo(leagueId: string): string;
|
||||
}
|
||||
export type { IImageServicePort as IImageService } from '../../application/ports/IImageServicePort';
|
||||
Reference in New Issue
Block a user