16 lines
1.9 KiB
TypeScript
16 lines
1.9 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { AppointmentProcedureWhereUniqueInputObjectSchema as AppointmentProcedureWhereUniqueInputObjectSchema } from './AppointmentProcedureWhereUniqueInput.schema';
|
|
import { AppointmentProcedureUpdateWithoutPatientInputObjectSchema as AppointmentProcedureUpdateWithoutPatientInputObjectSchema } from './AppointmentProcedureUpdateWithoutPatientInput.schema';
|
|
import { AppointmentProcedureUncheckedUpdateWithoutPatientInputObjectSchema as AppointmentProcedureUncheckedUpdateWithoutPatientInputObjectSchema } from './AppointmentProcedureUncheckedUpdateWithoutPatientInput.schema';
|
|
import { AppointmentProcedureCreateWithoutPatientInputObjectSchema as AppointmentProcedureCreateWithoutPatientInputObjectSchema } from './AppointmentProcedureCreateWithoutPatientInput.schema';
|
|
import { AppointmentProcedureUncheckedCreateWithoutPatientInputObjectSchema as AppointmentProcedureUncheckedCreateWithoutPatientInputObjectSchema } from './AppointmentProcedureUncheckedCreateWithoutPatientInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => AppointmentProcedureWhereUniqueInputObjectSchema),
|
|
update: z.union([z.lazy(() => AppointmentProcedureUpdateWithoutPatientInputObjectSchema), z.lazy(() => AppointmentProcedureUncheckedUpdateWithoutPatientInputObjectSchema)]),
|
|
create: z.union([z.lazy(() => AppointmentProcedureCreateWithoutPatientInputObjectSchema), z.lazy(() => AppointmentProcedureUncheckedCreateWithoutPatientInputObjectSchema)])
|
|
}).strict();
|
|
export const AppointmentProcedureUpsertWithWhereUniqueWithoutPatientInputObjectSchema: z.ZodType<Prisma.AppointmentProcedureUpsertWithWhereUniqueWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentProcedureUpsertWithWhereUniqueWithoutPatientInput>;
|
|
export const AppointmentProcedureUpsertWithWhereUniqueWithoutPatientInputObjectZodSchema = makeSchema();
|