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