17 lines
464 B
TypeScript
17 lines
464 B
TypeScript
import * as z from 'zod';
|
|
// prettier-ignore
|
|
export const PatientDocumentInputSchema = z.object({
|
|
id: z.number().int(),
|
|
patientId: z.number().int(),
|
|
filename: z.string(),
|
|
originalName: z.string(),
|
|
mimeType: z.string(),
|
|
fileSize: z.bigint(),
|
|
filePath: z.string(),
|
|
uploadedAt: z.date(),
|
|
updatedAt: z.date(),
|
|
patient: z.unknown()
|
|
}).strict();
|
|
|
|
export type PatientDocumentInputType = z.infer<typeof PatientDocumentInputSchema>;
|