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

15 lines
1.3 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { ClaimCreateWithoutPaymentInputObjectSchema as ClaimCreateWithoutPaymentInputObjectSchema } from './ClaimCreateWithoutPaymentInput.schema';
import { ClaimUncheckedCreateWithoutPaymentInputObjectSchema as ClaimUncheckedCreateWithoutPaymentInputObjectSchema } from './ClaimUncheckedCreateWithoutPaymentInput.schema';
import { ClaimCreateOrConnectWithoutPaymentInputObjectSchema as ClaimCreateOrConnectWithoutPaymentInputObjectSchema } from './ClaimCreateOrConnectWithoutPaymentInput.schema';
import { ClaimWhereUniqueInputObjectSchema as ClaimWhereUniqueInputObjectSchema } from './ClaimWhereUniqueInput.schema'
const makeSchema = () => z.object({
create: z.union([z.lazy(() => ClaimCreateWithoutPaymentInputObjectSchema), z.lazy(() => ClaimUncheckedCreateWithoutPaymentInputObjectSchema)]).optional(),
connectOrCreate: z.lazy(() => ClaimCreateOrConnectWithoutPaymentInputObjectSchema).optional(),
connect: z.lazy(() => ClaimWhereUniqueInputObjectSchema).optional()
}).strict();
export const ClaimCreateNestedOneWithoutPaymentInputObjectSchema: z.ZodType<Prisma.ClaimCreateNestedOneWithoutPaymentInput> = makeSchema() as unknown as z.ZodType<Prisma.ClaimCreateNestedOneWithoutPaymentInput>;
export const ClaimCreateNestedOneWithoutPaymentInputObjectZodSchema = makeSchema();