initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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();
|
||||
Reference in New Issue
Block a user