Files
DentalManagementMHAprilgg/packages/db/shared/schemas/objects/AppointmentCreateOrConnectWithoutProceduresInput.schema.ts
2026-04-04 22:13:55 -04:00

13 lines
1.2 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { AppointmentWhereUniqueInputObjectSchema as AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema';
import { AppointmentCreateWithoutProceduresInputObjectSchema as AppointmentCreateWithoutProceduresInputObjectSchema } from './AppointmentCreateWithoutProceduresInput.schema';
import { AppointmentUncheckedCreateWithoutProceduresInputObjectSchema as AppointmentUncheckedCreateWithoutProceduresInputObjectSchema } from './AppointmentUncheckedCreateWithoutProceduresInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => AppointmentWhereUniqueInputObjectSchema),
create: z.union([z.lazy(() => AppointmentCreateWithoutProceduresInputObjectSchema), z.lazy(() => AppointmentUncheckedCreateWithoutProceduresInputObjectSchema)])
}).strict();
export const AppointmentCreateOrConnectWithoutProceduresInputObjectSchema: z.ZodType<Prisma.AppointmentCreateOrConnectWithoutProceduresInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentCreateOrConnectWithoutProceduresInput>;
export const AppointmentCreateOrConnectWithoutProceduresInputObjectZodSchema = makeSchema();