UNPKG

mongodb-dynamic-api

Version:

Auto generated CRUD API for MongoDB using NestJS

10 lines (9 loc) 432 B
import { Type } from '@nestjs/common'; import { DynamicApiDecoratorBuilder } from '../../interfaces'; declare class AuthDecoratorsBuilder implements DynamicApiDecoratorBuilder<any> { private readonly isProtected; private readonly AuthPoliciesGuard; constructor(isProtected: boolean | undefined, AuthPoliciesGuard: Type | undefined); build(): (ClassDecorator & MethodDecorator)[]; } export { AuthDecoratorsBuilder };