UNPKG

@elsikora/nestjs-crud-automator

Version:

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

12 lines (11 loc) 638 B
import { IApiAuthorizationPrincipal, IApiPolicyAttachmentSource, IApiResolvedPolicyAttachments } from '../../../../../interface/class/api/authorization'; import { ApiAuthorizationIamAttachmentCache } from './cache.class'; export declare class ApiAuthorizationIamAttachmentResolver { private readonly cache; private readonly sources; constructor(cache: ApiAuthorizationIamAttachmentCache, sources?: ReadonlyArray<IApiPolicyAttachmentSource>); clear(): void; resolve(principal: IApiAuthorizationPrincipal): Promise<IApiResolvedPolicyAttachments>; private createAttachmentKey; private normalizeAttachmentValue; }