feat: implement security report generation backend (task 21)
- Add report-schedules DB schema table - Create reports tRPC router with getReports, generateReport, getReport, deleteReport, getScheduledReports, updateSchedule procedures - Create reports service with async report generation lifecycle - Create report generator (compileData, renderHTML, generatePDF, uploadPDF) - Add HTML templates for monthly-plus, annual-premium, weekly-digest - Add Valibot schemas for input validation - Wire router into root.ts and update DB schema exports/relations - Install puppeteer for HTML-to-PDF conversion - Write unit tests for router (11 tests) and service (12 tests)
This commit is contained in:
@@ -13,4 +13,5 @@ export * from "./hometitle";
|
||||
export * from "./removebrokers";
|
||||
export * from "./invitation";
|
||||
export * from "./notifications";
|
||||
export * from "./report-schedules";
|
||||
export * from "./relations";
|
||||
|
||||
Reference in New Issue
Block a user