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

17 lines
2.5 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { ServiceLineTransactionCreateWithoutServiceLineInputObjectSchema as ServiceLineTransactionCreateWithoutServiceLineInputObjectSchema } from './ServiceLineTransactionCreateWithoutServiceLineInput.schema';
import { ServiceLineTransactionUncheckedCreateWithoutServiceLineInputObjectSchema as ServiceLineTransactionUncheckedCreateWithoutServiceLineInputObjectSchema } from './ServiceLineTransactionUncheckedCreateWithoutServiceLineInput.schema';
import { ServiceLineTransactionCreateOrConnectWithoutServiceLineInputObjectSchema as ServiceLineTransactionCreateOrConnectWithoutServiceLineInputObjectSchema } from './ServiceLineTransactionCreateOrConnectWithoutServiceLineInput.schema';
import { ServiceLineTransactionCreateManyServiceLineInputEnvelopeObjectSchema as ServiceLineTransactionCreateManyServiceLineInputEnvelopeObjectSchema } from './ServiceLineTransactionCreateManyServiceLineInputEnvelope.schema';
import { ServiceLineTransactionWhereUniqueInputObjectSchema as ServiceLineTransactionWhereUniqueInputObjectSchema } from './ServiceLineTransactionWhereUniqueInput.schema'
const makeSchema = () => z.object({
create: z.union([z.lazy(() => ServiceLineTransactionCreateWithoutServiceLineInputObjectSchema), z.lazy(() => ServiceLineTransactionCreateWithoutServiceLineInputObjectSchema).array(), z.lazy(() => ServiceLineTransactionUncheckedCreateWithoutServiceLineInputObjectSchema), z.lazy(() => ServiceLineTransactionUncheckedCreateWithoutServiceLineInputObjectSchema).array()]).optional(),
connectOrCreate: z.union([z.lazy(() => ServiceLineTransactionCreateOrConnectWithoutServiceLineInputObjectSchema), z.lazy(() => ServiceLineTransactionCreateOrConnectWithoutServiceLineInputObjectSchema).array()]).optional(),
createMany: z.lazy(() => ServiceLineTransactionCreateManyServiceLineInputEnvelopeObjectSchema).optional(),
connect: z.union([z.lazy(() => ServiceLineTransactionWhereUniqueInputObjectSchema), z.lazy(() => ServiceLineTransactionWhereUniqueInputObjectSchema).array()]).optional()
}).strict();
export const ServiceLineTransactionUncheckedCreateNestedManyWithoutServiceLineInputObjectSchema: z.ZodType<Prisma.ServiceLineTransactionUncheckedCreateNestedManyWithoutServiceLineInput> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineTransactionUncheckedCreateNestedManyWithoutServiceLineInput>;
export const ServiceLineTransactionUncheckedCreateNestedManyWithoutServiceLineInputObjectZodSchema = makeSchema();