mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 22:18:12 +00:00
16 lines
459 B
TypeScript
16 lines
459 B
TypeScript
import { Injectable } from '@nestjs/common';
|
|
import { InjectRepository } from '@nestjs/typeorm';
|
|
import { BaseRepository } from '@edr/api-common';
|
|
import { Repository } from 'typeorm';
|
|
import { Incident } from './entities/incident.entity';
|
|
|
|
@Injectable()
|
|
export class IncidentsRepository extends BaseRepository<Incident> {
|
|
constructor(
|
|
@InjectRepository(Incident)
|
|
incidentRepository: Repository<Incident>,
|
|
) {
|
|
super(incidentRepository);
|
|
}
|
|
}
|