rename to core
This commit is contained in:
5
core/shared/application/UseCase.ts
Normal file
5
core/shared/application/UseCase.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import type { Presenter } from '../presentation';
|
||||
|
||||
export interface UseCase<Input, OutputDTO, ViewModel, P extends Presenter<OutputDTO, ViewModel>> {
|
||||
execute(input: Input, presenter: P): Promise<void> | void;
|
||||
}
|
||||
Reference in New Issue
Block a user