UNPKG

n8n

Version:

n8n Workflow Automation Tool

12 lines (11 loc) 560 B
import type { ICredentialContext, ICredentialDataDecryptedObject, IWorkflowSettings } from 'n8n-workflow'; export type CredentialStoreMetadata = { id: string; name: string; type: string; resolverId?: string; isResolvable: boolean; }; export interface IDynamicCredentialStorageProvider { storeIfNeeded(credentialStoreMetadata: CredentialStoreMetadata, dynamicData: ICredentialDataDecryptedObject, credentialContext: ICredentialContext, staticData?: ICredentialDataDecryptedObject, workflowSettings?: IWorkflowSettings): Promise<void>; }