n8n
Version:
n8n Workflow Automation Tool
13 lines (12 loc) • 634 B
TypeScript
import { DataSource, Repository } from '@n8n/typeorm';
import { CredentialsEntity } from '../entities/CredentialsEntity';
import type { ListQuery } from '../../requests';
export declare class CredentialsRepository extends Repository<CredentialsEntity> {
constructor(dataSource: DataSource);
findStartingWith(credentialName: string): Promise<CredentialsEntity[]>;
findMany(listQueryOptions?: ListQuery.Options, credentialIds?: string[]): Promise<CredentialsEntity[]>;
private toFindManyOptions;
getManyByIds(ids: string[], { withSharings }?: {
withSharings: boolean;
}): Promise<CredentialsEntity[]>;
}