import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { ScannerWatcherService } from './scanner-watcher.service'; import { BarcodeModule } from '../barcode/barcode.module'; import { InboxDocument } from '../database/entities/inbox-document.entity'; @Module({ imports: [BarcodeModule, TypeOrmModule.forFeature([InboxDocument])], providers: [ScannerWatcherService], exports: [ScannerWatcherService], }) export class ScannerModule {}