Files
DentalManagement2025/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutAppointmentsInput.schema.ts
2025-05-08 21:27:29 +05:30

18 lines
610 B
TypeScript

import { z } from 'zod';
import { PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './PatientUncheckedCreateNestedManyWithoutUserInput.schema';
import type { Prisma } from '../../../generated/prisma';
const Schema: z.ZodType<Prisma.UserUncheckedCreateWithoutAppointmentsInput> = z
.object({
id: z.number().optional(),
username: z.string(),
password: z.string(),
patients: z
.lazy(() => PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema)
.optional(),
})
.strict();
export const UserUncheckedCreateWithoutAppointmentsInputObjectSchema = Schema;