UNPKG

mongodb-dynamic-api

Version:

Auto generated CRUD API for MongoDB using NestJS

12 lines (11 loc) 596 B
import { ExecutionContext } from '@nestjs/common'; import { Reflector } from '@nestjs/core'; import { DynamicApiGlobalState } from '../interfaces'; declare const DynamicApiJwtAuthGuard_base: import("@nestjs/passport").Type<import("@nestjs/passport").IAuthGuard>; export declare class DynamicApiJwtAuthGuard extends DynamicApiJwtAuthGuard_base { private readonly reflector; private readonly state; constructor(reflector: Reflector, state: DynamicApiGlobalState); canActivate(context: ExecutionContext): boolean | Promise<boolean> | import("rxjs").Observable<boolean>; } export {};