n8n
Version:
n8n Workflow Automation Tool
11 lines (10 loc) • 506 B
TypeScript
import type { ICredentialType, ICredentialTypes } from 'n8n-workflow';
import { LoadNodesAndCredentials } from './load-nodes-and-credentials';
export declare class CredentialTypes implements ICredentialTypes {
private loadNodesAndCredentials;
constructor(loadNodesAndCredentials: LoadNodesAndCredentials);
recognizes(type: string): boolean;
getByName(credentialType: string): ICredentialType;
getSupportedNodes(type: string): string[];
getParentTypes(typeName: string): string[];
}