refactor driver module (wip)
This commit is contained in:
@@ -2,11 +2,8 @@ import { DriverStatsDTO } from '../dtos/DriverStatsDTO';
|
||||
import type {
|
||||
GetTotalDriversResult,
|
||||
} from '@core/racing/application/use-cases/GetTotalDriversUseCase';
|
||||
import type { UseCaseOutputPort } from '@core/shared/application/UseCaseOutputPort';
|
||||
|
||||
export class DriverStatsPresenter
|
||||
implements UseCaseOutputPort<GetTotalDriversResult>
|
||||
{
|
||||
export class DriverStatsPresenter {
|
||||
private responseModel: DriverStatsDTO | null = null;
|
||||
|
||||
present(result: GetTotalDriversResult): void {
|
||||
|
||||
Reference in New Issue
Block a user