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

11 lines
1.4 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 { ServiceLineUpdateInputObjectSchema as ServiceLineUpdateInputObjectSchema } from './objects/ServiceLineUpdateInput.schema';
import { ServiceLineUncheckedUpdateInputObjectSchema as ServiceLineUncheckedUpdateInputObjectSchema } from './objects/ServiceLineUncheckedUpdateInput.schema';
import { ServiceLineWhereUniqueInputObjectSchema as ServiceLineWhereUniqueInputObjectSchema } from './objects/ServiceLineWhereUniqueInput.schema';
export const ServiceLineUpdateOneSchema: z.ZodType<Prisma.ServiceLineUpdateArgs> = z.object({ select: ServiceLineSelectObjectSchema.optional(), include: ServiceLineIncludeObjectSchema.optional(), data: z.union([ServiceLineUpdateInputObjectSchema, ServiceLineUncheckedUpdateInputObjectSchema]), where: ServiceLineWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.ServiceLineUpdateArgs>;
export const ServiceLineUpdateOneZodSchema = z.object({ select: ServiceLineSelectObjectSchema.optional(), include: ServiceLineIncludeObjectSchema.optional(), data: z.union([ServiceLineUpdateInputObjectSchema, ServiceLineUncheckedUpdateInputObjectSchema]), where: ServiceLineWhereUniqueInputObjectSchema }).strict();