UNPKG

@elsikora/nestjs-crud-automator

Version:

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

9 lines (8 loc) 802 B
import type { EApiDtoType, EApiRouteType } from '../../../../../enum/decorator/api/index'; import type { IDtoGenerateFactory } from '../../../../../interface/dto-generate-factory.interface'; import type { IApiEntity } from '../../../../../interface/entity/index'; import type { Type } from "@nestjs/common"; import type { TApiPropertyDescribeDtoProperties, TApiPropertyDescribeObjectProperties } from '../../../../../type/decorator/api/property/index'; 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; }