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

13 lines
1.1 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PdfFileWhereUniqueInputObjectSchema as PdfFileWhereUniqueInputObjectSchema } from './PdfFileWhereUniqueInput.schema';
import { PdfFileCreateWithoutGroupInputObjectSchema as PdfFileCreateWithoutGroupInputObjectSchema } from './PdfFileCreateWithoutGroupInput.schema';
import { PdfFileUncheckedCreateWithoutGroupInputObjectSchema as PdfFileUncheckedCreateWithoutGroupInputObjectSchema } from './PdfFileUncheckedCreateWithoutGroupInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => PdfFileWhereUniqueInputObjectSchema),
create: z.union([z.lazy(() => PdfFileCreateWithoutGroupInputObjectSchema), z.lazy(() => PdfFileUncheckedCreateWithoutGroupInputObjectSchema)])
}).strict();
export const PdfFileCreateOrConnectWithoutGroupInputObjectSchema: z.ZodType<Prisma.PdfFileCreateOrConnectWithoutGroupInput> = makeSchema() as unknown as z.ZodType<Prisma.PdfFileCreateOrConnectWithoutGroupInput>;
export const PdfFileCreateOrConnectWithoutGroupInputObjectZodSchema = makeSchema();