@elsikora/nestjs-crud-automator
Version:
A library for automating the creation of CRUD operations in NestJS.
16 lines (13 loc) • 552 B
JavaScript
import { MetadataStorage } from '../../class/metadata-storage.class.js';
/**
* Analyzes entity metadata using the MetadataStorage singleton class.
* Currently only retrieves metadata but doesn't perform further operations.
* @param {IApiBaseEntity} entity - The entity to analyze metadata for
* @returns {void}
*/
function analyzeEntityMetadata(entity) {
const storage = MetadataStorage.getInstance();
storage.getMetadata(entity.name ?? "UnknownResource");
}
export { analyzeEntityMetadata };
//# sourceMappingURL=analize.utility.js.map