UNPKG

@nestjsx/crud

Version:

NestJs CRUD for RESTful APIs

12 lines (11 loc) 378 B
import { SCondition } from '@nestjsx/crud-request/lib/types/request-query.types'; import { ObjectLiteral } from '@nestjsx/util'; export interface AuthGlobalOptions { property?: string; } export interface AuthOptions { property?: string; filter?: (req: any) => SCondition | void; or?: (req: any) => SCondition | void; persist?: (req: any) => ObjectLiteral; }