UNPKG

@elsikora/nestjs-crud-automator

Version:

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

16 lines (12 loc) 586 B
'use strict'; var metadataKey_constant = require('./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(metadataKey_constant.API_CONTROLLER_IDENTITY_PLAN_METADATA_KEY, handler); } exports.ApiControllerIdentityPlanGet = ApiControllerIdentityPlanGet; //# sourceMappingURL=get.utility.js.map