24 lines
939 B
TypeScript
24 lines
939 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.AppointmentUpdateManyWithWhereWithoutUserInput> =
|
|
z
|
|
.object({
|
|
where: z.lazy(() => AppointmentScalarWhereInputObjectSchema),
|
|
data: z.union([
|
|
z.lazy(() => AppointmentUpdateManyMutationInputObjectSchema),
|
|
z.lazy(
|
|
() =>
|
|
AppointmentUncheckedUpdateManyWithoutAppointmentsInputObjectSchema,
|
|
),
|
|
]),
|
|
})
|
|
.strict();
|
|
|
|
export const AppointmentUpdateManyWithWhereWithoutUserInputObjectSchema =
|
|
Schema;
|