initial commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PdfTitleKeySchema } from '../enums/PdfTitleKey.schema';
|
||||
import { PdfFileUncheckedCreateNestedManyWithoutGroupInputObjectSchema as PdfFileUncheckedCreateNestedManyWithoutGroupInputObjectSchema } from './PdfFileUncheckedCreateNestedManyWithoutGroupInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
title: z.string(),
|
||||
titleKey: PdfTitleKeySchema.optional(),
|
||||
createdAt: z.coerce.date().optional(),
|
||||
pdfs: z.lazy(() => PdfFileUncheckedCreateNestedManyWithoutGroupInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PdfGroupUncheckedCreateWithoutPatientInputObjectSchema: z.ZodType<Prisma.PdfGroupUncheckedCreateWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.PdfGroupUncheckedCreateWithoutPatientInput>;
|
||||
export const PdfGroupUncheckedCreateWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user