Files
DentalManagementMHAprilgg/packages/db/shared/schemas/objects/PdfFileCreateWithoutGroupInput.schema.ts
2026-04-04 22:13:55 -04:00

12 lines
496 B
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
const makeSchema = () => z.object({
filename: z.string(),
pdfData: z.instanceof(Uint8Array),
uploadedAt: z.coerce.date().optional()
}).strict();
export const PdfFileCreateWithoutGroupInputObjectSchema: z.ZodType<Prisma.PdfFileCreateWithoutGroupInput> = makeSchema() as unknown as z.ZodType<Prisma.PdfFileCreateWithoutGroupInput>;
export const PdfFileCreateWithoutGroupInputObjectZodSchema = makeSchema();