14 lines
858 B
Markdown
14 lines
858 B
Markdown
Items:
|
|
|
|
- The hono workhorse - see notes later
|
|
|
|
## the hono workhorse
|
|
|
|
**Actively used (the workhorse):**
|
|
|
|
- **Admin reads/writes** via `hono.admin.*` — used heavily by the child kanban (`+page.server.ts` load: members, chore-templates, assigned-chores, weekly-summary, fam, rewards, bonus-configs, completions, settings), the **bonuses** page (17 calls), **ledger** (6), **preferences** (2), **fam dashboard** (4), plus settings `complete-week` and `debug/generate-data`.
|
|
- **Member actions** via `memberApi.*` + direct `/api` fetches — `toggleCompletion`, `claimReward`, `payday`, `/api/members/me`, `/api/members/my-chores` (both SSR and browser).
|
|
- **Direct client calls** — the chores page hits `/api/admin/:famId/assigned-chores` directly; the kanban hits `/api/members/me`.
|
|
|
|
We will tackle this as the next feature `feature/migrate-hono-to-kit`
|