Files
DentalManagementMHAprilgg/packages/db/shared/schemas/objects/PatientCreateOrConnectWithoutCommunicationsInput.schema.ts
2026-04-04 22:13:55 -04:00

13 lines
1.2 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PatientWhereUniqueInputObjectSchema as PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema';
import { PatientCreateWithoutCommunicationsInputObjectSchema as PatientCreateWithoutCommunicationsInputObjectSchema } from './PatientCreateWithoutCommunicationsInput.schema';
import { PatientUncheckedCreateWithoutCommunicationsInputObjectSchema as PatientUncheckedCreateWithoutCommunicationsInputObjectSchema } from './PatientUncheckedCreateWithoutCommunicationsInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => PatientWhereUniqueInputObjectSchema),
create: z.union([z.lazy(() => PatientCreateWithoutCommunicationsInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutCommunicationsInputObjectSchema)])
}).strict();
export const PatientCreateOrConnectWithoutCommunicationsInputObjectSchema: z.ZodType<Prisma.PatientCreateOrConnectWithoutCommunicationsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateOrConnectWithoutCommunicationsInput>;
export const PatientCreateOrConnectWithoutCommunicationsInputObjectZodSchema = makeSchema();