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

13 lines
1.1 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PatientScalarWhereInputObjectSchema as PatientScalarWhereInputObjectSchema } from './PatientScalarWhereInput.schema';
import { PatientUpdateManyMutationInputObjectSchema as PatientUpdateManyMutationInputObjectSchema } from './PatientUpdateManyMutationInput.schema';
import { PatientUncheckedUpdateManyWithoutUserInputObjectSchema as PatientUncheckedUpdateManyWithoutUserInputObjectSchema } from './PatientUncheckedUpdateManyWithoutUserInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => PatientScalarWhereInputObjectSchema),
data: z.union([z.lazy(() => PatientUpdateManyMutationInputObjectSchema), z.lazy(() => PatientUncheckedUpdateManyWithoutUserInputObjectSchema)])
}).strict();
export const PatientUpdateManyWithWhereWithoutUserInputObjectSchema: z.ZodType<Prisma.PatientUpdateManyWithWhereWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUpdateManyWithWhereWithoutUserInput>;
export const PatientUpdateManyWithWhereWithoutUserInputObjectZodSchema = makeSchema();