@elsikora/nestjs-crud-automator
Version:
A library for automating the creation of CRUD operations in NestJS.
8 lines (7 loc) • 714 B
TypeScript
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 { TApiPropertyDescribeBooleanProperties, TApiPropertyDescribeDtoProperties } from '../../../../../type/decorator/api/property/index';
export declare class DtoPropertyFactoryBoolean<E> implements IDtoGenerateFactory<E> {
create(metadata: TApiPropertyDescribeBooleanProperties, entity: IApiEntity<E>, config: TApiPropertyDescribeDtoProperties, _method: EApiRouteType, _dtoType: EApiDtoType, _propertyName: string): PropertyDecorator;
}