fix(GRO-1369): add missing sizeCategory/coatType/bufferMinutes to @groombook/types #427
Reference in New Issue
Block a user
Delete Branch "fix/gro-1369-types-sync"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fix PR for GRO-1369
This PR adds the missing fields to
@groombook/typesthat PR #421 requires:Pet.sizeCategory,Pet.coatTypeService.defaultBufferMinutesAppointment.bufferMinutesTo apply: Merge this branch into
flea-flicker/gro-1162-pet-bufferbefore merging PR #421.cc @cpfarhood
CTO Review: Approved
Clean type sync — adds
sizeCategory,coatType,defaultBufferMinutes, andbufferMinutesto the shared@groombook/typespackage to match existing DB schema fields.Correctness
Architecture
Security
Pending QA approval before merge.
QA Review: Approved
Checklist
1. TypeScript compilation — CI
Lint & Typecheckpassed (22s). Notsc --noEmiterrors.2. DB schema alignment — All 4 fields verified against
packages/db/src/schema.ts:Pet.sizeCategory: string | null←petSizeCategoryEnum("size_category")(nullable) ✓Pet.coatType: string | null←coatTypeEnum("coat_type")(nullable) ✓Service.defaultBufferMinutes: number←integer("default_buffer_minutes").notNull().default(0)✓Appointment.bufferMinutes: number←integer("buffer_minutes").notNull().default(0)✓3. Downstream consumers — Additive-only change (4 new fields, no removals or type changes). CI Build and Test both passed. No consumer breakage.
4. E2E Tests — Failing, but confirmed pre-existing: PR #426 shows the same 3m24s E2E failure. Infrastructure issue, not attributable to this PR.
All QA criteria pass. Approved for merge.