BillTracker/client
null d02d3c9c72 refactor(ts): convert React Query hooks to TypeScript (TS10)
hooks/useQueries.js -> .ts. Typed params and QueryParams-typed query builders
(QueryParams now exported from api.ts). Query result data stays unknown until
endpoint response shapes are typed.

TypeScript caught dead config: three hooks passed `cacheTime` to useQuery, which
React Query v5 renamed to `gcTime` and silently ignores — so those caches were
garbage-collected at the 5-min default instead of the intended 30 min / 2 hr.
Renamed to gcTime so the intended retention takes effect (memory-retention only;
no fetch or correctness change).

Verified: typecheck 0, lint 0 errors (47 warns), build green, 48 client tests,
17/17 e2e probe (every page renders).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-03 22:13:05 -05:00
..
components refactor(ts): convert the API client to TypeScript (TS9) 2026-07-03 22:09:04 -05:00
contexts theme correctness 2026-05-28 01:30:40 -05:00
hooks refactor(ts): convert React Query hooks to TypeScript (TS10) 2026-07-03 22:13:05 -05:00
lib refactor(ts): convert small hooks + version to TypeScript (TS8) 2026-07-03 22:01:30 -05:00
pages refactor(ts): convert the API client to TypeScript (TS9) 2026-07-03 22:09:04 -05:00
public/img refactor: component splits, PWA support, CommandPalette 2026-05-28 20:53:22 -05:00
App.jsx feat(query): global background-refetch error toast (P1) 2026-07-03 20:56:31 -05:00
api.ts refactor(ts): convert React Query hooks to TypeScript (TS10) 2026-07-03 22:13:05 -05:00
index.css feat(settings): safe-to-spend toggle, move notifications from Profile to Settings, fix dark-mode readability 2026-06-12 01:52:48 -05:00
main.jsx v0.24.3: Session fixes, activity log corrections, UI polish 2026-05-11 13:39:48 -05:00