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