Files
DentalManagement09/packages/db/shared/schemas/objects/PatientServiceHistoryUpdateManyWithWhereWithoutPatientInput.schema.ts
T

13 lines
1.3 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PatientServiceHistoryScalarWhereInputObjectSchema as PatientServiceHistoryScalarWhereInputObjectSchema } from './PatientServiceHistoryScalarWhereInput.schema';
import { PatientServiceHistoryUpdateManyMutationInputObjectSchema as PatientServiceHistoryUpdateManyMutationInputObjectSchema } from './PatientServiceHistoryUpdateManyMutationInput.schema';
import { PatientServiceHistoryUncheckedUpdateManyWithoutPatientInputObjectSchema as PatientServiceHistoryUncheckedUpdateManyWithoutPatientInputObjectSchema } from './PatientServiceHistoryUncheckedUpdateManyWithoutPatientInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => PatientServiceHistoryScalarWhereInputObjectSchema),
data: z.union([z.lazy(() => PatientServiceHistoryUpdateManyMutationInputObjectSchema), z.lazy(() => PatientServiceHistoryUncheckedUpdateManyWithoutPatientInputObjectSchema)])
}).strict();
export const PatientServiceHistoryUpdateManyWithWhereWithoutPatientInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryUpdateManyWithWhereWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryUpdateManyWithWhereWithoutPatientInput>;
export const PatientServiceHistoryUpdateManyWithWhereWithoutPatientInputObjectZodSchema = makeSchema();