Files
gridpilot.gg/core/shared/application/UseCaseOutputPort.ts
2025-12-21 19:53:22 +01:00

11 lines
317 B
TypeScript

/**
* Output Port interface for use cases.
*
* Defines how the core communicates outward. A behavioral boundary that allows
* the use case to present results without knowing the presentation details.
*
* @template T - The result model type
*/
export interface UseCaseOutputPort<T> {
present(data: T): void;
}