13 lines
1.3 KiB
TypeScript
13 lines
1.3 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { AppointmentProcedureWhereUniqueInputObjectSchema as AppointmentProcedureWhereUniqueInputObjectSchema } from './AppointmentProcedureWhereUniqueInput.schema';
|
|
import { AppointmentProcedureCreateWithoutAppointmentInputObjectSchema as AppointmentProcedureCreateWithoutAppointmentInputObjectSchema } from './AppointmentProcedureCreateWithoutAppointmentInput.schema';
|
|
import { AppointmentProcedureUncheckedCreateWithoutAppointmentInputObjectSchema as AppointmentProcedureUncheckedCreateWithoutAppointmentInputObjectSchema } from './AppointmentProcedureUncheckedCreateWithoutAppointmentInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => AppointmentProcedureWhereUniqueInputObjectSchema),
|
|
create: z.union([z.lazy(() => AppointmentProcedureCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentProcedureUncheckedCreateWithoutAppointmentInputObjectSchema)])
|
|
}).strict();
|
|
export const AppointmentProcedureCreateOrConnectWithoutAppointmentInputObjectSchema: z.ZodType<Prisma.AppointmentProcedureCreateOrConnectWithoutAppointmentInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentProcedureCreateOrConnectWithoutAppointmentInput>;
|
|
export const AppointmentProcedureCreateOrConnectWithoutAppointmentInputObjectZodSchema = makeSchema();
|