mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-16 23:33:29 +00:00
feat(analytics): replace health score with reference composite
This commit is contained in:
1 parent
666a85d311
commit
c91558f18f
87 files changed
+6033
-5868
No files matched your search
@@ -3,12 +3,10 @@
|
||||
* (`POST /api/daily/digest/dismiss`).
|
||||
*
|
||||
* Lives outside the route file so the OpenAPI registry can import it without
|
||||
* touching the route module. `itemKey` is namespaced `<kind>:...`
|
||||
* (`isDismissibleItemKey` in `@/lib/daily/priority-item`) — the prefix alone
|
||||
* proves the key names one of the OBSERVATIONAL kinds
|
||||
* (`milestone` / `ecg_new_recording` / `tension_window`); anything else 422s
|
||||
* before a lookup ever runs, so an actionable item can never be dismissed
|
||||
* through this endpoint no matter what a client sends.
|
||||
* touching the route module. `isDismissibleItemKey` accepts only approved
|
||||
* observational item and versioned notice prefixes. Anything else 422s before
|
||||
* a lookup runs, so an actionable item can never be dismissed through this
|
||||
* endpoint.
|
||||
*/
|
||||
import { z } from "zod/v4";
|
||||
|
||||
|
||||
Reference in new issue
Block a user