mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-16 15:23:29 +00:00
release: v1.32.0 — hardening and scalability (#580)
* release: prepare v1.32.0 * test: stabilize water capture re-entry
This commit is contained in:
1 parent
b01822be48
commit
62eb431d66
372 files changed
+25178
-8561
No files matched your search
@@ -13,6 +13,10 @@ export const customMetrics = {
|
||||
/** A single custom-metric detail. */
|
||||
customMetricDetail: (id: string) => ["custom-metrics", "detail", id] as const,
|
||||
|
||||
/** Prefix for invalidating every sorted feed of one custom metric. */
|
||||
customMetricEntriesPrefix: (customMetricId: string) =>
|
||||
["custom-metric-entries", customMetricId] as const,
|
||||
|
||||
/** Paginated (offset) value feed for one custom metric. */
|
||||
customMetricEntries: (params: { customMetricId: string; sortDir: string }) =>
|
||||
["custom-metric-entries", params.customMetricId, params.sortDir] as const,
|
||||
|
||||
@@ -66,6 +66,10 @@ export const integrationKeys = {
|
||||
|
||||
moodlogStatus: () => ["moodlog-status"] as const,
|
||||
integrationsStatus: () => ["integrations", "status"] as const,
|
||||
// Apple Health live-sync freshness comes from the existing HealthKit config
|
||||
// endpoint. It is intentionally separate from the OAuth integration ledger:
|
||||
// a received-data timestamp proves ingest activity, not a web connection.
|
||||
healthKitStatus: () => ["integrations", "healthkit"] as const,
|
||||
|
||||
/**
|
||||
* v1.15.7 — in-flight Apple Health `export.zip` import. Keyed by the
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
* centralized factory; aggregated in `./index.ts`.
|
||||
*/
|
||||
export const nutrientKeys = {
|
||||
/** Prefix for invalidating every nutrient read. */
|
||||
nutrientsRoot: () => ["nutrients"] as const,
|
||||
|
||||
/** Per-nutrient window summary from `GET /api/nutrients?days=N`. */
|
||||
nutrientIntake: (days: number) => ["nutrients", "intake", days] as const,
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user