feat(core-api): compose dsrRouter + consentRouter into appRouter

Add @repo/core-dsr and @repo/core-consent as dependencies and wire
dsrRouter + consentRouter into appRouter via the existing router
composition pattern. Integration tests cover all eight procedures
(dsr.export, dsr.delete, dsr.rectify, dsr.restrict, consent.grant,
consent.withdraw, consent.isGranted, consent.getCategories) with auth
and response-shape assertions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-19 20:49:20 +00:00
parent b2bfb5bfce
commit 759fd4cbb1
5 changed files with 412 additions and 7 deletions

View File

@@ -1,14 +1,14 @@
{
"generatedAt": "2026-05-19T20:36:42.351Z",
"commit": "46e575a",
"generatedAt": "2026-05-19T20:49:04.345Z",
"commit": "b2bfb5b",
"repo": {
"statements": 97.17,
"statements": 97.18,
"branches": 92.15,
"functions": 96.93,
"lines": 97.17,
"lines": 97.18,
"counts": {
"lf": 5329,
"lh": 5178,
"lf": 5346,
"lh": 5195,
"brf": 1045,
"brh": 963,
"fnf": 326,
@@ -58,6 +58,20 @@
"fnh": 10
}
},
"@repo/core-api": {
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100,
"counts": {
"lf": 17,
"lh": 17,
"brf": 0,
"brh": 0,
"fnf": 0,
"fnh": 0
}
},
"@repo/core-consent": {
"statements": 99.72,
"branches": 94.85,