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

9 lines
1.0 KiB
TypeScript

import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { CommunicationSelectObjectSchema as CommunicationSelectObjectSchema } from './objects/CommunicationSelect.schema';
import { CommunicationIncludeObjectSchema as CommunicationIncludeObjectSchema } from './objects/CommunicationInclude.schema';
import { CommunicationWhereUniqueInputObjectSchema as CommunicationWhereUniqueInputObjectSchema } from './objects/CommunicationWhereUniqueInput.schema';
export const CommunicationDeleteOneSchema: z.ZodType<Prisma.CommunicationDeleteArgs> = z.object({ select: CommunicationSelectObjectSchema.optional(), include: CommunicationIncludeObjectSchema.optional(), where: CommunicationWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.CommunicationDeleteArgs>;
export const CommunicationDeleteOneZodSchema = z.object({ select: CommunicationSelectObjectSchema.optional(), include: CommunicationIncludeObjectSchema.optional(), where: CommunicationWhereUniqueInputObjectSchema }).strict();