first commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { z } from 'zod';
|
||||
import { AppointmentCreateNestedManyWithoutUserInputObjectSchema } from './AppointmentCreateNestedManyWithoutUserInput.schema';
|
||||
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
const Schema: z.ZodType<Prisma.UserCreateWithoutPatientsInput> = z
|
||||
.object({
|
||||
username: z.string(),
|
||||
password: z.string(),
|
||||
appointments: z
|
||||
.lazy(() => AppointmentCreateNestedManyWithoutUserInputObjectSchema)
|
||||
.optional(),
|
||||
})
|
||||
.strict();
|
||||
|
||||
export const UserCreateWithoutPatientsInputObjectSchema = Schema;
|
||||
Reference in New Issue
Block a user