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

13 lines
1.3 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { ServiceLineWhereUniqueInputObjectSchema as ServiceLineWhereUniqueInputObjectSchema } from './ServiceLineWhereUniqueInput.schema';
import { ServiceLineCreateWithoutServiceLineTransactionsInputObjectSchema as ServiceLineCreateWithoutServiceLineTransactionsInputObjectSchema } from './ServiceLineCreateWithoutServiceLineTransactionsInput.schema';
import { ServiceLineUncheckedCreateWithoutServiceLineTransactionsInputObjectSchema as ServiceLineUncheckedCreateWithoutServiceLineTransactionsInputObjectSchema } from './ServiceLineUncheckedCreateWithoutServiceLineTransactionsInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => ServiceLineWhereUniqueInputObjectSchema),
create: z.union([z.lazy(() => ServiceLineCreateWithoutServiceLineTransactionsInputObjectSchema), z.lazy(() => ServiceLineUncheckedCreateWithoutServiceLineTransactionsInputObjectSchema)])
}).strict();
export const ServiceLineCreateOrConnectWithoutServiceLineTransactionsInputObjectSchema: z.ZodType<Prisma.ServiceLineCreateOrConnectWithoutServiceLineTransactionsInput> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineCreateOrConnectWithoutServiceLineTransactionsInput>;
export const ServiceLineCreateOrConnectWithoutServiceLineTransactionsInputObjectZodSchema = makeSchema();