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