13 lines
1.1 KiB
TypeScript
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 { PdfFileUpdateWithoutGroupInputObjectSchema as PdfFileUpdateWithoutGroupInputObjectSchema } from './PdfFileUpdateWithoutGroupInput.schema';
|
|
import { PdfFileUncheckedUpdateWithoutGroupInputObjectSchema as PdfFileUncheckedUpdateWithoutGroupInputObjectSchema } from './PdfFileUncheckedUpdateWithoutGroupInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => PdfFileWhereUniqueInputObjectSchema),
|
|
data: z.union([z.lazy(() => PdfFileUpdateWithoutGroupInputObjectSchema), z.lazy(() => PdfFileUncheckedUpdateWithoutGroupInputObjectSchema)])
|
|
}).strict();
|
|
export const PdfFileUpdateWithWhereUniqueWithoutGroupInputObjectSchema: z.ZodType<Prisma.PdfFileUpdateWithWhereUniqueWithoutGroupInput> = makeSchema() as unknown as z.ZodType<Prisma.PdfFileUpdateWithWhereUniqueWithoutGroupInput>;
|
|
export const PdfFileUpdateWithWhereUniqueWithoutGroupInputObjectZodSchema = makeSchema();
|