18 lines
771 B
TypeScript
18 lines
771 B
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
|
|
|
|
const makeSchema = () => z.object({
|
|
id: z.literal(true).optional(),
|
|
patientId: z.literal(true).optional(),
|
|
filename: z.literal(true).optional(),
|
|
originalName: z.literal(true).optional(),
|
|
mimeType: z.literal(true).optional(),
|
|
fileSize: z.literal(true).optional(),
|
|
filePath: z.literal(true).optional(),
|
|
uploadedAt: z.literal(true).optional(),
|
|
updatedAt: z.literal(true).optional()
|
|
}).strict();
|
|
export const PatientDocumentMaxAggregateInputObjectSchema: z.ZodType<Prisma.PatientDocumentMaxAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.PatientDocumentMaxAggregateInputType>;
|
|
export const PatientDocumentMaxAggregateInputObjectZodSchema = makeSchema();
|