initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientWhereUniqueInputObjectSchema as PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema';
|
||||
import { PatientCreateWithoutPaymentInputObjectSchema as PatientCreateWithoutPaymentInputObjectSchema } from './PatientCreateWithoutPaymentInput.schema';
|
||||
import { PatientUncheckedCreateWithoutPaymentInputObjectSchema as PatientUncheckedCreateWithoutPaymentInputObjectSchema } from './PatientUncheckedCreateWithoutPaymentInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => PatientWhereUniqueInputObjectSchema),
|
||||
create: z.union([z.lazy(() => PatientCreateWithoutPaymentInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutPaymentInputObjectSchema)])
|
||||
}).strict();
|
||||
export const PatientCreateOrConnectWithoutPaymentInputObjectSchema: z.ZodType<Prisma.PatientCreateOrConnectWithoutPaymentInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateOrConnectWithoutPaymentInput>;
|
||||
export const PatientCreateOrConnectWithoutPaymentInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user