first commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import { z } from 'zod';
|
||||
import { AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema';
|
||||
import { AppointmentUpdateWithoutPatientInputObjectSchema } from './AppointmentUpdateWithoutPatientInput.schema';
|
||||
import { AppointmentUncheckedUpdateWithoutPatientInputObjectSchema } from './AppointmentUncheckedUpdateWithoutPatientInput.schema';
|
||||
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
const Schema: z.ZodType<Prisma.AppointmentUpdateWithWhereUniqueWithoutPatientInput> =
|
||||
z
|
||||
.object({
|
||||
where: z.lazy(() => AppointmentWhereUniqueInputObjectSchema),
|
||||
data: z.union([
|
||||
z.lazy(() => AppointmentUpdateWithoutPatientInputObjectSchema),
|
||||
z.lazy(() => AppointmentUncheckedUpdateWithoutPatientInputObjectSchema),
|
||||
]),
|
||||
})
|
||||
.strict();
|
||||
|
||||
export const AppointmentUpdateWithWhereUniqueWithoutPatientInputObjectSchema =
|
||||
Schema;
|
||||
Reference in New Issue
Block a user