refactor driver module (wip)
This commit is contained in:
@@ -37,6 +37,10 @@ export class GetLeagueProtestsUseCase {
|
||||
private readonly output: UseCaseOutputPort<GetLeagueProtestsResult>,
|
||||
) {}
|
||||
|
||||
get outputPort(): UseCaseOutputPort<GetLeagueProtestsResult> {
|
||||
return this.output;
|
||||
}
|
||||
|
||||
async execute(
|
||||
input: GetLeagueProtestsInput,
|
||||
): Promise<Result<void, ApplicationErrorCode<GetLeagueProtestsErrorCode, { message: string }>>> {
|
||||
|
||||
Reference in New Issue
Block a user