feat: add health alerts field and delete actions for pets and clients

- Add health_alerts column to pets table (migration 0001)
- Update DB schema, shared types, and API Zod validation
- Show health alerts prominently (red badge) in pet cards
- Add health alerts field to pet form with allergy/condition placeholder
- Add delete button per pet with confirmation dialog
- Add delete client button with cascade warning

Closes groombook/groombook#2

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Groom Book CTO
2026-03-17 19:38:40 +00:00
parent 43e50255ec
commit 8452b8924e
6 changed files with 84 additions and 5 deletions
+1
View File
@@ -27,6 +27,7 @@ export interface Pet {
breed: string | null;
weightKg: number | null;
dateOfBirth: string | null;
healthAlerts: string | null;
groomingNotes: string | null;
createdAt: string;
updatedAt: string;