UNPKG

@tsclean/core

Version:

Plugin for API Rest Full development, based on Clean Architecture, IoC and Dependency Injection.

20 lines 493 B
import { RequestMethod } from "../../enums"; export type HttpEntrypointMetadata = { path: string; requestMethod: keyof typeof RequestMethod; }; export type MiddlewareEntrypointMetadata = { path: string; requestMethod: keyof typeof RequestMethod; }; export type Entrypoint<T> = { id?: string; type: string; methodName: string; className: string; classNodeId: string; metadata: { key: string; } & T; }; //# sourceMappingURL=entrypoint.d.ts.map