mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-14 14:40:52 +00:00
style: apply prettier across the tree
One-shot prettier pass so the new format:check gate starts from a clean baseline. Formatting only — no behaviour change. Generator-owned and vendored artifacts stay untouched via .prettierignore.
This commit is contained in:
1 parent
b3fea2ef59
commit
1f4ba5939d
1000 files changed
+12130
-8385
No files matched your search
@@ -25,6 +25,5 @@ export const coachKeys = {
|
||||
* Keyed on the conversation id so two open threads never share a cache slot;
|
||||
* the streaming hook invalidates this slot once the persisted twin lands.
|
||||
*/
|
||||
coachConversation: (id: string | null) =>
|
||||
["coachConversation", id] as const,
|
||||
coachConversation: (id: string | null) => ["coachConversation", id] as const,
|
||||
};
|
||||
@@ -31,8 +31,7 @@ export const illnessKeys = {
|
||||
* (pre-onset scan, nadir, recovery-gap). Server-authoritative; the read
|
||||
* is gated, so the surface pattern-matches `status` rather than recomputing.
|
||||
*/
|
||||
illnessCorrelation: (id: string) =>
|
||||
["illness", "correlation", id] as const,
|
||||
illnessCorrelation: (id: string) => ["illness", "correlation", id] as const,
|
||||
/**
|
||||
* v1.18.1 P3 — the cross-episode retrospective summary ("sick N times ·
|
||||
* typical recovery gap X days") over a trailing window in days.
|
||||
|
||||
@@ -10,12 +10,9 @@ export const measurementReminderKeys = {
|
||||
*/
|
||||
measurementReminders: () => ["measurement-reminders"] as const,
|
||||
/** Mutation keys — kept in the factory so no bare array reaches a call site. */
|
||||
measurementReminderCreate: () =>
|
||||
["measurement-reminders", "create"] as const,
|
||||
measurementReminderUpdate: () =>
|
||||
["measurement-reminders", "update"] as const,
|
||||
measurementReminderDelete: () =>
|
||||
["measurement-reminders", "delete"] as const,
|
||||
measurementReminderCreate: () => ["measurement-reminders", "create"] as const,
|
||||
measurementReminderUpdate: () => ["measurement-reminders", "update"] as const,
|
||||
measurementReminderDelete: () => ["measurement-reminders", "delete"] as const,
|
||||
measurementReminderSatisfy: () =>
|
||||
["measurement-reminders", "satisfy"] as const,
|
||||
};
|
||||
@@ -93,7 +93,7 @@ export const measurementKeys = {
|
||||
// byte-identical tuple and the existing cache layout is unchanged.
|
||||
readMode: string = "",
|
||||
) =>
|
||||
(readMode
|
||||
readMode
|
||||
? ([
|
||||
"chart-data",
|
||||
types,
|
||||
@@ -114,7 +114,7 @@ export const measurementKeys = {
|
||||
fromIso,
|
||||
toIso,
|
||||
valueScale,
|
||||
] as const)),
|
||||
] as const),
|
||||
|
||||
/**
|
||||
* v1.8.5 — bounded recent-timestamp read powering the
|
||||
|
||||
Reference in new issue
Block a user