17 lines
528 B
TypeScript
17 lines
528 B
TypeScript
import type { Presenter } from '@core/shared/presentation/Presenter';
|
|
|
|
export interface LeagueOwnerSummaryViewModel {
|
|
driver: { id: string; name: string };
|
|
rating: number;
|
|
rank: number;
|
|
}
|
|
|
|
export interface GetLeagueOwnerSummaryViewModel {
|
|
summary: LeagueOwnerSummaryViewModel | null;
|
|
}
|
|
|
|
export interface GetLeagueOwnerSummaryResultDTO {
|
|
summary: LeagueOwnerSummaryViewModel | null;
|
|
}
|
|
|
|
export interface IGetLeagueOwnerSummaryPresenter extends Presenter<GetLeagueOwnerSummaryResultDTO, GetLeagueOwnerSummaryViewModel> {} |