feat(medications): store a supplement's composition, read its label with the document AI, and carry it through backup and restore

This commit is contained in:
Marc-André Bombeck committed 2026-10-15 23:29:40 +02:00
1 parent 98d64c2052
commit eb3cc4237f
28 files changed
+1078 -97

No files matched your search

+7
View File
@@ -279,7 +279,13 @@ export const ERROR_CODE_CATALOGUE: Readonly<Record<string, readonly string[]>> =
"medications.course.oneShot",
"medications.course.overlap",
"medications.course.windowRequired",
"medications.ingredients.extract.budgetExceeded",
"medications.ingredients.extract.failed",
"medications.ingredients.extract.fileTooLarge",
"medications.ingredients.extract.fileType",
"medications.ingredients.extract.rateLimited",
"medications.ingredients.invalid",
"medications.ingredients.unitMismatch",
"medications.intake.bulk.apple_health_not_mirrored",
"medications.intake.bulk.invalid",
"medications.intake.bulk.too_large",
@@ -288,6 +294,7 @@ export const ERROR_CODE_CATALOGUE: Readonly<Record<string, readonly string[]>> =
"medications.intake.injection_site.disallowed",
"medications.intake.taken_at.before_start",
"medications.mirror.limit_exceeded",
"medications.notFound",
],
mentalHealth: ["mentalHealth.rateLimited"],
module: ["module.disabled"],