|
|
c7d283c0c9
|
refactor: extract Pydantic models to models.py
Deploy Development / deploy (push) Successful in 56s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 13s
Phase 1.3 - Data Models isolieren
NEUE DATEI:
- backend/models.py: Alle Pydantic Models (122 Zeilen)
* ProfileCreate, ProfileUpdate
* WeightEntry, CircumferenceEntry, CaliperEntry
* ActivityEntry, NutritionDay
* LoginRequest, PasswordResetRequest, PasswordResetConfirm
* AdminProfileUpdate
ÄNDERUNGEN:
- backend/main.py:
* Import models from models.py
* Entfernt: ~60 Zeilen Model-Definitionen
* Von 2025 → 1878 Zeilen (-147 Zeilen / -7%)
PROGRESS:
✅ db.py: Database + init_db
✅ auth.py: Auth functions + dependencies
✅ models.py: Pydantic schemas
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-03-19 09:53:51 +01:00 |
|