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

16 lines
1.9 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { ServiceLineUpdateWithoutServiceLineTransactionsInputObjectSchema as ServiceLineUpdateWithoutServiceLineTransactionsInputObjectSchema } from './ServiceLineUpdateWithoutServiceLineTransactionsInput.schema';
import { ServiceLineUncheckedUpdateWithoutServiceLineTransactionsInputObjectSchema as ServiceLineUncheckedUpdateWithoutServiceLineTransactionsInputObjectSchema } from './ServiceLineUncheckedUpdateWithoutServiceLineTransactionsInput.schema';
import { ServiceLineCreateWithoutServiceLineTransactionsInputObjectSchema as ServiceLineCreateWithoutServiceLineTransactionsInputObjectSchema } from './ServiceLineCreateWithoutServiceLineTransactionsInput.schema';
import { ServiceLineUncheckedCreateWithoutServiceLineTransactionsInputObjectSchema as ServiceLineUncheckedCreateWithoutServiceLineTransactionsInputObjectSchema } from './ServiceLineUncheckedCreateWithoutServiceLineTransactionsInput.schema';
import { ServiceLineWhereInputObjectSchema as ServiceLineWhereInputObjectSchema } from './ServiceLineWhereInput.schema'
const makeSchema = () => z.object({
update: z.union([z.lazy(() => ServiceLineUpdateWithoutServiceLineTransactionsInputObjectSchema), z.lazy(() => ServiceLineUncheckedUpdateWithoutServiceLineTransactionsInputObjectSchema)]),
create: z.union([z.lazy(() => ServiceLineCreateWithoutServiceLineTransactionsInputObjectSchema), z.lazy(() => ServiceLineUncheckedCreateWithoutServiceLineTransactionsInputObjectSchema)]),
where: z.lazy(() => ServiceLineWhereInputObjectSchema).optional()
}).strict();
export const ServiceLineUpsertWithoutServiceLineTransactionsInputObjectSchema: z.ZodType<Prisma.ServiceLineUpsertWithoutServiceLineTransactionsInput> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineUpsertWithoutServiceLineTransactionsInput>;
export const ServiceLineUpsertWithoutServiceLineTransactionsInputObjectZodSchema = makeSchema();