n8n
Version:
n8n Workflow Automation Tool
11 lines (10 loc) • 508 B
TypeScript
import { UserError } from 'n8n-workflow';
export declare class PackageEntityAccessDeniedError extends UserError {
}
export declare class PackageEntityNotFoundError extends UserError {
}
export declare class PackageExportBlockedError extends UserError {
}
export declare function assertEveryRequestedEntityAccessible(entityType: string, requestedIds: string[], accessibleEntities: ReadonlyArray<{
id: string;
}>, findExistingIdsWithoutAccessCheck: (ids: string[]) => Promise<Set<string>>): Promise<void>;