@elsikora/nestjs-crud-automator
Version:
A library for automating the creation of CRUD operations in NestJS.
13 lines (12 loc) • 592 B
TypeScript
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>;
}