feat(sync): carry the automatic-recording marker on intake upserts

This commit is contained in:
Marc-André Bombeck committed 2026-10-11 13:56:28 +02:00
1 parent e93b4f249f
commit 55bfb0a439
3 files changed
+13

No files matched your search

+5
View File
@@ -158,6 +158,11 @@ const syncIntakeUpsert = z
takenAt: z.iso.datetime({ offset: true }).nullable(),
skipped: z.boolean(),
source: z.string(),
autoRecorded: z
.boolean()
.describe(
"v1.42.2 — the server recorded this dose because the medication has `autoMarkTaken` on. Counts as taken.",
),
syncVersion: z
.number()
.int()