@elsikora/nestjs-crud-automator
Version:
A library for automating the creation of CRUD operations in NestJS.
18 lines (14 loc) • 615 B
JavaScript
;
var metadataStorage_class = require('../../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_class.MetadataStorage.getInstance();
storage.getMetadata(entity.name ?? "UnknownResource");
}
exports.analyzeEntityMetadata = analyzeEntityMetadata;
//# sourceMappingURL=analize.utility.js.map