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 { PatientCreateWithoutProceduresInputObjectSchema as PatientCreateWithoutProceduresInputObjectSchema } from './PatientCreateWithoutProceduresInput.schema';
|
||||
import { PatientUncheckedCreateWithoutProceduresInputObjectSchema as PatientUncheckedCreateWithoutProceduresInputObjectSchema } from './PatientUncheckedCreateWithoutProceduresInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => PatientWhereUniqueInputObjectSchema),
|
||||
create: z.union([z.lazy(() => PatientCreateWithoutProceduresInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutProceduresInputObjectSchema)])
|
||||
}).strict();
|
||||
export const PatientCreateOrConnectWithoutProceduresInputObjectSchema: z.ZodType<Prisma.PatientCreateOrConnectWithoutProceduresInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateOrConnectWithoutProceduresInput>;
|
||||
export const PatientCreateOrConnectWithoutProceduresInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user