initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientUpdateWithoutProceduresInputObjectSchema as PatientUpdateWithoutProceduresInputObjectSchema } from './PatientUpdateWithoutProceduresInput.schema';
|
||||
import { PatientUncheckedUpdateWithoutProceduresInputObjectSchema as PatientUncheckedUpdateWithoutProceduresInputObjectSchema } from './PatientUncheckedUpdateWithoutProceduresInput.schema';
|
||||
import { PatientCreateWithoutProceduresInputObjectSchema as PatientCreateWithoutProceduresInputObjectSchema } from './PatientCreateWithoutProceduresInput.schema';
|
||||
import { PatientUncheckedCreateWithoutProceduresInputObjectSchema as PatientUncheckedCreateWithoutProceduresInputObjectSchema } from './PatientUncheckedCreateWithoutProceduresInput.schema';
|
||||
import { PatientWhereInputObjectSchema as PatientWhereInputObjectSchema } from './PatientWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
update: z.union([z.lazy(() => PatientUpdateWithoutProceduresInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutProceduresInputObjectSchema)]),
|
||||
create: z.union([z.lazy(() => PatientCreateWithoutProceduresInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutProceduresInputObjectSchema)]),
|
||||
where: z.lazy(() => PatientWhereInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUpsertWithoutProceduresInputObjectSchema: z.ZodType<Prisma.PatientUpsertWithoutProceduresInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUpsertWithoutProceduresInput>;
|
||||
export const PatientUpsertWithoutProceduresInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user