initial commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientCreateWithoutProceduresInputObjectSchema as PatientCreateWithoutProceduresInputObjectSchema } from './PatientCreateWithoutProceduresInput.schema';
|
||||
import { PatientUncheckedCreateWithoutProceduresInputObjectSchema as PatientUncheckedCreateWithoutProceduresInputObjectSchema } from './PatientUncheckedCreateWithoutProceduresInput.schema';
|
||||
import { PatientCreateOrConnectWithoutProceduresInputObjectSchema as PatientCreateOrConnectWithoutProceduresInputObjectSchema } from './PatientCreateOrConnectWithoutProceduresInput.schema';
|
||||
import { PatientWhereUniqueInputObjectSchema as PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => PatientCreateWithoutProceduresInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutProceduresInputObjectSchema)]).optional(),
|
||||
connectOrCreate: z.lazy(() => PatientCreateOrConnectWithoutProceduresInputObjectSchema).optional(),
|
||||
connect: z.lazy(() => PatientWhereUniqueInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCreateNestedOneWithoutProceduresInputObjectSchema: z.ZodType<Prisma.PatientCreateNestedOneWithoutProceduresInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateNestedOneWithoutProceduresInput>;
|
||||
export const PatientCreateNestedOneWithoutProceduresInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user