mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-14 06:40:50 +00:00
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.
19 lines
845 B
TypeScript
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,
|
|
};
|