16 lines
806 B
TypeScript
16 lines
806 B
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
|
|
|
|
const makeSchema = () => z.object({
|
|
id: z.number().int().optional(),
|
|
procedureCode: z.string(),
|
|
description: z.string().optional().nullable(),
|
|
toothQuadArchSurface: z.string().optional().nullable(),
|
|
placeOfService: z.string().optional().nullable(),
|
|
serviceDate: z.string().optional().nullable(),
|
|
createdAt: z.coerce.date().optional()
|
|
}).strict();
|
|
export const PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryUncheckedCreateWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryUncheckedCreateWithoutPatientInput>;
|
|
export const PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectZodSchema = makeSchema();
|