UNPKG

@elsikora/nestjs-crud-automator

Version:

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

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