16 lines
1.5 KiB
TypeScript
16 lines
1.5 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';
|
|
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();
|