UNPKG

@n8n-plus/n8n-plus

Version:

n8n Workflow Automation Tool (plus edition)

24 lines (23 loc) 1.07 kB
import type { CommunityNodeType } from '@n8n/api-types'; import { Logger } from '@n8n/backend-common'; import { StrapiCommunityNodeType } from './community-node-types-utils'; import { CommunityPackagesConfig } from './community-packages.config'; import { CommunityPackagesService } from './community-packages.service'; export declare class CommunityNodeTypesService { private readonly logger; private config; private communityPackagesService; private communityNodeTypes; private lastUpdateTimestamp; constructor(logger: Logger, config: CommunityPackagesConfig, communityPackagesService: CommunityPackagesService); private fetchNodeTypes; private detectEnvironment; private updateCommunityNodeTypes; private resetCommunityNodeTypes; private updateRequired; private setTimestampForRetry; private createIsInstalled; getCommunityNodeTypes(): Promise<CommunityNodeType[]>; getCommunityNodeType(type: string): Promise<CommunityNodeType | null>; findVetted(packageName: string): StrapiCommunityNodeType | undefined; }