UNPKG

@elsikora/nestjs-crud-automator

Version:

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

11 lines (10 loc) 430 B
import { IApiBaseEntity } from '../../../api-base-entity.interface'; import { TApiControllerGetListQuery } from '../../../../type/decorator/api/controller'; import { DeepPartial } from 'typeorm'; export interface IApiAuthorizationRequestMetadata<E extends IApiBaseEntity> { body?: DeepPartial<E>; headers?: Record<string, string>; ip?: string; parameters?: Partial<E>; query?: TApiControllerGetListQuery<E>; }