feat: add Office Contact settings page and reorder Advanced sidebar
- Add OfficeContact Prisma model with receptionist name, dentist name, phone, email, fax fields - Create GET/PUT /api/office-contact backend route and storage - Add OfficeContactCard frontend component under Settings > Advanced - Reorder Advanced sidebar: Office Hours → Office Contact → Twilio Settings → Google AI Settings Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -31,6 +31,7 @@ export const UserFindFirstOrThrowSelectSchema: z.ZodType<Prisma.UserSelect> = z.
|
||||
twilioSettings: z.boolean().optional(),
|
||||
aiSettings: z.boolean().optional(),
|
||||
officeHours: z.boolean().optional(),
|
||||
officeContact: z.boolean().optional(),
|
||||
_count: z.boolean().optional()
|
||||
}).strict() as unknown as z.ZodType<Prisma.UserSelect>;
|
||||
|
||||
@@ -56,6 +57,7 @@ export const UserFindFirstOrThrowSelectZodSchema = z.object({
|
||||
twilioSettings: z.boolean().optional(),
|
||||
aiSettings: z.boolean().optional(),
|
||||
officeHours: z.boolean().optional(),
|
||||
officeContact: z.boolean().optional(),
|
||||
_count: z.boolean().optional()
|
||||
}).strict();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user