UNPKG

@elsikora/nestjs-crud-automator

Version:

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

8 lines (7 loc) 668 B
import { EApiRouteType, EApiDtoType } from '../../../../../enum/decorator/api'; import { IDtoGenerateFactory } from '../../../../../interface/dto-generate-factory.interface'; import { IApiEntity } from '../../../../../interface/entity'; import { TApiPropertyDescribeDtoProperties, TApiPropertyDescribeUuidProperties } from '../../../../../type/decorator/api/property'; export declare class DtoPropertyFactoryRelation<E> implements IDtoGenerateFactory<E> { create(metadata: TApiPropertyDescribeUuidProperties, entity: IApiEntity<E>, config: TApiPropertyDescribeDtoProperties, method: EApiRouteType, dtoType: EApiDtoType, propertyName: string): PropertyDecorator; }