initial commit

This commit is contained in:
2026-04-04 22:13:55 -04:00
commit 5d77e207c9
10181 changed files with 522212 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PatientStatusSchema } from '../enums/PatientStatus.schema';
import { PatientCreateNestedOneWithoutAppointmentsInputObjectSchema as PatientCreateNestedOneWithoutAppointmentsInputObjectSchema } from './PatientCreateNestedOneWithoutAppointmentsInput.schema';
import { UserCreateNestedOneWithoutAppointmentsInputObjectSchema as UserCreateNestedOneWithoutAppointmentsInputObjectSchema } from './UserCreateNestedOneWithoutAppointmentsInput.schema';
import { StaffCreateNestedOneWithoutAppointmentsInputObjectSchema as StaffCreateNestedOneWithoutAppointmentsInputObjectSchema } from './StaffCreateNestedOneWithoutAppointmentsInput.schema';
import { ClaimCreateNestedManyWithoutAppointmentInputObjectSchema as ClaimCreateNestedManyWithoutAppointmentInputObjectSchema } from './ClaimCreateNestedManyWithoutAppointmentInput.schema'
const makeSchema = () => z.object({
title: z.string(),
date: z.coerce.date(),
startTime: z.string(),
endTime: z.string(),
type: z.string(),
notes: z.string().optional().nullable(),
procedureCodeNotes: z.string().optional().nullable(),
status: z.string().optional(),
createdAt: z.coerce.date().optional(),
eligibilityStatus: PatientStatusSchema.optional(),
patient: z.lazy(() => PatientCreateNestedOneWithoutAppointmentsInputObjectSchema),
user: z.lazy(() => UserCreateNestedOneWithoutAppointmentsInputObjectSchema),
staff: z.lazy(() => StaffCreateNestedOneWithoutAppointmentsInputObjectSchema).optional(),
claims: z.lazy(() => ClaimCreateNestedManyWithoutAppointmentInputObjectSchema).optional()
}).strict();
export const AppointmentCreateWithoutProceduresInputObjectSchema: z.ZodType<Prisma.AppointmentCreateWithoutProceduresInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentCreateWithoutProceduresInput>;
export const AppointmentCreateWithoutProceduresInputObjectZodSchema = makeSchema();