import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ConfigModule } from '@nestjs/config';
import { SlackService } from './slack.service';
import { SlackController } from './slack.controller';
import { User } from '../../entities/user.entity';
import { PlatformSettings } from '../../entities/platform-settings.entity';

@Module({
  imports: [ConfigModule, TypeOrmModule.forFeature([User, PlatformSettings])],
  providers: [SlackService],
  controllers: [SlackController],
  exports: [SlackService],
})
export class NotificationsModule {}
