- 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>
31 lines
823 B
JSON
31 lines
823 B
JSON
{
|
|
"name": "@shieldai/api",
|
|
"version": "0.1.0",
|
|
"scripts": {
|
|
"dev": "tsx watch src/server.ts",
|
|
"build": "tsc",
|
|
"start": "node dist/server.js",
|
|
"test": "vitest run",
|
|
"test:coverage": "vitest run --coverage",
|
|
"lint": "eslint src/"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cors": "^10.0.1",
|
|
"@fastify/helmet": "^13.0.1",
|
|
"@fastify/rate-limit": "^9.0.0",
|
|
"@fastify/sensible": "^6.0.1",
|
|
"@shieldai/db": "workspace:*",
|
|
"@shieldai/types": "workspace:*",
|
|
"@shieldai/correlation": "workspace:*",
|
|
"@shieldai/report": "workspace:*",
|
|
"fastify": "^5.2.0",
|
|
"@shieldai/darkwatch": "workspace:*",
|
|
"@shieldai/voiceprint": "workspace:*",
|
|
"@shieldai/monitoring": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"vitest": "^4.1.5",
|
|
"@vitest/coverage-v8": "^4.1.5"
|
|
}
|
|
}
|