refactor driver module (wip)

This commit is contained in:
2025-12-22 01:43:34 +01:00
parent b445d6dd37
commit e7dbec4a85
31 changed files with 379 additions and 395 deletions

View File

@@ -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 {