UNPKG

@elsikora/nestjs-crud-automator

Version:

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

14 lines (10 loc) 457 B
'use strict'; var uuid_decorator = require('../../../../../decorator/api/property/uuid.decorator.js'); class DtoPropertyFactoryUuid { create(metadata, entity, config, _method, _dtoType, _propertyName) { const { type, ...restProperties } = metadata; return uuid_decorator.ApiPropertyUUID({ entity, ...config, ...restProperties }); } } exports.DtoPropertyFactoryUuid = DtoPropertyFactoryUuid; //# sourceMappingURL=uuid.class.js.map