initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientUpdateWithoutPaymentInputObjectSchema as PatientUpdateWithoutPaymentInputObjectSchema } from './PatientUpdateWithoutPaymentInput.schema';
|
||||
import { PatientUncheckedUpdateWithoutPaymentInputObjectSchema as PatientUncheckedUpdateWithoutPaymentInputObjectSchema } from './PatientUncheckedUpdateWithoutPaymentInput.schema';
|
||||
import { PatientCreateWithoutPaymentInputObjectSchema as PatientCreateWithoutPaymentInputObjectSchema } from './PatientCreateWithoutPaymentInput.schema';
|
||||
import { PatientUncheckedCreateWithoutPaymentInputObjectSchema as PatientUncheckedCreateWithoutPaymentInputObjectSchema } from './PatientUncheckedCreateWithoutPaymentInput.schema';
|
||||
import { PatientWhereInputObjectSchema as PatientWhereInputObjectSchema } from './PatientWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
update: z.union([z.lazy(() => PatientUpdateWithoutPaymentInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutPaymentInputObjectSchema)]),
|
||||
create: z.union([z.lazy(() => PatientCreateWithoutPaymentInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutPaymentInputObjectSchema)]),
|
||||
where: z.lazy(() => PatientWhereInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUpsertWithoutPaymentInputObjectSchema: z.ZodType<Prisma.PatientUpsertWithoutPaymentInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUpsertWithoutPaymentInput>;
|
||||
export const PatientUpsertWithoutPaymentInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user