From 7acc0c5451cb78527ce71a7cb4fb3c3cf0cd44a9 Mon Sep 17 00:00:00 2001 From: Z User Date: Tue, 27 Oct 2026 22:48:01 +0000 Subject: [PATCH] chore: sync files after PRD gap fixes (Zod, rate-limit, custom-fields, CSP, boundary) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 5 PRD gaps fixed: 1. Zod validation on all API inputs (§5.2) — 26 files, 27 safeParse 2. Rate limiting on public endpoints (§5.6) — 6 scopes, 7 endpoints 3. Custom fields JSONB with schema (§5.5) — 2 models, 10 seed defs 4. CSP + security headers (§5.6) — 7 headers via next.config.ts 5. ESLint module boundary rule (§5.4) — no-restricted-imports 0 TS errors, ESLint clean. --- .github/copilot-instructions.md | 0 .mcp.json | 0 CLAUDE.md | 0 Dockerfile | 0 README.md | 0 docker-compose.yml | 0 src/app/api/aos/anlagen/route.ts | 0 src/app/api/aos/belege/route.ts | 0 src/app/api/aos/buchhaltung/jahresabschluss/route.ts | 0 src/app/api/aos/buchhaltung/route.ts | 0 src/app/api/aos/crm/import/route.ts | 0 src/app/api/aos/custom-fields/route.ts | 0 src/app/api/aos/data-management/export/route.ts | 0 src/app/api/aos/data-management/route.ts | 0 src/app/api/aos/datev-export/route.ts | 0 src/app/api/aos/fristen/ical/route.ts | 0 src/app/api/aos/kassenbuch/route.ts | 0 src/app/api/aos/pauschalen/route.ts | 0 src/app/api/aos/recurring/route.ts | 0 src/app/api/aos/recurring/run/route.ts | 0 src/app/api/aos/webhooks/[id]/route.ts | 0 src/app/api/health/route.ts | 0 src/components/aos/views/data.tsx | 0 src/components/aos/views/finanzamt.tsx | 0 src/components/aos/views/recurring.tsx | 0 src/lib/rate-limit.ts | 0 26 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 .github/copilot-instructions.md mode change 100644 => 100755 .mcp.json mode change 100644 => 100755 CLAUDE.md mode change 100644 => 100755 Dockerfile mode change 100644 => 100755 README.md mode change 100644 => 100755 docker-compose.yml mode change 100644 => 100755 src/app/api/aos/anlagen/route.ts mode change 100644 => 100755 src/app/api/aos/belege/route.ts mode change 100644 => 100755 src/app/api/aos/buchhaltung/jahresabschluss/route.ts mode change 100644 => 100755 src/app/api/aos/buchhaltung/route.ts mode change 100644 => 100755 src/app/api/aos/crm/import/route.ts mode change 100644 => 100755 src/app/api/aos/custom-fields/route.ts mode change 100644 => 100755 src/app/api/aos/data-management/export/route.ts mode change 100644 => 100755 src/app/api/aos/data-management/route.ts mode change 100644 => 100755 src/app/api/aos/datev-export/route.ts mode change 100644 => 100755 src/app/api/aos/fristen/ical/route.ts mode change 100644 => 100755 src/app/api/aos/kassenbuch/route.ts mode change 100644 => 100755 src/app/api/aos/pauschalen/route.ts mode change 100644 => 100755 src/app/api/aos/recurring/route.ts mode change 100644 => 100755 src/app/api/aos/recurring/run/route.ts mode change 100644 => 100755 src/app/api/aos/webhooks/[id]/route.ts mode change 100644 => 100755 src/app/api/health/route.ts mode change 100644 => 100755 src/components/aos/views/data.tsx mode change 100644 => 100755 src/components/aos/views/finanzamt.tsx mode change 100644 => 100755 src/components/aos/views/recurring.tsx mode change 100644 => 100755 src/lib/rate-limit.ts diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md old mode 100644 new mode 100755 diff --git a/.mcp.json b/.mcp.json old mode 100644 new mode 100755 diff --git a/CLAUDE.md b/CLAUDE.md old mode 100644 new mode 100755 diff --git a/Dockerfile b/Dockerfile old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/docker-compose.yml b/docker-compose.yml old mode 100644 new mode 100755 diff --git a/src/app/api/aos/anlagen/route.ts b/src/app/api/aos/anlagen/route.ts old mode 100644 new mode 100755 diff --git a/src/app/api/aos/belege/route.ts b/src/app/api/aos/belege/route.ts old mode 100644 new mode 100755 diff --git a/src/app/api/aos/buchhaltung/jahresabschluss/route.ts b/src/app/api/aos/buchhaltung/jahresabschluss/route.ts old mode 100644 new mode 100755 diff --git a/src/app/api/aos/buchhaltung/route.ts b/src/app/api/aos/buchhaltung/route.ts old mode 100644 new mode 100755 diff --git a/src/app/api/aos/crm/import/route.ts b/src/app/api/aos/crm/import/route.ts old mode 100644 new mode 100755 diff --git a/src/app/api/aos/custom-fields/route.ts b/src/app/api/aos/custom-fields/route.ts old mode 100644 new mode 100755 diff --git a/src/app/api/aos/data-management/export/route.ts b/src/app/api/aos/data-management/export/route.ts old mode 100644 new mode 100755 diff --git a/src/app/api/aos/data-management/route.ts b/src/app/api/aos/data-management/route.ts old mode 100644 new mode 100755 diff --git a/src/app/api/aos/datev-export/route.ts b/src/app/api/aos/datev-export/route.ts old mode 100644 new mode 100755 diff --git a/src/app/api/aos/fristen/ical/route.ts b/src/app/api/aos/fristen/ical/route.ts old mode 100644 new mode 100755 diff --git a/src/app/api/aos/kassenbuch/route.ts b/src/app/api/aos/kassenbuch/route.ts old mode 100644 new mode 100755 diff --git a/src/app/api/aos/pauschalen/route.ts b/src/app/api/aos/pauschalen/route.ts old mode 100644 new mode 100755 diff --git a/src/app/api/aos/recurring/route.ts b/src/app/api/aos/recurring/route.ts old mode 100644 new mode 100755 diff --git a/src/app/api/aos/recurring/run/route.ts b/src/app/api/aos/recurring/run/route.ts old mode 100644 new mode 100755 diff --git a/src/app/api/aos/webhooks/[id]/route.ts b/src/app/api/aos/webhooks/[id]/route.ts old mode 100644 new mode 100755 diff --git a/src/app/api/health/route.ts b/src/app/api/health/route.ts old mode 100644 new mode 100755 diff --git a/src/components/aos/views/data.tsx b/src/components/aos/views/data.tsx old mode 100644 new mode 100755 diff --git a/src/components/aos/views/finanzamt.tsx b/src/components/aos/views/finanzamt.tsx old mode 100644 new mode 100755 diff --git a/src/components/aos/views/recurring.tsx b/src/components/aos/views/recurring.tsx old mode 100644 new mode 100755 diff --git a/src/lib/rate-limit.ts b/src/lib/rate-limit.ts old mode 100644 new mode 100755