"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.NotificationsModule = void 0; const common_1 = require("@nestjs/common"); const bullmq_1 = require("@nestjs/bullmq"); const notifications_service_1 = require("./notifications.service"); const notifications_router_1 = require("./notifications.router"); const fcm_service_1 = require("./fcm.service"); const channel_dispatcher_service_1 = require("./channels/channel-dispatcher.service"); const email_channel_1 = require("./channels/email.channel"); const whatsapp_channel_1 = require("./channels/whatsapp.channel"); const discord_channel_1 = require("./channels/discord.channel"); const telegram_channel_1 = require("./channels/telegram.channel"); const prisma_module_1 = require("../prisma/prisma.module"); const websocket_module_1 = require("../websocket/websocket.module"); const email_module_1 = require("../email/email.module"); let NotificationsModule = class NotificationsModule { }; exports.NotificationsModule = NotificationsModule; exports.NotificationsModule = NotificationsModule = __decorate([ (0, common_1.Module)({ imports: [ prisma_module_1.PrismaModule, websocket_module_1.WebsocketModule, email_module_1.EmailModule, bullmq_1.BullModule.registerQueue({ name: "notifications" }), ], providers: [ notifications_service_1.NotificationsService, notifications_router_1.NotificationsRouter, fcm_service_1.FcmService, channel_dispatcher_service_1.ChannelDispatcherService, email_channel_1.EmailChannel, whatsapp_channel_1.WhatsAppChannel, discord_channel_1.DiscordChannel, telegram_channel_1.TelegramChannel, ], exports: [ notifications_service_1.NotificationsService, notifications_router_1.NotificationsRouter, fcm_service_1.FcmService, channel_dispatcher_service_1.ChannelDispatcherService, ], }) ], NotificationsModule); //# sourceMappingURL=notifications.module.js.map