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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user