UNPKG

@elsikora/nestjs-crud-automator

Version:

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

9 lines (8 loc) 759 B
import { EApiDtoType, EApiRouteType } from '../../../../../enum/decorator/api'; import { IDtoGenerateFactory } from '../../../../../interface/dto-generate-factory.interface'; import { IApiEntity } from '../../../../../interface/entity'; import { Type } from '@nestjs/common'; import { TApiPropertyDescribeDtoProperties, TApiPropertyDescribeObjectProperties } from '../../../../../type/decorator/api/property'; export declare class DtoPropertyFactoryObject<E> implements IDtoGenerateFactory<E> { create(metadata: TApiPropertyDescribeObjectProperties, entity: IApiEntity<E>, config: TApiPropertyDescribeDtoProperties, _method: EApiRouteType, _dtoType: EApiDtoType, _propertyName: string, generatedDTOs?: Record<string, Type<unknown>>): PropertyDecorator; }