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

17 lines
2.0 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { ServiceLineCreateWithoutClaimInputObjectSchema as ServiceLineCreateWithoutClaimInputObjectSchema } from './ServiceLineCreateWithoutClaimInput.schema';
import { ServiceLineUncheckedCreateWithoutClaimInputObjectSchema as ServiceLineUncheckedCreateWithoutClaimInputObjectSchema } from './ServiceLineUncheckedCreateWithoutClaimInput.schema';
import { ServiceLineCreateOrConnectWithoutClaimInputObjectSchema as ServiceLineCreateOrConnectWithoutClaimInputObjectSchema } from './ServiceLineCreateOrConnectWithoutClaimInput.schema';
import { ServiceLineCreateManyClaimInputEnvelopeObjectSchema as ServiceLineCreateManyClaimInputEnvelopeObjectSchema } from './ServiceLineCreateManyClaimInputEnvelope.schema';
import { ServiceLineWhereUniqueInputObjectSchema as ServiceLineWhereUniqueInputObjectSchema } from './ServiceLineWhereUniqueInput.schema'
const makeSchema = () => z.object({
create: z.union([z.lazy(() => ServiceLineCreateWithoutClaimInputObjectSchema), z.lazy(() => ServiceLineCreateWithoutClaimInputObjectSchema).array(), z.lazy(() => ServiceLineUncheckedCreateWithoutClaimInputObjectSchema), z.lazy(() => ServiceLineUncheckedCreateWithoutClaimInputObjectSchema).array()]).optional(),
connectOrCreate: z.union([z.lazy(() => ServiceLineCreateOrConnectWithoutClaimInputObjectSchema), z.lazy(() => ServiceLineCreateOrConnectWithoutClaimInputObjectSchema).array()]).optional(),
createMany: z.lazy(() => ServiceLineCreateManyClaimInputEnvelopeObjectSchema).optional(),
connect: z.union([z.lazy(() => ServiceLineWhereUniqueInputObjectSchema), z.lazy(() => ServiceLineWhereUniqueInputObjectSchema).array()]).optional()
}).strict();
export const ServiceLineCreateNestedManyWithoutClaimInputObjectSchema: z.ZodType<Prisma.ServiceLineCreateNestedManyWithoutClaimInput> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineCreateNestedManyWithoutClaimInput>;
export const ServiceLineCreateNestedManyWithoutClaimInputObjectZodSchema = makeSchema();