Files
HealthLog/src/lib/query-keys/measurement-reminders.ts
T
Marc-André Bombeck 1f4ba5939d 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.
2026-06-19 22:20:31 +02:00

19 lines
845 B
TypeScript

/**
* Query keys — Vorsorge (measurement) reminders (v1.17.1).
* Part of the centralized factory; aggregated in `./index.ts`.
*/
export const measurementReminderKeys = {
/**
* The owner's Vorsorge reminder list. A create / edit / delete / satisfy
* mutation invalidates this root so the section + the dashboard tile
* repaint in lockstep.
*/
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,
measurementReminderSatisfy: () =>
["measurement-reminders", "satisfy"] as const,
};