Spaces:
Runtime error
Runtime error
File size: 850 Bytes
d44ff09 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { BullModule } from '@nestjs/bullmq';
import { Export, Campaign, GeneratedAsset } from '../../database/entities';
import { ExportController } from './export.controller';
import { ExportService, EXPORT_QUEUE } from './export.service';
import { ExportPackagerService } from './export-packager.service';
import { ExportProcessor } from './export.processor';
import { StorageService } from './storage.service';
@Module({
imports: [
TypeOrmModule.forFeature([Export, Campaign, GeneratedAsset]),
BullModule.registerQueue({ name: EXPORT_QUEUE }),
],
controllers: [ExportController],
providers: [ExportService, ExportPackagerService, ExportProcessor, StorageService],
exports: [ExportService, StorageService],
})
export class ExportModule {}
|