16 lines
1.5 KiB
TypeScript
16 lines
1.5 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { ClaimWhereUniqueInputObjectSchema as ClaimWhereUniqueInputObjectSchema } from './ClaimWhereUniqueInput.schema';
|
|
import { ClaimUpdateWithoutPatientInputObjectSchema as ClaimUpdateWithoutPatientInputObjectSchema } from './ClaimUpdateWithoutPatientInput.schema';
|
|
import { ClaimUncheckedUpdateWithoutPatientInputObjectSchema as ClaimUncheckedUpdateWithoutPatientInputObjectSchema } from './ClaimUncheckedUpdateWithoutPatientInput.schema';
|
|
import { ClaimCreateWithoutPatientInputObjectSchema as ClaimCreateWithoutPatientInputObjectSchema } from './ClaimCreateWithoutPatientInput.schema';
|
|
import { ClaimUncheckedCreateWithoutPatientInputObjectSchema as ClaimUncheckedCreateWithoutPatientInputObjectSchema } from './ClaimUncheckedCreateWithoutPatientInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => ClaimWhereUniqueInputObjectSchema),
|
|
update: z.union([z.lazy(() => ClaimUpdateWithoutPatientInputObjectSchema), z.lazy(() => ClaimUncheckedUpdateWithoutPatientInputObjectSchema)]),
|
|
create: z.union([z.lazy(() => ClaimCreateWithoutPatientInputObjectSchema), z.lazy(() => ClaimUncheckedCreateWithoutPatientInputObjectSchema)])
|
|
}).strict();
|
|
export const ClaimUpsertWithWhereUniqueWithoutPatientInputObjectSchema: z.ZodType<Prisma.ClaimUpsertWithWhereUniqueWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.ClaimUpsertWithWhereUniqueWithoutPatientInput>;
|
|
export const ClaimUpsertWithWhereUniqueWithoutPatientInputObjectZodSchema = makeSchema();
|