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

17 lines
2.3 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { AppointmentProcedureCreateWithoutPatientInputObjectSchema as AppointmentProcedureCreateWithoutPatientInputObjectSchema } from './AppointmentProcedureCreateWithoutPatientInput.schema';
import { AppointmentProcedureUncheckedCreateWithoutPatientInputObjectSchema as AppointmentProcedureUncheckedCreateWithoutPatientInputObjectSchema } from './AppointmentProcedureUncheckedCreateWithoutPatientInput.schema';
import { AppointmentProcedureCreateOrConnectWithoutPatientInputObjectSchema as AppointmentProcedureCreateOrConnectWithoutPatientInputObjectSchema } from './AppointmentProcedureCreateOrConnectWithoutPatientInput.schema';
import { AppointmentProcedureCreateManyPatientInputEnvelopeObjectSchema as AppointmentProcedureCreateManyPatientInputEnvelopeObjectSchema } from './AppointmentProcedureCreateManyPatientInputEnvelope.schema';
import { AppointmentProcedureWhereUniqueInputObjectSchema as AppointmentProcedureWhereUniqueInputObjectSchema } from './AppointmentProcedureWhereUniqueInput.schema'
const makeSchema = () => z.object({
create: z.union([z.lazy(() => AppointmentProcedureCreateWithoutPatientInputObjectSchema), z.lazy(() => AppointmentProcedureCreateWithoutPatientInputObjectSchema).array(), z.lazy(() => AppointmentProcedureUncheckedCreateWithoutPatientInputObjectSchema), z.lazy(() => AppointmentProcedureUncheckedCreateWithoutPatientInputObjectSchema).array()]).optional(),
connectOrCreate: z.union([z.lazy(() => AppointmentProcedureCreateOrConnectWithoutPatientInputObjectSchema), z.lazy(() => AppointmentProcedureCreateOrConnectWithoutPatientInputObjectSchema).array()]).optional(),
createMany: z.lazy(() => AppointmentProcedureCreateManyPatientInputEnvelopeObjectSchema).optional(),
connect: z.union([z.lazy(() => AppointmentProcedureWhereUniqueInputObjectSchema), z.lazy(() => AppointmentProcedureWhereUniqueInputObjectSchema).array()]).optional()
}).strict();
export const AppointmentProcedureCreateNestedManyWithoutPatientInputObjectSchema: z.ZodType<Prisma.AppointmentProcedureCreateNestedManyWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentProcedureCreateNestedManyWithoutPatientInput>;
export const AppointmentProcedureCreateNestedManyWithoutPatientInputObjectZodSchema = makeSchema();