Files
DentalManagementMH06/packages/db/shared/schemas/objects/AppointmentFileUpdateWithoutAppointmentInput.schema.ts

13 lines
1.1 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema';
import { NullableStringFieldUpdateOperationsInputObjectSchema as NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'
const makeSchema = () => z.object({
filename: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
mimeType: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
filePath: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable()
}).strict();
export const AppointmentFileUpdateWithoutAppointmentInputObjectSchema: z.ZodType<Prisma.AppointmentFileUpdateWithoutAppointmentInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileUpdateWithoutAppointmentInput>;
export const AppointmentFileUpdateWithoutAppointmentInputObjectZodSchema = makeSchema();