Files
agentic-dev-template/turbo.json
Danijel Martinek 131efd5d2f feat(core-audit): admin tRPC procedure for eraseSubject
Adds auditProcedure (adminOnly middleware + defineErrorMiddleware([])) in
core-audit/src/integrations/api/procedures.ts. Adds createAuditRouter that
captures an IAuditLog and exposes a single eraseSubject mutation with zod
input validation. Non-admins receive FORBIDDEN. Barrel re-exports
pseudonymize, createAuditErasureHook, createAuditRouter, auditRouter,
AuditRouter, auditProcedure, AdminTrpcUser. Adds AUDIT_PSEUDONYM_SALT to
turbo.json globalEnv to clear lint warnings.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 16:25:09 +02:00

87 lines
1.8 KiB
JSON

{
"$schema": "https://turborepo.dev/schema.json",
"globalEnv": [
"CI",
"DATABASE_URL",
"PAYLOAD_SECRET",
"NODE_ENV",
"USE_DEV_SEED",
"WEB_NEXT_SENTRY_DSN",
"NEXT_PUBLIC_WEB_NEXT_SENTRY_DSN",
"CMS_SENTRY_DSN",
"WEB_TANSTACK_SENTRY_DSN",
"VITE_WEB_TANSTACK_SENTRY_DSN",
"VITE_GIT_COMMIT_SHA",
"SENTRY_AUTH_TOKEN",
"SENTRY_ORG",
"SENTRY_PROJECT_WEB_NEXT",
"SENTRY_PROJECT_CMS",
"SENTRY_PROJECT_WEB_TANSTACK",
"SENTRY_TRACES_SAMPLE_RATE",
"SENTRY_ENVIRONMENT",
"VERCEL_GIT_COMMIT_SHA",
"NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA",
"VERCEL_ENV",
"AUDIT_PSEUDONYM_SALT"
],
"boundaries": {
"tags": {
"app": {
"dependencies": {
"allow": ["app", "core", "core-composition", "feature", "tooling"]
}
},
"feature": {
"dependencies": {
"allow": ["core", "feature", "tooling"]
}
},
"core": {
"dependencies": {
"allow": ["core", "core-composition", "tooling"]
}
},
"core-composition": {
"dependencies": {
"allow": ["core", "core-composition", "feature", "tooling"]
}
},
"tooling": {
"dependencies": {
"allow": ["tooling"]
}
}
}
},
"tasks": {
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**", ".next/**", "!.next/cache/**"]
},
"dev": {
"cache": false,
"persistent": true
},
"lint": {
"dependsOn": ["^lint"]
},
"test": {
"dependsOn": []
},
"test:e2e": {
"dependsOn": ["^build"],
"cache": false
},
"typecheck": {
"dependsOn": []
},
"build-storybook": {
"outputs": ["storybook-static/**"]
},
"test:stories": {
"dependsOn": ["build-storybook"],
"cache": false
}
}
}