UNPKG

602 BTypeScriptView Raw
1import { RouteInfo, Type } from '@nestjs/common/interfaces';
2import { NestContainer } from '../injector/container';
3export declare class RoutesMapper {
4 private readonly container;
5 private readonly pathsExplorer;
6 constructor(container: NestContainer);
7 mapRouteToRouteInfo(route: Type<any> | RouteInfo | string): RouteInfo[];
8 private getRouteInfoFromPath;
9 private getRouteInfoFromObject;
10 private getRouteInfoFromController;
11 private isRouteInfo;
12 private normalizeGlobalPath;
13 private getRoutePath;
14 private getHostModuleOfController;
15 private getModulePath;
16}