mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
11 lines
336 B
TypeScript
11 lines
336 B
TypeScript
|
import { Service } from 'typedi';
|
||
|
import { DataSource, Repository } from 'typeorm';
|
||
|
import { SharedCredentials } from '../entities/SharedCredentials';
|
||
|
|
||
|
@Service()
|
||
|
export class SharedCredentialsRepository extends Repository<SharedCredentials> {
|
||
|
constructor(dataSource: DataSource) {
|
||
|
super(SharedCredentials, dataSource.manager);
|
||
|
}
|
||
|
}
|