UNPKG

@elsikora/nestjs-crud-automator

Version:

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

14 lines (13 loc) 731 B
import { EApiControllerGetListQueryPaginationMode } from '../../../../../../enum/decorator/api'; import { IApiBaseEntity } from '../../../../../api-base-entity.interface'; import { IApiAuthenticationRequest } from '../../../../../api/authentication-request.interface'; import { TApiControllerGetListQuery } from '../../../../../../type/decorator/api/controller'; import { DeepPartial } from 'typeorm'; export interface IApiRouteRuntimeGeneratedTargets<E extends IApiBaseEntity> { authenticationRequest?: IApiAuthenticationRequest; body?: DeepPartial<E>; headers: Record<string, string>; ip: string; parameters?: Partial<E>; query?: TApiControllerGetListQuery<E, EApiControllerGetListQueryPaginationMode>; }