UNPKG

mongodb-dynamic-api

Version:

Auto generated CRUD API for MongoDB using NestJS

7 lines (6 loc) 590 B
import { Type } from '@nestjs/common'; import { AuthAbilityPredicate, AuthPoliciesGuardConstructor } from '../../../interfaces'; import { BaseEntity } from '../../../models'; declare function AuthPoliciesGuardMixin<Entity extends BaseEntity>(entity: Type<Entity>, abilityPredicate: AuthAbilityPredicate | undefined): AuthPoliciesGuardConstructor; declare function AuthSocketPoliciesGuardMixin<Entity extends BaseEntity>(entity: Type<Entity>, abilityPredicate: AuthAbilityPredicate | undefined): AuthPoliciesGuardConstructor; export { AuthPoliciesGuardMixin, AuthSocketPoliciesGuardMixin };