- Add movedByAi boolean column to Appointment table (default false) - reschedule-graph: set movedByAi=true when AI moves an appointment - PATCH /api/appointments/:id/confirm endpoint clears the movedByAi flag - Schedule grid: show teal AI badge on appointment cards where movedByAi=true - Right-click context menu: 'Manually Confirmed' removes the AI badge via the confirm endpoint Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
5 lines
352 B
TypeScript
5 lines
352 B
TypeScript
import * as z from 'zod';
|
|
|
|
export const AppointmentScalarFieldEnumSchema = z.enum(['id', 'patientId', 'userId', 'staffId', 'title', 'date', 'startTime', 'endTime', 'type', 'notes', 'procedureCodeNotes', 'status', 'movedByAi', 'createdAt', 'eligibilityStatus'])
|
|
|
|
export type AppointmentScalarFieldEnum = z.infer<typeof AppointmentScalarFieldEnumSchema>; |