- 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>
7 lines
781 B
TypeScript
7 lines
781 B
TypeScript
import type { Prisma } from '../../generated/prisma';
|
|
import * as z from 'zod';
|
|
import { OfficeContactCreateManyInputObjectSchema as OfficeContactCreateManyInputObjectSchema } from './objects/OfficeContactCreateManyInput.schema';
|
|
|
|
export const OfficeContactCreateManySchema: z.ZodType<Prisma.OfficeContactCreateManyArgs> = z.object({ data: z.union([ OfficeContactCreateManyInputObjectSchema, z.array(OfficeContactCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.OfficeContactCreateManyArgs>;
|
|
|
|
export const OfficeContactCreateManyZodSchema = z.object({ data: z.union([ OfficeContactCreateManyInputObjectSchema, z.array(OfficeContactCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict(); |