@elsikora/nestjs-crud-automator
Version:
A library for automating the creation of CRUD operations in NestJS.
18 lines (14 loc) • 502 B
JavaScript
;
var date_decorator = require('../../../../../decorator/api/property/date.decorator.js');
class DtoPropertyFactoryDate {
create(metadata, entity, config, _method, _dtoType, _propertyName) {
const { type, ...restProperties } = metadata;
return date_decorator.ApiPropertyDate({
entity,
...config,
...restProperties,
});
}
}
exports.DtoPropertyFactoryDate = DtoPropertyFactoryDate;
//# sourceMappingURL=date.class.js.map