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

15 lines
1.4 KiB
TypeScript

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