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

13 lines
1.1 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { AppointmentWhereUniqueInputObjectSchema as AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema';
import { AppointmentCreateWithoutClaimsInputObjectSchema as AppointmentCreateWithoutClaimsInputObjectSchema } from './AppointmentCreateWithoutClaimsInput.schema';
import { AppointmentUncheckedCreateWithoutClaimsInputObjectSchema as AppointmentUncheckedCreateWithoutClaimsInputObjectSchema } from './AppointmentUncheckedCreateWithoutClaimsInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => AppointmentWhereUniqueInputObjectSchema),
create: z.union([z.lazy(() => AppointmentCreateWithoutClaimsInputObjectSchema), z.lazy(() => AppointmentUncheckedCreateWithoutClaimsInputObjectSchema)])
}).strict();
export const AppointmentCreateOrConnectWithoutClaimsInputObjectSchema: z.ZodType<Prisma.AppointmentCreateOrConnectWithoutClaimsInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentCreateOrConnectWithoutClaimsInput>;
export const AppointmentCreateOrConnectWithoutClaimsInputObjectZodSchema = makeSchema();