12 lines
565 B
TypeScript
12 lines
565 B
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
|
|
|
|
const makeSchema = () => z.object({
|
|
filename: z.string(),
|
|
mimeType: z.string().optional().nullable(),
|
|
filePath: z.string().optional().nullable()
|
|
}).strict();
|
|
export const AppointmentFileCreateWithoutAppointmentInputObjectSchema: z.ZodType<Prisma.AppointmentFileCreateWithoutAppointmentInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileCreateWithoutAppointmentInput>;
|
|
export const AppointmentFileCreateWithoutAppointmentInputObjectZodSchema = makeSchema();
|