Files
DentalManagementE/packages/db/shared/schemas/objects/PatientUpdateWithWhereUniqueWithoutUserInput.schema.ts
2025-05-08 21:27:29 +05:30

19 lines
807 B
TypeScript

import { z } from 'zod';
import { PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema';
import { PatientUpdateWithoutUserInputObjectSchema } from './PatientUpdateWithoutUserInput.schema';
import { PatientUncheckedUpdateWithoutUserInputObjectSchema } from './PatientUncheckedUpdateWithoutUserInput.schema';
import type { Prisma } from '../../../generated/prisma';
const Schema: z.ZodType<Prisma.PatientUpdateWithWhereUniqueWithoutUserInput> = z
.object({
where: z.lazy(() => PatientWhereUniqueInputObjectSchema),
data: z.union([
z.lazy(() => PatientUpdateWithoutUserInputObjectSchema),
z.lazy(() => PatientUncheckedUpdateWithoutUserInputObjectSchema),
]),
})
.strict();
export const PatientUpdateWithWhereUniqueWithoutUserInputObjectSchema = Schema;