n8n
Version:
n8n Workflow Automation Tool
7 lines (6 loc) • 350 B
TypeScript
import type { EntityManager } from '@n8n/typeorm';
export interface ICredentialConnectionStatusProvider {
findConnectedCredentialIds(userId: string, credentialIds: string[]): Promise<Set<string>>;
countConnectedUsers(credentialId: string): Promise<number>;
deleteAllUserEntries(credentialId: string, em?: EntityManager): Promise<void>;
}