n8n/packages/cli/src/databases/repositories/credentials.repository.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
330 B
TypeScript
Raw Normal View History

import { Service } from 'typedi';
import { DataSource, Repository } from 'typeorm';
import { CredentialsEntity } from '../entities/CredentialsEntity';
@Service()
export class CredentialsRepository extends Repository<CredentialsEntity> {
constructor(dataSource: DataSource) {
super(CredentialsEntity, dataSource.manager);
}
}