feat(settings): switch Apple Health write-back per measurement token

Each measurement token row carries a switch, the mint form an opt-in, and
the card a notice when readings exist that no token reaches. Copy in all
nine locales. The endpoint catalogue moves to its own file and the
revoked list out of the token card.
This commit is contained in:
Marc-André Bombeck committed 2026-10-23 19:28:05 +02:00
1 parent d6774b770d
commit d3385478a7
16 files changed
+613 -238

No files matched your search

+3
View File
@@ -5,6 +5,9 @@
*/
export const integrationKeys = {
tokens: () => ["tokens"] as const,
// How many EXTERNAL readings belong to no measurement token (#1272). Under
// the `["tokens"]` prefix, so a mint or a revoke refreshes it too.
measurementTokenSummary: () => ["tokens", "measurements", "summary"] as const,
// v1.22.0 — MCP connector tokens (the dedicated `health:read` scope minted
// for the remote MCP endpoint). Distinct key from `tokens()` so the MCP
// settings card's mint / revoke mutations invalidate only this list.