UNPKG

776 BTypeScriptView Raw
1import { RequestMethod, VersioningOptions } from '@nestjs/common';
2import { ApplicationConfig } from '../application-config';
3import { RoutePathMetadata } from './interfaces/route-path-metadata.interface';
4export declare class RoutePathFactory {
5 private readonly applicationConfig;
6 constructor(applicationConfig: ApplicationConfig);
7 create(metadata: RoutePathMetadata, requestMethod?: RequestMethod): string[];
8 getVersion(metadata: RoutePathMetadata): import("@nestjs/common/interfaces").VersionValue;
9 getVersionPrefix(versioningOptions: VersioningOptions): string;
10 appendToAllIfDefined(paths: string[], fragmentToAppend: string | string[] | undefined): string[];
11 isExcludedFromGlobalPrefix(path: string, requestMethod?: RequestMethod): boolean;
12}