mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 22:02:16 +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
@@ -18,6 +18,7 @@
|
||||
*/
|
||||
import { encryptToBytes } from "@/lib/ai/coach/bytes-codec";
|
||||
import { prisma } from "@/lib/db";
|
||||
import { invalidateUserHealthScore } from "@/lib/cache/invalidate";
|
||||
import { emitDataArrival } from "@/lib/arrivals/emit-shared";
|
||||
import { decryptFactData } from "@/lib/documents/store";
|
||||
import { resolveOrMintBiomarker } from "@/lib/labs/biomarker-store";
|
||||
@@ -105,6 +106,7 @@ async function commitObservation(
|
||||
noteEncrypted: null,
|
||||
},
|
||||
});
|
||||
invalidateUserHealthScore(userId);
|
||||
|
||||
// v1.31.0 — the labs arm of the data-arrival spine. A "panel" has no
|
||||
// first-class entity in the schema (it is a nullable label plus a `takenAt`),
|
||||
|
||||
Reference in new issue
Block a user