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

24 lines
945 B
TypeScript

import { z } from 'zod';
import { AppointmentScalarWhereInputObjectSchema } from './AppointmentScalarWhereInput.schema';
import { AppointmentUpdateManyMutationInputObjectSchema } from './AppointmentUpdateManyMutationInput.schema';
import { AppointmentUncheckedUpdateManyWithoutAppointmentsInputObjectSchema } from './AppointmentUncheckedUpdateManyWithoutAppointmentsInput.schema';
import type { Prisma } from '../../../generated/prisma';
const Schema: z.ZodType<Prisma.AppointmentUpdateManyWithWhereWithoutPatientInput> =
z
.object({
where: z.lazy(() => AppointmentScalarWhereInputObjectSchema),
data: z.union([
z.lazy(() => AppointmentUpdateManyMutationInputObjectSchema),
z.lazy(
() =>
AppointmentUncheckedUpdateManyWithoutAppointmentsInputObjectSchema,
),
]),
})
.strict();
export const AppointmentUpdateManyWithWhereWithoutPatientInputObjectSchema =
Schema;