- 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>
8 lines
858 B
TypeScript
8 lines
858 B
TypeScript
import type { Prisma } from '../../generated/prisma';
|
|
import * as z from 'zod';
|
|
import { OfficeContactUpdateManyMutationInputObjectSchema as OfficeContactUpdateManyMutationInputObjectSchema } from './objects/OfficeContactUpdateManyMutationInput.schema';
|
|
import { OfficeContactWhereInputObjectSchema as OfficeContactWhereInputObjectSchema } from './objects/OfficeContactWhereInput.schema';
|
|
|
|
export const OfficeContactUpdateManySchema: z.ZodType<Prisma.OfficeContactUpdateManyArgs> = z.object({ data: OfficeContactUpdateManyMutationInputObjectSchema, where: OfficeContactWhereInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.OfficeContactUpdateManyArgs>;
|
|
|
|
export const OfficeContactUpdateManyZodSchema = z.object({ data: OfficeContactUpdateManyMutationInputObjectSchema, where: OfficeContactWhereInputObjectSchema.optional() }).strict(); |