Add vaccines, teeth tracking, child management, and WHO growth percentiles

- Add tooth router and vaccine router with full CRUD operations
- Implement vaccine form and list components with edit/delete functionality
- Connect denture visualization to database for persistent tooth tracking
- Add child edit dialog and delete functionality with cascade deletion
- Implement WHO growth percentile calculations for weight and height
- Update dashboard to display real data for measurements, vaccines, and teeth
- Add dialog, alert-dialog, and tooltip UI components
- Install @radix-ui/react-dialog dependency
This commit is contained in:
Philip
2026-02-16 21:16:56 +01:00
parent 84a2b3bf0d
commit e6ad08c4a9
19 changed files with 3095 additions and 81 deletions

View File

@@ -2,11 +2,15 @@ import { router } from "@/server/trpc"
import { childRouter } from "./routers/child"
import { authRouter } from "./routers/auth"
import { measurementRouter } from "./routers/measurement"
import { toothRouter } from "./routers/tooth"
import { vaccineRouter } from "./routers/vaccine"
export const appRouter = router({
child: childRouter,
auth: authRouter,
measurement: measurementRouter,
tooth: toothRouter,
vaccine: vaccineRouter,
})
// Export type helper