chahinebrini
c776570106
fix(demographics): align Frontend enum/prefix values with Backend zod schema
Backend-Agent identified 2 mismatches that caused 422 on save:
1. MARITAL_OPTIONS values:
- 'partnership' → 'partnered' (Backend expects this)
- 'none' → 'no_answer'
2. BUNDESLAND_OPTIONS values:
- 'BW' → 'DE-BW' (alle 16 Bundesländer mit DE-prefix)
- Backend zod-regex: ^DE-(BW|BY|...)$
3. germanCities.ts getCitiesForBundesland:
- Akzeptiert jetzt sowohl 'BY' als auch 'DE-BY' (strip prefix on lookup)
User-visible labels unverändert. Nur internal values aligned mit Backend-API.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-08 20:47:43 +02:00
..
2026-05-08 19:32:27 +02:00
2026-05-08 19:46:09 +02:00
2026-05-08 19:32:27 +02:00
2026-05-08 19:32:27 +02:00
2026-05-08 19:32:27 +02:00
2026-05-08 20:47:43 +02:00
2026-05-08 19:32:27 +02:00
2026-05-07 21:23:46 +02:00
2026-05-06 07:13:43 +02:00
2026-05-06 07:13:43 +02:00
2026-05-06 07:13:43 +02:00
2026-05-08 19:46:09 +02:00
2026-05-06 07:13:43 +02:00
2026-05-06 07:13:43 +02:00
2026-05-06 07:13:43 +02:00
2026-05-06 07:13:43 +02:00
2026-05-06 07:13:43 +02:00
2026-05-08 19:32:27 +02:00
2026-05-08 19:32:27 +02:00
2026-05-06 07:13:43 +02:00
2026-05-06 07:13:43 +02:00
2026-05-08 19:32:27 +02:00
2026-05-06 07:13:43 +02:00
2026-05-06 07:13:43 +02:00
2026-05-06 07:13:43 +02:00
2026-05-08 20:37:50 +02:00