@n8n-plus/n8n-plus
Version:
n8n Workflow Automation Tool (plus edition)
10 lines (9 loc) • 820 B
TypeScript
import { ICredentialEntriesStorage } from './storage-interface';
import { DynamicCredentialEntryRepository } from '../../database/repositories/dynamic-credential-entry.repository';
export declare class DynamicCredentialEntryStorage implements ICredentialEntriesStorage {
private readonly dynamicCredentialEntryRepository;
constructor(dynamicCredentialEntryRepository: DynamicCredentialEntryRepository);
getCredentialData(credentialId: string, subjectId: string, resolverId: string, _: Record<string, unknown>): Promise<string | null>;
setCredentialData(credentialId: string, subjectId: string, resolverId: string, data: string, _: Record<string, unknown>): Promise<void>;
deleteCredentialData(credentialId: string, subjectId: string, resolverId: string, _: Record<string, unknown>): Promise<void>;
}