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

13 lines
1.9 KiB
TypeScript

import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { ServiceLineSelectObjectSchema as ServiceLineSelectObjectSchema } from './objects/ServiceLineSelect.schema';
import { ServiceLineIncludeObjectSchema as ServiceLineIncludeObjectSchema } from './objects/ServiceLineInclude.schema';
import { ServiceLineWhereUniqueInputObjectSchema as ServiceLineWhereUniqueInputObjectSchema } from './objects/ServiceLineWhereUniqueInput.schema';
import { ServiceLineCreateInputObjectSchema as ServiceLineCreateInputObjectSchema } from './objects/ServiceLineCreateInput.schema';
import { ServiceLineUncheckedCreateInputObjectSchema as ServiceLineUncheckedCreateInputObjectSchema } from './objects/ServiceLineUncheckedCreateInput.schema';
import { ServiceLineUpdateInputObjectSchema as ServiceLineUpdateInputObjectSchema } from './objects/ServiceLineUpdateInput.schema';
import { ServiceLineUncheckedUpdateInputObjectSchema as ServiceLineUncheckedUpdateInputObjectSchema } from './objects/ServiceLineUncheckedUpdateInput.schema';
export const ServiceLineUpsertOneSchema: z.ZodType<Prisma.ServiceLineUpsertArgs> = z.object({ select: ServiceLineSelectObjectSchema.optional(), include: ServiceLineIncludeObjectSchema.optional(), where: ServiceLineWhereUniqueInputObjectSchema, create: z.union([ ServiceLineCreateInputObjectSchema, ServiceLineUncheckedCreateInputObjectSchema ]), update: z.union([ ServiceLineUpdateInputObjectSchema, ServiceLineUncheckedUpdateInputObjectSchema ]) }).strict() as unknown as z.ZodType<Prisma.ServiceLineUpsertArgs>;
export const ServiceLineUpsertOneZodSchema = z.object({ select: ServiceLineSelectObjectSchema.optional(), include: ServiceLineIncludeObjectSchema.optional(), where: ServiceLineWhereUniqueInputObjectSchema, create: z.union([ ServiceLineCreateInputObjectSchema, ServiceLineUncheckedCreateInputObjectSchema ]), update: z.union([ ServiceLineUpdateInputObjectSchema, ServiceLineUncheckedUpdateInputObjectSchema ]) }).strict();