initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
filename: z.string(),
|
||||
pdfData: z.instanceof(Uint8Array),
|
||||
uploadedAt: z.coerce.date().optional(),
|
||||
groupId: z.number().int()
|
||||
}).strict();
|
||||
export const PdfFileUncheckedCreateInputObjectSchema: z.ZodType<Prisma.PdfFileUncheckedCreateInput> = makeSchema() as unknown as z.ZodType<Prisma.PdfFileUncheckedCreateInput>;
|
||||
export const PdfFileUncheckedCreateInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user