Files
DentalManagementMHAprilgg/packages/db/shared/schemas/objects/ServiceLineCreateOrConnectWithoutClaimInput.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 { ServiceLineWhereUniqueInputObjectSchema as ServiceLineWhereUniqueInputObjectSchema } from './ServiceLineWhereUniqueInput.schema';
import { ServiceLineCreateWithoutClaimInputObjectSchema as ServiceLineCreateWithoutClaimInputObjectSchema } from './ServiceLineCreateWithoutClaimInput.schema';
import { ServiceLineUncheckedCreateWithoutClaimInputObjectSchema as ServiceLineUncheckedCreateWithoutClaimInputObjectSchema } from './ServiceLineUncheckedCreateWithoutClaimInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => ServiceLineWhereUniqueInputObjectSchema),
create: z.union([z.lazy(() => ServiceLineCreateWithoutClaimInputObjectSchema), z.lazy(() => ServiceLineUncheckedCreateWithoutClaimInputObjectSchema)])
}).strict();
export const ServiceLineCreateOrConnectWithoutClaimInputObjectSchema: z.ZodType<Prisma.ServiceLineCreateOrConnectWithoutClaimInput> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineCreateOrConnectWithoutClaimInput>;
export const ServiceLineCreateOrConnectWithoutClaimInputObjectZodSchema = makeSchema();