13 lines
1.1 KiB
TypeScript
13 lines
1.1 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { PdfGroupWhereUniqueInputObjectSchema as PdfGroupWhereUniqueInputObjectSchema } from './PdfGroupWhereUniqueInput.schema';
|
|
import { PdfGroupUpdateWithoutPatientInputObjectSchema as PdfGroupUpdateWithoutPatientInputObjectSchema } from './PdfGroupUpdateWithoutPatientInput.schema';
|
|
import { PdfGroupUncheckedUpdateWithoutPatientInputObjectSchema as PdfGroupUncheckedUpdateWithoutPatientInputObjectSchema } from './PdfGroupUncheckedUpdateWithoutPatientInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => PdfGroupWhereUniqueInputObjectSchema),
|
|
data: z.union([z.lazy(() => PdfGroupUpdateWithoutPatientInputObjectSchema), z.lazy(() => PdfGroupUncheckedUpdateWithoutPatientInputObjectSchema)])
|
|
}).strict();
|
|
export const PdfGroupUpdateWithWhereUniqueWithoutPatientInputObjectSchema: z.ZodType<Prisma.PdfGroupUpdateWithWhereUniqueWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.PdfGroupUpdateWithWhereUniqueWithoutPatientInput>;
|
|
export const PdfGroupUpdateWithWhereUniqueWithoutPatientInputObjectZodSchema = makeSchema();
|