import { Module } from '@nestjs/common';

import { NotificationsPersistenceModule } from '../../persistence/notifications/NotificationsPersistenceModule';
import { NotificationsController } from './NotificationsController';
import { NotificationsProviders } from './NotificationsProviders';
import { NotificationsService } from './NotificationsService';

@Module({
  imports: [NotificationsPersistenceModule],
  controllers: [NotificationsController],
  providers: [NotificationsService, ...NotificationsProviders],
  exports: [NotificationsPersistenceModule, NotificationsService],
})
export class NotificationsModule {}
