initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PdfTitleKeySchema } from '../enums/PdfTitleKey.schema';
|
||||
import { PatientCreateNestedOneWithoutGroupsInputObjectSchema as PatientCreateNestedOneWithoutGroupsInputObjectSchema } from './PatientCreateNestedOneWithoutGroupsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
title: z.string(),
|
||||
titleKey: PdfTitleKeySchema.optional(),
|
||||
createdAt: z.coerce.date().optional(),
|
||||
patient: z.lazy(() => PatientCreateNestedOneWithoutGroupsInputObjectSchema)
|
||||
}).strict();
|
||||
export const PdfGroupCreateWithoutPdfsInputObjectSchema: z.ZodType<Prisma.PdfGroupCreateWithoutPdfsInput> = makeSchema() as unknown as z.ZodType<Prisma.PdfGroupCreateWithoutPdfsInput>;
|
||||
export const PdfGroupCreateWithoutPdfsInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user