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