website refactor
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Result } from '@core/shared/domain/Result';
|
||||
import type { UseCase } from '@core/shared/application';
|
||||
import type { UseCase } from '@core/shared/application/UseCase';
|
||||
import type { ApplicationErrorCode } from '@core/shared/errors/ApplicationErrorCode';
|
||||
import type { Logger } from '@core/shared/application/Logger';
|
||||
import type { DriverRepository } from '../../domain/repositories/DriverRepository';
|
||||
@@ -26,7 +26,7 @@ export type UpdateDriverProfileErrorCode =
|
||||
export class UpdateDriverProfileUseCase
|
||||
implements UseCase<UpdateDriverProfileInput, void, UpdateDriverProfileErrorCode>
|
||||
{
|
||||
constructor(private readonly driverRepository: IDriverRepository,
|
||||
constructor(private readonly driverRepository: DriverRepository,
|
||||
private readonly logger: Logger) {}
|
||||
|
||||
async execute(
|
||||
|
||||
Reference in New Issue
Block a user