initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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';
|
||||
import { PdfFileCreateWithoutGroupInputObjectSchema as PdfFileCreateWithoutGroupInputObjectSchema } from './PdfFileCreateWithoutGroupInput.schema';
|
||||
import { PdfFileUncheckedCreateWithoutGroupInputObjectSchema as PdfFileUncheckedCreateWithoutGroupInputObjectSchema } from './PdfFileUncheckedCreateWithoutGroupInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => PdfFileWhereUniqueInputObjectSchema),
|
||||
update: z.union([z.lazy(() => PdfFileUpdateWithoutGroupInputObjectSchema), z.lazy(() => PdfFileUncheckedUpdateWithoutGroupInputObjectSchema)]),
|
||||
create: z.union([z.lazy(() => PdfFileCreateWithoutGroupInputObjectSchema), z.lazy(() => PdfFileUncheckedCreateWithoutGroupInputObjectSchema)])
|
||||
}).strict();
|
||||
export const PdfFileUpsertWithWhereUniqueWithoutGroupInputObjectSchema: z.ZodType<Prisma.PdfFileUpsertWithWhereUniqueWithoutGroupInput> = makeSchema() as unknown as z.ZodType<Prisma.PdfFileUpsertWithWhereUniqueWithoutGroupInput>;
|
||||
export const PdfFileUpsertWithWhereUniqueWithoutGroupInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user