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:
Marc-André Bombeck committed 2026-06-19 22:20:31 +02:00
1 parent b3fea2ef59
commit 1f4ba5939d
1000 files changed
+12130 -8385

No files matched your search

+1 -2
View File
@@ -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,
};
+1 -2
View File
@@ -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.
+3 -6
View File
@@ -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,
};
+2 -2
View File
@@ -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