feat(F-146): completed feature

This commit is contained in:
chattie
2026-08-22 12:52:13 +02:00
parent 62a3681657
commit 91044da178
17 changed files with 1182 additions and 37 deletions

View File

@@ -224,10 +224,11 @@ export async function buildApp(deps: BuildAppDeps = {}): Promise<FastifyInstance
});
// Reporting contracts + RBAC foundation (F-143). Reporting is backoffice-only
// sharing the combined authenticator; it has no DB reads until F-144+.
// sharing the combined authenticator; F-146 adds ReportingService reads.
await app.register(async (instance) => {
await registerReportingRoutes(instance, {
authenticate: combinedAuth,
pool: deps.pool as pg.Pool,
});
});