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