recoder-code
Version:
🚀 AI-powered development platform - Chat with 32+ models, build projects, automate workflows. Free models included!
16 lines (15 loc) • 639 B
TypeScript
import { RouteInfo } from '@nestjs/common/interfaces';
import { ApplicationConfig } from '../application-config';
export declare class RouteInfoPathExtractor {
private readonly applicationConfig;
private readonly routePathFactory;
private readonly prefixPath;
private readonly excludedGlobalPrefixRoutes;
private readonly versioningConfig?;
constructor(applicationConfig: ApplicationConfig);
extractPathsFrom({ path, method, version }: RouteInfo): string[];
extractPathFrom(route: RouteInfo): string[];
private isAWildcard;
private extractNonWildcardPathsFrom;
private extractVersionPathFrom;
}