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

11 lines
1.5 KiB
TypeScript

import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { NotificationSelectObjectSchema as NotificationSelectObjectSchema } from './objects/NotificationSelect.schema';
import { NotificationIncludeObjectSchema as NotificationIncludeObjectSchema } from './objects/NotificationInclude.schema';
import { NotificationUpdateInputObjectSchema as NotificationUpdateInputObjectSchema } from './objects/NotificationUpdateInput.schema';
import { NotificationUncheckedUpdateInputObjectSchema as NotificationUncheckedUpdateInputObjectSchema } from './objects/NotificationUncheckedUpdateInput.schema';
import { NotificationWhereUniqueInputObjectSchema as NotificationWhereUniqueInputObjectSchema } from './objects/NotificationWhereUniqueInput.schema';
export const NotificationUpdateOneSchema: z.ZodType<Prisma.NotificationUpdateArgs> = z.object({ select: NotificationSelectObjectSchema.optional(), include: NotificationIncludeObjectSchema.optional(), data: z.union([NotificationUpdateInputObjectSchema, NotificationUncheckedUpdateInputObjectSchema]), where: NotificationWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.NotificationUpdateArgs>;
export const NotificationUpdateOneZodSchema = z.object({ select: NotificationSelectObjectSchema.optional(), include: NotificationIncludeObjectSchema.optional(), data: z.union([NotificationUpdateInputObjectSchema, NotificationUncheckedUpdateInputObjectSchema]), where: NotificationWhereUniqueInputObjectSchema }).strict();