UNPKG

@elsikora/nestjs-crud-automator

Version:

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

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