14 lines
346 B
TypeScript
14 lines
346 B
TypeScript
export interface DriverRegistrationStatusViewModel {
|
|
isRegistered: boolean;
|
|
raceId: string;
|
|
driverId: string;
|
|
}
|
|
|
|
export interface IDriverRegistrationStatusPresenter {
|
|
present(
|
|
isRegistered: boolean,
|
|
raceId: string,
|
|
driverId: string
|
|
): DriverRegistrationStatusViewModel;
|
|
getViewModel(): DriverRegistrationStatusViewModel;
|
|
} |