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

14 lines
838 B
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PdfTitleKeySchema } from '../enums/PdfTitleKey.schema';
import { PdfFileCreateNestedManyWithoutGroupInputObjectSchema as PdfFileCreateNestedManyWithoutGroupInputObjectSchema } from './PdfFileCreateNestedManyWithoutGroupInput.schema'
const makeSchema = () => z.object({
title: z.string(),
titleKey: PdfTitleKeySchema.optional(),
createdAt: z.coerce.date().optional(),
pdfs: z.lazy(() => PdfFileCreateNestedManyWithoutGroupInputObjectSchema).optional()
}).strict();
export const PdfGroupCreateWithoutPatientInputObjectSchema: z.ZodType<Prisma.PdfGroupCreateWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.PdfGroupCreateWithoutPatientInput>;
export const PdfGroupCreateWithoutPatientInputObjectZodSchema = makeSchema();