16 lines
1.6 KiB
TypeScript
16 lines
1.6 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { PdfGroupWhereUniqueInputObjectSchema as PdfGroupWhereUniqueInputObjectSchema } from './PdfGroupWhereUniqueInput.schema';
|
|
import { PdfGroupUpdateWithoutPatientInputObjectSchema as PdfGroupUpdateWithoutPatientInputObjectSchema } from './PdfGroupUpdateWithoutPatientInput.schema';
|
|
import { PdfGroupUncheckedUpdateWithoutPatientInputObjectSchema as PdfGroupUncheckedUpdateWithoutPatientInputObjectSchema } from './PdfGroupUncheckedUpdateWithoutPatientInput.schema';
|
|
import { PdfGroupCreateWithoutPatientInputObjectSchema as PdfGroupCreateWithoutPatientInputObjectSchema } from './PdfGroupCreateWithoutPatientInput.schema';
|
|
import { PdfGroupUncheckedCreateWithoutPatientInputObjectSchema as PdfGroupUncheckedCreateWithoutPatientInputObjectSchema } from './PdfGroupUncheckedCreateWithoutPatientInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => PdfGroupWhereUniqueInputObjectSchema),
|
|
update: z.union([z.lazy(() => PdfGroupUpdateWithoutPatientInputObjectSchema), z.lazy(() => PdfGroupUncheckedUpdateWithoutPatientInputObjectSchema)]),
|
|
create: z.union([z.lazy(() => PdfGroupCreateWithoutPatientInputObjectSchema), z.lazy(() => PdfGroupUncheckedCreateWithoutPatientInputObjectSchema)])
|
|
}).strict();
|
|
export const PdfGroupUpsertWithWhereUniqueWithoutPatientInputObjectSchema: z.ZodType<Prisma.PdfGroupUpsertWithWhereUniqueWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.PdfGroupUpsertWithWhereUniqueWithoutPatientInput>;
|
|
export const PdfGroupUpsertWithWhereUniqueWithoutPatientInputObjectZodSchema = makeSchema();
|