mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-16 15:23:29 +00:00
feat(labs): show and file a reading's related report and visit in its sheet
This commit is contained in:
1 parent
7167ba8cdc
commit
da1d31e370
5 files changed
+187
-5
No files matched your search
@@ -34,6 +34,11 @@ export const labKeys = {
|
||||
// mutation's `labResults()` invalidation evict it.
|
||||
labResultsOverview: () => ["lab-results", "overview"] as const,
|
||||
|
||||
// One reading's detail (`GET /api/labs/{id}`): the decrypted note and the
|
||||
// records it relates to. Under the `lab-results` prefix so every result
|
||||
// mutation evicts it.
|
||||
labResult: (id: string) => ["lab-results", "detail", id] as const,
|
||||
|
||||
// `/labs?analyte=<name>` (MCP deep links): the newest reading stored under
|
||||
// that exact analyte name, one row, to find its marker's page. Its own key
|
||||
// because the page size differs from every list read; the `lab-results`
|
||||
|
||||
Reference in new issue
Block a user