api-server/src/modules/document-import/document-import.module.ts
WangDL b1a6160d29
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 59s
feat: implement P1 async — AI analysis + document import via BullMQ workers
B12: AI analysis now async — POST /ai-analysis queues job, returns immediately.
     Worker supports both active-recall and feynman-evaluation types.
B13: DocumentImportWorker fully implemented — all processing moved from
     service to worker. Service only queues and returns.
B14: NotificationWorker already complete (no changes needed).
B15: All 3 workers now fully functional.

New endpoint: GET /ai-analysis/jobs/:id for job status polling.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-18 10:17:06 +08:00

12 lines
474 B
TypeScript

import { Module } from '@nestjs/common';
import { DocumentImportController } from './document-import.controller';
import { DocumentImportService } from './document-import.service';
import { DocumentImportRepository } from './document-import.repository';
@Module({
controllers: [DocumentImportController],
providers: [DocumentImportService, DocumentImportRepository],
exports: [DocumentImportService, DocumentImportRepository],
})
export class DocumentImportModule {}