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

15 lines
1.5 KiB
TypeScript

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