UNPKG

@elsikora/nestjs-crud-automator

Version:

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

6 lines (5 loc) 245 B
import { IApiBaseEntity } from '../../../api-base-entity.interface'; import { FindOptionsWhere } from 'typeorm'; export interface IApiAuthorizationScope<E extends IApiBaseEntity> { where?: Array<FindOptionsWhere<E>> | FindOptionsWhere<E>; }