refactor
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
export interface Presenter<InputDTO, ViewModel> {
|
||||
// This must not be used within core. It's in presentation layer, e.g. to be used in an API.
|
||||
export interface Presenter<InputDTO, ResponseModel> {
|
||||
present(input: InputDTO): void;
|
||||
getViewModel(): ViewModel | null;
|
||||
getResponseModel(): ResponseModel | null;
|
||||
reset(): void;
|
||||
}
|
||||
Reference in New Issue
Block a user