Add Protection Report Generator with HTML/PDF output and scheduled delivery (FRE-4575)
- Report service: data collection from all three engines, HTML rendering (Handlebars), PDF generation (pdfkit) - REST API: /reports endpoints for generate, history, view, PDF download, scheduling - BullMQ workers: queued report generation with retry, monthly/annual scheduler triggers - DB: SecurityReport model with Prisma schema and type exports - Email: report_ready template in shared-notifications - All dependencies wired through existing packages Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
4
packages/report/src/index.ts
Normal file
4
packages/report/src/index.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export { ReportService, reportService } from './report.service';
|
||||
export { collectAllReportData, collectExposureSummary, collectSpamStats, collectVoiceStats, collectHomeTitleStats, generateRecommendations, calculateProtectionScore } from './data-collector';
|
||||
export { HtmlRenderer, htmlRenderer } from './html-renderer';
|
||||
export { PdfGenerator, pdfGenerator } from './pdf-generator';
|
||||
Reference in New Issue
Block a user