Files
DentalManagementMHAprilgg/packages/db/shared/schemas/objects/PdfGroupUpdateToOneWithWhereWithoutPdfsInput.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 { PdfGroupWhereInputObjectSchema as PdfGroupWhereInputObjectSchema } from './PdfGroupWhereInput.schema';
import { PdfGroupUpdateWithoutPdfsInputObjectSchema as PdfGroupUpdateWithoutPdfsInputObjectSchema } from './PdfGroupUpdateWithoutPdfsInput.schema';
import { PdfGroupUncheckedUpdateWithoutPdfsInputObjectSchema as PdfGroupUncheckedUpdateWithoutPdfsInputObjectSchema } from './PdfGroupUncheckedUpdateWithoutPdfsInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => PdfGroupWhereInputObjectSchema).optional(),
data: z.union([z.lazy(() => PdfGroupUpdateWithoutPdfsInputObjectSchema), z.lazy(() => PdfGroupUncheckedUpdateWithoutPdfsInputObjectSchema)])
}).strict();
export const PdfGroupUpdateToOneWithWhereWithoutPdfsInputObjectSchema: z.ZodType<Prisma.PdfGroupUpdateToOneWithWhereWithoutPdfsInput> = makeSchema() as unknown as z.ZodType<Prisma.PdfGroupUpdateToOneWithWhereWithoutPdfsInput>;
export const PdfGroupUpdateToOneWithWhereWithoutPdfsInputObjectZodSchema = makeSchema();