UNPKG

@elsikora/nestjs-crud-automator

Version:

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

18 lines (14 loc) 526 B
'use strict'; var boolean_decorator = require('../../../../../decorator/api/property/boolean.decorator.js'); class DtoPropertyFactoryBoolean { create(metadata, entity, config, _method, _dtoType, _propertyName) { const { type, ...restProperties } = metadata; return boolean_decorator.ApiPropertyBoolean({ entity, ...config, ...restProperties, }); } } exports.DtoPropertyFactoryBoolean = DtoPropertyFactoryBoolean; //# sourceMappingURL=boolean.class.js.map