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);
  }
}
