Files
DentalManagementMHAprilgg/packages/db/shared/schemas/objects/PaymentCreateOrConnectWithoutClaimInput.schema.ts
2026-04-04 22:13:55 -04:00

13 lines
1.1 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PaymentWhereUniqueInputObjectSchema as PaymentWhereUniqueInputObjectSchema } from './PaymentWhereUniqueInput.schema';
import { PaymentCreateWithoutClaimInputObjectSchema as PaymentCreateWithoutClaimInputObjectSchema } from './PaymentCreateWithoutClaimInput.schema';
import { PaymentUncheckedCreateWithoutClaimInputObjectSchema as PaymentUncheckedCreateWithoutClaimInputObjectSchema } from './PaymentUncheckedCreateWithoutClaimInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => PaymentWhereUniqueInputObjectSchema),
create: z.union([z.lazy(() => PaymentCreateWithoutClaimInputObjectSchema), z.lazy(() => PaymentUncheckedCreateWithoutClaimInputObjectSchema)])
}).strict();
export const PaymentCreateOrConnectWithoutClaimInputObjectSchema: z.ZodType<Prisma.PaymentCreateOrConnectWithoutClaimInput> = makeSchema() as unknown as z.ZodType<Prisma.PaymentCreateOrConnectWithoutClaimInput>;
export const PaymentCreateOrConnectWithoutClaimInputObjectZodSchema = makeSchema();