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

19 lines
830 B
TypeScript

import { z } from 'zod';
import { PatientScalarWhereInputObjectSchema } from './PatientScalarWhereInput.schema';
import { PatientUpdateManyMutationInputObjectSchema } from './PatientUpdateManyMutationInput.schema';
import { PatientUncheckedUpdateManyWithoutPatientsInputObjectSchema } from './PatientUncheckedUpdateManyWithoutPatientsInput.schema';
import type { Prisma } from '../../../generated/prisma';
const Schema: z.ZodType<Prisma.PatientUpdateManyWithWhereWithoutUserInput> = z
.object({
where: z.lazy(() => PatientScalarWhereInputObjectSchema),
data: z.union([
z.lazy(() => PatientUpdateManyMutationInputObjectSchema),
z.lazy(() => PatientUncheckedUpdateManyWithoutPatientsInputObjectSchema),
]),
})
.strict();
export const PatientUpdateManyWithWhereWithoutUserInputObjectSchema = Schema;