UNPKG

@elsikora/nestjs-crud-automator

Version:

A library for automating the creation of CRUD operations in NestJS.

9 lines (8 loc) 449 B
import { EApiRouteType } from '../../../../enum/decorator/api'; /** * 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;