n8n
Version:
n8n Workflow Automation Tool
11 lines (10 loc) • 557 B
TypeScript
import type { LicenseState } from '@n8n/backend-common';
import type { TagImportPlan } from '../entities/tag/tag.types';
export declare function assertPackageImportApiKeyScopes(apiKeyScopes: string[] | undefined, required: string[]): void;
export declare function assertVariableWritesAllowed(options: {
licenseState: LicenseState;
apiKeyScopes: string[] | undefined;
hasCreations: boolean;
hasOverwrites: boolean;
}): void;
export declare function assertTagWritesAllowed(apiKeyScopes: string[] | undefined, tagPlans: TagImportPlan[]): void;