refactor api modules
This commit is contained in:
@@ -11,13 +11,14 @@ import { Result } from '@core/shared/application/Result';
|
||||
import type { ApplicationErrorCode } from '@core/shared/errors/ApplicationErrorCode';
|
||||
import type { UseCaseOutputPort } from '@core/shared/application';
|
||||
import type { Driver } from '../../domain/entities/Driver';
|
||||
import type { Penalty } from '../../domain/entities/penalty/Penalty';
|
||||
|
||||
export type GetRacePenaltiesInput = {
|
||||
raceId: string;
|
||||
};
|
||||
|
||||
export type GetRacePenaltiesResult = {
|
||||
penalties: unknown[];
|
||||
penalties: Penalty[];
|
||||
drivers: Driver[];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user