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

17 lines
1.9 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PdfFileCreateWithoutGroupInputObjectSchema as PdfFileCreateWithoutGroupInputObjectSchema } from './PdfFileCreateWithoutGroupInput.schema';
import { PdfFileUncheckedCreateWithoutGroupInputObjectSchema as PdfFileUncheckedCreateWithoutGroupInputObjectSchema } from './PdfFileUncheckedCreateWithoutGroupInput.schema';
import { PdfFileCreateOrConnectWithoutGroupInputObjectSchema as PdfFileCreateOrConnectWithoutGroupInputObjectSchema } from './PdfFileCreateOrConnectWithoutGroupInput.schema';
import { PdfFileCreateManyGroupInputEnvelopeObjectSchema as PdfFileCreateManyGroupInputEnvelopeObjectSchema } from './PdfFileCreateManyGroupInputEnvelope.schema';
import { PdfFileWhereUniqueInputObjectSchema as PdfFileWhereUniqueInputObjectSchema } from './PdfFileWhereUniqueInput.schema'
const makeSchema = () => z.object({
create: z.union([z.lazy(() => PdfFileCreateWithoutGroupInputObjectSchema), z.lazy(() => PdfFileCreateWithoutGroupInputObjectSchema).array(), z.lazy(() => PdfFileUncheckedCreateWithoutGroupInputObjectSchema), z.lazy(() => PdfFileUncheckedCreateWithoutGroupInputObjectSchema).array()]).optional(),
connectOrCreate: z.union([z.lazy(() => PdfFileCreateOrConnectWithoutGroupInputObjectSchema), z.lazy(() => PdfFileCreateOrConnectWithoutGroupInputObjectSchema).array()]).optional(),
createMany: z.lazy(() => PdfFileCreateManyGroupInputEnvelopeObjectSchema).optional(),
connect: z.union([z.lazy(() => PdfFileWhereUniqueInputObjectSchema), z.lazy(() => PdfFileWhereUniqueInputObjectSchema).array()]).optional()
}).strict();
export const PdfFileCreateNestedManyWithoutGroupInputObjectSchema: z.ZodType<Prisma.PdfFileCreateNestedManyWithoutGroupInput> = makeSchema() as unknown as z.ZodType<Prisma.PdfFileCreateNestedManyWithoutGroupInput>;
export const PdfFileCreateNestedManyWithoutGroupInputObjectZodSchema = makeSchema();