Files
DentalManagementMH06/packages/db/shared/schemas/createOneAppointmentFile.schema.ts

10 lines
1.3 KiB
TypeScript

import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { AppointmentFileSelectObjectSchema as AppointmentFileSelectObjectSchema } from './objects/AppointmentFileSelect.schema';
import { AppointmentFileIncludeObjectSchema as AppointmentFileIncludeObjectSchema } from './objects/AppointmentFileInclude.schema';
import { AppointmentFileCreateInputObjectSchema as AppointmentFileCreateInputObjectSchema } from './objects/AppointmentFileCreateInput.schema';
import { AppointmentFileUncheckedCreateInputObjectSchema as AppointmentFileUncheckedCreateInputObjectSchema } from './objects/AppointmentFileUncheckedCreateInput.schema';
export const AppointmentFileCreateOneSchema: z.ZodType<Prisma.AppointmentFileCreateArgs> = z.object({ select: AppointmentFileSelectObjectSchema.optional(), include: AppointmentFileIncludeObjectSchema.optional(), data: z.union([AppointmentFileCreateInputObjectSchema, AppointmentFileUncheckedCreateInputObjectSchema]) }).strict() as unknown as z.ZodType<Prisma.AppointmentFileCreateArgs>;
export const AppointmentFileCreateOneZodSchema = z.object({ select: AppointmentFileSelectObjectSchema.optional(), include: AppointmentFileIncludeObjectSchema.optional(), data: z.union([AppointmentFileCreateInputObjectSchema, AppointmentFileUncheckedCreateInputObjectSchema]) }).strict();