Files
gridpilot.gg/packages/shared/application/UseCase.ts
2025-12-11 21:06:25 +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;
}