Files
accounted/.claude/settings.local.json
T
Jakob WennbergandClaude Opus 4.6 acb85edf4a feat: wire Zod validation into API routes, improve types and components
- Add 8 new Zod schemas (UpdateCustomer, UpdateSupplier, UpdateSupplierInvoice,
  UpdateAccount, BankUnlink, RunReconciliation, CorrectJournalEntry,
  EvaluateMappingRules) and wire validateBody() into 24 JSON-body API routes
- Remove redundant manual validation checks replaced by Zod
- Add comprehensive schema tests (222 tests)
- Improve type definitions in types/index.ts with expanded interfaces
- Refactor extension types (push-notifications, receipt-ocr) for cleaner imports
- Update transaction components (BatchCategorySelector, SwipeCategorizationView,
  QuickReviewDialog, VatTreatmentSelect) and invoice inbox workspace
- Add invoice-inbox utilities and type decoupling tests
- Fix NE-bilaga, SRU export, and invoice PDF template type usage
- Update CLAUDE.md with expanded architecture documentation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 16:00:38 +01:00

32 lines
1.3 KiB
JSON

{
"permissions": {
"allow": [
"mcp__ide__getDiagnostics",
"Bash(grep:*)",
"Bash(xargs:*)",
"Bash(ls:*)",
"Bash(find:*)",
"WebFetch(domain:www.skatteverket.se)",
"WebSearch",
"mcp__plugin_supabase_supabase__apply_migration",
"Bash(cat:*)",
"Bash(wc:*)",
"Bash(git -C /Users/jakobwennberg/erp-base log --oneline)",
"mcp__plugin_supabase_supabase__list_projects",
"Bash(python3:*)",
"Bash(git -C /Users/jakobwennberg/erp-base status --porcelain)",
"Bash(__NEW_LINE_421a23f44da9923d__ echo '=== Checking which index exports are used ===' grep -r @/components/calendar /Users/jakobwennberg/erp-base/app --include=*.tsx --include=*.ts 2)",
"Bash(/dev/null __NEW_LINE_421a23f44da9923d__ echo -e '\\\\n=== Checking which calendar deadline components are directly imported ===' grep -rE \"DeadlineList|DeadlineCard|DeadlineForm|DeadlineFilters|PaymentSummaryCard|TaxTodoWidget|UpcomingDeadlinesWidget\" /Users/jakobwennberg/erp-base --include=*.tsx --include=*.ts)",
"Bash(npm run build:*)",
"Bash(npx supabase:*)",
"Bash(curl:*)",
"Bash(npx tsc:*)",
"Bash(findstr:*)",
"Bash(git add:*)",
"Bash(git commit:*)",
"WebFetch(domain:raw.githubusercontent.com)",
"WebFetch(domain:support.fortnox.se)"
]
}
}