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

@Module({
  imports: [
    BullModule.registerQueue(
      { name: 'document-verification' },
      { name: 'blockchain-transactions' },
      { name: 'document-archive' },
      { name: 'email-notifications' },
      { name: 'audit-logs' },
    ),
  ],
  exports: [BullModule],
})
export class QueueModule {}
