UNPKG

@elsikora/nestjs-crud-automator

Version:

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

14 lines (11 loc) 544 B
import { API_CONTROLLER_IDENTITY_PLAN_METADATA_KEY } from './metadata-key.constant.js'; /** * Reads a generated GET identity plan from controller method metadata. * @param {object} handler - Exact generated handler function. * @returns {IApiControllerIdentityPlan | undefined} Stored identity plan, when configured. */ function ApiControllerIdentityPlanGet(handler) { return Reflect.getOwnMetadata(API_CONTROLLER_IDENTITY_PLAN_METADATA_KEY, handler); } export { ApiControllerIdentityPlanGet }; //# sourceMappingURL=get.utility.js.map