Files
DentalManagement09/packages/db/shared/schemas/objects/PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInput.schema.ts
T

17 lines
2.4 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PatientServiceHistoryCreateWithoutPatientInputObjectSchema as PatientServiceHistoryCreateWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateWithoutPatientInput.schema';
import { PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema as PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema } from './PatientServiceHistoryUncheckedCreateWithoutPatientInput.schema';
import { PatientServiceHistoryCreateOrConnectWithoutPatientInputObjectSchema as PatientServiceHistoryCreateOrConnectWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateOrConnectWithoutPatientInput.schema';
import { PatientServiceHistoryCreateManyPatientInputEnvelopeObjectSchema as PatientServiceHistoryCreateManyPatientInputEnvelopeObjectSchema } from './PatientServiceHistoryCreateManyPatientInputEnvelope.schema';
import { PatientServiceHistoryWhereUniqueInputObjectSchema as PatientServiceHistoryWhereUniqueInputObjectSchema } from './PatientServiceHistoryWhereUniqueInput.schema'
const makeSchema = () => z.object({
create: z.union([z.lazy(() => PatientServiceHistoryCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryCreateWithoutPatientInputObjectSchema).array(), z.lazy(() => PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema).array()]).optional(),
connectOrCreate: z.union([z.lazy(() => PatientServiceHistoryCreateOrConnectWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryCreateOrConnectWithoutPatientInputObjectSchema).array()]).optional(),
createMany: z.lazy(() => PatientServiceHistoryCreateManyPatientInputEnvelopeObjectSchema).optional(),
connect: z.union([z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema), z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema).array()]).optional()
}).strict();
export const PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInput>;
export const PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInputObjectZodSchema = makeSchema();