@elsikora/nestjs-crud-automator
Version:
A library for automating the creation of CRUD operations in NestJS.
9 lines (8 loc) • 457 B
TypeScript
import type { EApiRouteType } from '../../../enum/decorator/api/index';
/**
* Generates a standardized method name for controller methods based on the API route type.
* Prefixes the method name with a reserved prefix defined in constants.
* @param {EApiRouteType} method - The API route type (CREATE, DELETE, GET, etc.)
* @returns {string} The generated method name
*/
export declare function ApiControllerGetMethodName(method: EApiRouteType): string;