n8n
Version:
n8n Workflow Automation Tool
6 lines (5 loc) • 494 B
TypeScript
export interface ICredentialEntriesStorage {
getCredentialData(credentialId: string, subjectId: string, resolverId: string, storageOptions: Record<string, unknown>): Promise<string | null>;
setCredentialData(credentialId: string, subjectId: string, resolverId: string, data: string, storageOptions: Record<string, unknown>): Promise<void>;
deleteCredentialData?(credentialId: string, subjectId: string, resolverId: string, storageOptions: Record<string, unknown>): Promise<void>;
}