UNPKG

@elsikora/nestjs-crud-automator

Version:

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

18 lines (14 loc) 518 B
'use strict'; var string_decorator = require('../../../../../decorator/api/property/string.decorator.js'); class DtoPropertyFactoryString { create(metadata, entity, config, _method, _dtoType, _propertyName) { const { type, ...restProperties } = metadata; return string_decorator.ApiPropertyString({ entity, ...config, ...restProperties, }); } } exports.DtoPropertyFactoryString = DtoPropertyFactoryString; //# sourceMappingURL=string.class.js.map