UNPKG

recoder-code

Version:

🚀 AI-powered development platform - Chat with 32+ models, build projects, automate workflows. Free models included!

15 lines (14 loc) • 926 B
import { RequestMethod, VersioningOptions } from '@nestjs/common'; import { VersionValue } from '@nestjs/common/interfaces'; import { ApplicationConfig } from '../application-config'; import { RoutePathMetadata } from './interfaces/route-path-metadata.interface'; export declare class RoutePathFactory { private readonly applicationConfig; constructor(applicationConfig: ApplicationConfig); create(metadata: RoutePathMetadata, requestMethod?: RequestMethod): string[]; getVersion(metadata: RoutePathMetadata): VersionValue | undefined; getVersionPrefix(versioningOptions: VersioningOptions): string; appendToAllIfDefined(paths: string[], fragmentToAppend: string | string[] | undefined): string[]; isExcludedFromGlobalPrefix(path: string, requestMethod?: RequestMethod, versionOrVersions?: VersionValue, versioningOptions?: VersioningOptions): boolean; private truncateVersionPrefixFromPath; }