@elsikora/nestjs-crud-automator
Version:
A library for automating the creation of CRUD operations in NestJS.
8 lines (7 loc) • 444 B
TypeScript
import { IDtoAutoContextMetadata } from '../../type/auto-context-metadata.type';
/**
* Retrieves stored DTO auto-context (route method + dto type) for a generated DTO prototype.
* @param {object} target - DTO prototype that may contain context metadata.
* @returns {IDtoAutoContextMetadata | undefined} Stored context metadata if available.
*/
export declare function GetAutoDtoContext(target: object): IDtoAutoContextMetadata | undefined;