UNPKG

@elsikora/nestjs-crud-automator

Version:

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

15 lines (12 loc) 554 B
import { API_CONTROLLER_IDENTITY_PLAN_METADATA_KEY } from './metadata-key.constant.js'; /** * Stores a compiled generated GET identity plan on controller method metadata. * @param {object} handler - Exact generated handler function. * @param {IApiControllerIdentityPlan} plan - Compiled identity plan. * @returns {void} */ function ApiControllerIdentityPlanSet(handler, plan) { Reflect.defineMetadata(API_CONTROLLER_IDENTITY_PLAN_METADATA_KEY, plan, handler); } export { ApiControllerIdentityPlanSet }; //# sourceMappingURL=set.utility.js.map