Adds Bill and reuses Payment domain types (money → Dollars, mirroring serializeBill/serializePayment which spread the DB row and convert the money columns). Wired: bills/allBills/deletedBills → Bill[], bill/createBill/updateBill → Bill; quickPay/createPayment/updatePayment/restorePayment → Payment. Replaced api.ts's minimal PaymentRecord with the richer @/types Payment (usePaymentActions still resolves payment.id). typecheck 0, build green, 48 client tests. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| contexts | ||
| hooks | ||
| lib | ||
| pages | ||
| public/img | ||
| App.jsx | ||
| api.ts | ||
| index.css | ||
| main.jsx | ||
| types.ts | ||