UNPKG

hex-architect

Version:

A collection of components for creating hexagonal architecture with ports and adapters which allows for clean separation of the application and domain layers from the execution environment.

7 lines (6 loc) 263 B
import { Message } from '../../core'; import { JSONValidationFactory } from '../../factories'; export declare abstract class JSONInPort<I, T extends Message> extends JSONValidationFactory<I, T> { inject(input: string): T; abstract map(obj: I): T; }