@tsclean/core
Version:
Plugin for API Rest Full development, based on Clean Architecture, IoC and Dependency Injection.
11 lines • 609 B
TypeScript
import { ApplicationConfig } from "../app";
import { RequestMethod } from "../enums";
import { RoutePathMetadataInterface } from "../contracts";
export declare class RoutePathFactory {
private readonly applicationConfig;
constructor(applicationConfig: ApplicationConfig);
create(metadata: RoutePathMetadataInterface, requestMethod?: RequestMethod): string[];
appendToAllIfDefined(paths: string[], fragmentToAppend: string | string[] | undefined): string[];
isExcludedFromGlobalPrefix(path: string, requestMethod?: RequestMethod): boolean;
}
//# sourceMappingURL=route-path-factory.d.ts.map