Replace inline DB queries in getTripSummary with calls to existing service functions: listDays, listAccommodations, listBudgetItems, listPackingItems, listReservations, listCollabNotes, getTripOwner, and listMembers. Budget and packing stats are now derived from the service results instead of separate COUNT/SUM queries. |
||
|---|---|---|
| .. | ||
| public | ||
| scripts | ||
| src | ||
| tests | ||
| .env.example | ||
| package-lock.json | ||
| package.json | ||
| reset-admin.js | ||
| tsconfig.json | ||
| vitest.config.ts | ||