notification queue

This commit is contained in:
2025-12-13 23:26:07 +03:30
parent 835f2a3853
commit befa311e98
20 changed files with 176 additions and 405 deletions
@@ -8,13 +8,11 @@ import { NotificationService } from './services/notification.service';
import { NotificationPreferenceService } from './services/notification-preference.service';
import { NotificationQueueService } from './services/notification-queue.service';
import { PushNotificationService } from './services/push-notification.service';
import { SmsAdaptorService } from './services/sms.adaptor';
import { SmsProcessor } from './processors/sms.processor';
import { PushProcessor } from './processors/push.processor';
import { NotificationsController } from './controllers/notifications.controller';
import { User } from '../users/entities/user.entity';
import { Restaurant } from '../restaurants/entities/restaurant.entity';
import { NotificationListeners } from './listeners/notification.listeners';
import { AuthModule } from '../auth/auth.module';
import { ConfigService } from '@nestjs/config';
import { NotificationQueueNameEnum } from './constants/queue';
@@ -46,19 +44,11 @@ import { WsAdminAuthGuard } from './guards/ws-admin-auth.guard';
NotificationPreferenceService,
NotificationQueueService,
PushNotificationService,
SmsAdaptorService,
PushProcessor,
SmsProcessor,
NotificationListeners,
NotificationsGateway,
WsAdminAuthGuard,
],
exports: [
NotificationService,
NotificationPreferenceService,
NotificationQueueService,
PushNotificationService,
SmsAdaptorService,
],
exports: [NotificationService, NotificationPreferenceService, NotificationQueueService, PushNotificationService],
})
export class NotificationsModule {}