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

17 lines
2.1 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { ServiceLineCreateWithoutPaymentInputObjectSchema as ServiceLineCreateWithoutPaymentInputObjectSchema } from './ServiceLineCreateWithoutPaymentInput.schema';
import { ServiceLineUncheckedCreateWithoutPaymentInputObjectSchema as ServiceLineUncheckedCreateWithoutPaymentInputObjectSchema } from './ServiceLineUncheckedCreateWithoutPaymentInput.schema';
import { ServiceLineCreateOrConnectWithoutPaymentInputObjectSchema as ServiceLineCreateOrConnectWithoutPaymentInputObjectSchema } from './ServiceLineCreateOrConnectWithoutPaymentInput.schema';
import { ServiceLineCreateManyPaymentInputEnvelopeObjectSchema as ServiceLineCreateManyPaymentInputEnvelopeObjectSchema } from './ServiceLineCreateManyPaymentInputEnvelope.schema';
import { ServiceLineWhereUniqueInputObjectSchema as ServiceLineWhereUniqueInputObjectSchema } from './ServiceLineWhereUniqueInput.schema'
const makeSchema = () => z.object({
create: z.union([z.lazy(() => ServiceLineCreateWithoutPaymentInputObjectSchema), z.lazy(() => ServiceLineCreateWithoutPaymentInputObjectSchema).array(), z.lazy(() => ServiceLineUncheckedCreateWithoutPaymentInputObjectSchema), z.lazy(() => ServiceLineUncheckedCreateWithoutPaymentInputObjectSchema).array()]).optional(),
connectOrCreate: z.union([z.lazy(() => ServiceLineCreateOrConnectWithoutPaymentInputObjectSchema), z.lazy(() => ServiceLineCreateOrConnectWithoutPaymentInputObjectSchema).array()]).optional(),
createMany: z.lazy(() => ServiceLineCreateManyPaymentInputEnvelopeObjectSchema).optional(),
connect: z.union([z.lazy(() => ServiceLineWhereUniqueInputObjectSchema), z.lazy(() => ServiceLineWhereUniqueInputObjectSchema).array()]).optional()
}).strict();
export const ServiceLineUncheckedCreateNestedManyWithoutPaymentInputObjectSchema: z.ZodType<Prisma.ServiceLineUncheckedCreateNestedManyWithoutPaymentInput> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineUncheckedCreateNestedManyWithoutPaymentInput>;
export const ServiceLineUncheckedCreateNestedManyWithoutPaymentInputObjectZodSchema = makeSchema();