first commit

This commit is contained in:
2025-05-08 21:27:29 +05:30
commit 230d5c89f0
343 changed files with 42391 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
import { z } from 'zod';
import { PatientCreateNestedOneWithoutAppointmentsInputObjectSchema } from './PatientCreateNestedOneWithoutAppointmentsInput.schema';
import { UserCreateNestedOneWithoutAppointmentsInputObjectSchema } from './UserCreateNestedOneWithoutAppointmentsInput.schema';
import type { Prisma } from '../../../generated/prisma';
const Schema: z.ZodType<Prisma.AppointmentCreateInput> = z
.object({
title: z.string(),
date: z.coerce.date(),
startTime: z.coerce.date(),
endTime: z.coerce.date(),
type: z.string(),
notes: z.string().optional().nullable(),
status: z.string().optional(),
createdAt: z.coerce.date().optional(),
patient: z.lazy(
() => PatientCreateNestedOneWithoutAppointmentsInputObjectSchema,
),
user: z.lazy(() => UserCreateNestedOneWithoutAppointmentsInputObjectSchema),
})
.strict();
export const AppointmentCreateInputObjectSchema = Schema;