1 Commits
Author SHA1 Message Date
g-butandClaude Opus 4.5 5951943cfe refactor: deduplicate validation and formatting utilities
- Create lib/validation.ts with shared email validation, text helpers
- Create lib/format.ts with currency, number, date, percent formatters
- Refactor api/waitlist/route.ts to use shared isValidEmail
- Update swiss-german-teacher validation to re-export from shared lib
- Update governance utils to re-export formatCurrency from shared lib
- Remove duplicate formatCurrency from 4 governance components

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 21:32:22 +01:00