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

11 lines
336 B
TypeScript
Raw Normal View History

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