Files
gridpilot.gg/core/shared/application/UseCase.ts
2025-12-15 13:46:07 +01:00

5 lines
212 B
TypeScript

import type { Presenter } from '../presentation';
export interface UseCase<Input, OutputDTO, ViewModel, P extends Presenter<OutputDTO, ViewModel>> {
execute(input: Input, presenter: P): Promise<void> | void;
}