mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
Final-pass hygiene for the W4d GLP-1 integration: - `buildGlp1SnapshotBlock()` and `detectGlp1Plateau()` short-circuit to `null` when the test environment mocks prisma partially (only `measurement` / `moodEntry` mocked, `medication` undefined). Matches the production behaviour for accounts without an active GLP-1 row. - DE locale parity: adds the matching German string for `insights.subPage.therapyTimelineDescription` that landed without its de.json counterpart. - Drops unused `locale` destructure on the GLP-1 medication card and the dead `DailyValueRow` interface in the snapshot helper. - Regenerated `docs/api/openapi.yaml` so the new GLP-1 endpoints (/api/medications/[id]/glp1, /api/insights/glp1-timeline) appear in the spec.