♻️ Migrate email backend from @nestjs/bull to @nestjs/bullmq
- Update imports to use bullmq module and Queue types - Update test mocks and integration setup 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
84bc66df91
commit
2a32c8f98b
4 changed files with 5 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { Module } from '@nestjs/common'
|
||||
import { ConfigModule, ConfigService } from '@nestjs/config'
|
||||
import { BullModule } from '@nestjs/bull'
|
||||
import { BullModule } from '@nestjs/bullmq'
|
||||
import { TypeOrmModule } from '@nestjs/typeorm'
|
||||
|
||||
import { CoreModule } from './core/core.module'
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { Test, TestingModule } from '@nestjs/testing'
|
||||
import { getQueueToken } from '@nestjs/bull'
|
||||
import { Queue } from 'bull'
|
||||
import { getQueueToken } from '@nestjs/bullmq'
|
||||
import { Queue } from 'bullmq'
|
||||
import { Logger } from '@nestjs/common'
|
||||
|
||||
import { EmailQueueService, QueueEmailOptions } from './email-queue.service'
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
import { Test, TestingModule } from '@nestjs/testing'
|
||||
import { TypeOrmModule } from '@nestjs/typeorm'
|
||||
import { ConfigModule, ConfigService } from '@nestjs/config'
|
||||
import { BullModule } from '@nestjs/bull'
|
||||
import { BullModule } from '@nestjs/bullmq'
|
||||
|
||||
// Import modules
|
||||
import { CoreModule } from '../../core/core.module'
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { Repository, ObjectLiteral } from 'typeorm'
|
||||
import { Queue } from 'bull'
|
||||
import { Queue } from 'bullmq'
|
||||
import { ConfigService } from '@nestjs/config'
|
||||
import type { Transporter } from 'nodemailer'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue