initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientUpdateWithoutDocumentsInputObjectSchema as PatientUpdateWithoutDocumentsInputObjectSchema } from './PatientUpdateWithoutDocumentsInput.schema';
|
||||
import { PatientUncheckedUpdateWithoutDocumentsInputObjectSchema as PatientUncheckedUpdateWithoutDocumentsInputObjectSchema } from './PatientUncheckedUpdateWithoutDocumentsInput.schema';
|
||||
import { PatientCreateWithoutDocumentsInputObjectSchema as PatientCreateWithoutDocumentsInputObjectSchema } from './PatientCreateWithoutDocumentsInput.schema';
|
||||
import { PatientUncheckedCreateWithoutDocumentsInputObjectSchema as PatientUncheckedCreateWithoutDocumentsInputObjectSchema } from './PatientUncheckedCreateWithoutDocumentsInput.schema';
|
||||
import { PatientWhereInputObjectSchema as PatientWhereInputObjectSchema } from './PatientWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
update: z.union([z.lazy(() => PatientUpdateWithoutDocumentsInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutDocumentsInputObjectSchema)]),
|
||||
create: z.union([z.lazy(() => PatientCreateWithoutDocumentsInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutDocumentsInputObjectSchema)]),
|
||||
where: z.lazy(() => PatientWhereInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUpsertWithoutDocumentsInputObjectSchema: z.ZodType<Prisma.PatientUpsertWithoutDocumentsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUpsertWithoutDocumentsInput>;
|
||||
export const PatientUpsertWithoutDocumentsInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user