UNPKG

@tsclean/core

Version:

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

24 lines 1.26 kB
import { Injector, InstanceWrapper, ContainerIoC } from "../core"; import { ApplicationConfig } from "../app"; import { HttpServer, ResolverInterface } from "../contracts"; import { ControllerType } from "../types"; import { GraphInspector } from "../inspector"; export declare class RoutesResolver implements ResolverInterface { private readonly container; private readonly applicationConfig; private readonly injector; private readonly logger; private readonly routerProxy; private readonly routePathFactory; private readonly routerExceptionsFilter; private readonly routerExplorer; constructor(container: ContainerIoC, applicationConfig: ApplicationConfig, injector: Injector, graphInspector: GraphInspector); resolve<T extends HttpServer>(applicationRef: T, globalPrefix: string): void; registerRouters(routes: Map<string | symbol | Function, InstanceWrapper<ControllerType>>, moduleName: string, globalPrefix: string, modulePath: string, applicationRef: HttpServer): void; registerNotFoundHandler(): void; registerExceptionHandler(): void; mapExternalException(err: any): any; private getModulePathMetadata; private static getHostMetadata; } //# sourceMappingURL=routes-resolver.d.ts.map