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

17 lines
2.0 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PdfGroupCreateWithoutPatientInputObjectSchema as PdfGroupCreateWithoutPatientInputObjectSchema } from './PdfGroupCreateWithoutPatientInput.schema';
import { PdfGroupUncheckedCreateWithoutPatientInputObjectSchema as PdfGroupUncheckedCreateWithoutPatientInputObjectSchema } from './PdfGroupUncheckedCreateWithoutPatientInput.schema';
import { PdfGroupCreateOrConnectWithoutPatientInputObjectSchema as PdfGroupCreateOrConnectWithoutPatientInputObjectSchema } from './PdfGroupCreateOrConnectWithoutPatientInput.schema';
import { PdfGroupCreateManyPatientInputEnvelopeObjectSchema as PdfGroupCreateManyPatientInputEnvelopeObjectSchema } from './PdfGroupCreateManyPatientInputEnvelope.schema';
import { PdfGroupWhereUniqueInputObjectSchema as PdfGroupWhereUniqueInputObjectSchema } from './PdfGroupWhereUniqueInput.schema'
const makeSchema = () => z.object({
create: z.union([z.lazy(() => PdfGroupCreateWithoutPatientInputObjectSchema), z.lazy(() => PdfGroupCreateWithoutPatientInputObjectSchema).array(), z.lazy(() => PdfGroupUncheckedCreateWithoutPatientInputObjectSchema), z.lazy(() => PdfGroupUncheckedCreateWithoutPatientInputObjectSchema).array()]).optional(),
connectOrCreate: z.union([z.lazy(() => PdfGroupCreateOrConnectWithoutPatientInputObjectSchema), z.lazy(() => PdfGroupCreateOrConnectWithoutPatientInputObjectSchema).array()]).optional(),
createMany: z.lazy(() => PdfGroupCreateManyPatientInputEnvelopeObjectSchema).optional(),
connect: z.union([z.lazy(() => PdfGroupWhereUniqueInputObjectSchema), z.lazy(() => PdfGroupWhereUniqueInputObjectSchema).array()]).optional()
}).strict();
export const PdfGroupCreateNestedManyWithoutPatientInputObjectSchema: z.ZodType<Prisma.PdfGroupCreateNestedManyWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.PdfGroupCreateNestedManyWithoutPatientInput>;
export const PdfGroupCreateNestedManyWithoutPatientInputObjectZodSchema = makeSchema();