Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

772 B
Raw Blame
import { Module } from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'

import { ProjectModule } from '../project/project.module'
import { AppLoggerModule } from '../logger/logger.module'
import { UserModule } from '../user/user.module'
import { NotificationChannelModule } from '../notification-channel/notification-channel.module'
import { AlertService } from './alert.service'
import { Alert } from './entity/alert.entity'
import { AlertController } from './alert.controller'

@Module({
  imports: [
    TypeOrmModule.forFeature([Alert]),
    ProjectModule,
    AppLoggerModule,
    UserModule,
    NotificationChannelModule,
  ],
  providers: [AlertService],
  exports: [AlertService],
  controllers: [AlertController],
})
export class AlertModule {}