13 lines
1.1 KiB
TypeScript
13 lines
1.1 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { PdfGroupWhereUniqueInputObjectSchema as PdfGroupWhereUniqueInputObjectSchema } from './PdfGroupWhereUniqueInput.schema';
|
|
import { PdfGroupCreateWithoutPatientInputObjectSchema as PdfGroupCreateWithoutPatientInputObjectSchema } from './PdfGroupCreateWithoutPatientInput.schema';
|
|
import { PdfGroupUncheckedCreateWithoutPatientInputObjectSchema as PdfGroupUncheckedCreateWithoutPatientInputObjectSchema } from './PdfGroupUncheckedCreateWithoutPatientInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => PdfGroupWhereUniqueInputObjectSchema),
|
|
create: z.union([z.lazy(() => PdfGroupCreateWithoutPatientInputObjectSchema), z.lazy(() => PdfGroupUncheckedCreateWithoutPatientInputObjectSchema)])
|
|
}).strict();
|
|
export const PdfGroupCreateOrConnectWithoutPatientInputObjectSchema: z.ZodType<Prisma.PdfGroupCreateOrConnectWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.PdfGroupCreateOrConnectWithoutPatientInput>;
|
|
export const PdfGroupCreateOrConnectWithoutPatientInputObjectZodSchema = makeSchema();
|