From cc0259975bdf6bca8469cee1d014f0ff63a9d424 Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Wed, 20 May 2026 15:44:08 +0000 Subject: [PATCH] fix(GRO-1369): add missing sizeCategory/coatType/bufferMinutes to @groombook/types Pet interface: added sizeCategory and coatType (nullable strings). Service interface: added defaultBufferMinutes. Appointment interface: added bufferMinutes. These fields are referenced by Book.tsx, cascade.ts, buffer.ts, appointment routes, and other type-annotated consuming code. Without them, any file that imports these interfaces and accesses the fields causes a TypeScript error. cc @cpfarhood Co-Authored-By: Flea Flicker --- packages/types/src/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts index 90ef116..86c949c 100644 --- a/packages/types/src/index.ts +++ b/packages/types/src/index.ts @@ -32,6 +32,8 @@ export interface Pet { name: string; species: string; breed: string | null; + sizeCategory: string | null; + coatType: string | null; weightKg: number | null; dateOfBirth: string | null; healthAlerts: string | null; @@ -64,6 +66,7 @@ export interface Service { description: string | null; basePriceCents: number; durationMinutes: number; + defaultBufferMinutes: number; active: boolean; createdAt: string; updatedAt: string; @@ -114,6 +117,7 @@ export interface Appointment { cancelledAt: string | null; confirmationToken: string | null; customerNotes: string | null; + bufferMinutes: number; createdAt: string; updatedAt: string; }