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

17 lines
2.1 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CommunicationCreateWithoutPatientInputObjectSchema as CommunicationCreateWithoutPatientInputObjectSchema } from './CommunicationCreateWithoutPatientInput.schema';
import { CommunicationUncheckedCreateWithoutPatientInputObjectSchema as CommunicationUncheckedCreateWithoutPatientInputObjectSchema } from './CommunicationUncheckedCreateWithoutPatientInput.schema';
import { CommunicationCreateOrConnectWithoutPatientInputObjectSchema as CommunicationCreateOrConnectWithoutPatientInputObjectSchema } from './CommunicationCreateOrConnectWithoutPatientInput.schema';
import { CommunicationCreateManyPatientInputEnvelopeObjectSchema as CommunicationCreateManyPatientInputEnvelopeObjectSchema } from './CommunicationCreateManyPatientInputEnvelope.schema';
import { CommunicationWhereUniqueInputObjectSchema as CommunicationWhereUniqueInputObjectSchema } from './CommunicationWhereUniqueInput.schema'
const makeSchema = () => z.object({
create: z.union([z.lazy(() => CommunicationCreateWithoutPatientInputObjectSchema), z.lazy(() => CommunicationCreateWithoutPatientInputObjectSchema).array(), z.lazy(() => CommunicationUncheckedCreateWithoutPatientInputObjectSchema), z.lazy(() => CommunicationUncheckedCreateWithoutPatientInputObjectSchema).array()]).optional(),
connectOrCreate: z.union([z.lazy(() => CommunicationCreateOrConnectWithoutPatientInputObjectSchema), z.lazy(() => CommunicationCreateOrConnectWithoutPatientInputObjectSchema).array()]).optional(),
createMany: z.lazy(() => CommunicationCreateManyPatientInputEnvelopeObjectSchema).optional(),
connect: z.union([z.lazy(() => CommunicationWhereUniqueInputObjectSchema), z.lazy(() => CommunicationWhereUniqueInputObjectSchema).array()]).optional()
}).strict();
export const CommunicationCreateNestedManyWithoutPatientInputObjectSchema: z.ZodType<Prisma.CommunicationCreateNestedManyWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.CommunicationCreateNestedManyWithoutPatientInput>;
export const CommunicationCreateNestedManyWithoutPatientInputObjectZodSchema = makeSchema();