14 lines
599 B
TypeScript
14 lines
599 B
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
|
|
|
|
const makeSchema = () => z.object({
|
|
id: z.number().int().optional(),
|
|
appointmentId: z.number().int(),
|
|
filename: z.string(),
|
|
mimeType: z.string().optional().nullable(),
|
|
filePath: z.string().optional().nullable()
|
|
}).strict();
|
|
export const AppointmentFileUncheckedCreateInputObjectSchema: z.ZodType<Prisma.AppointmentFileUncheckedCreateInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileUncheckedCreateInput>;
|
|
export const AppointmentFileUncheckedCreateInputObjectZodSchema = makeSchema();
|