first commit
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
import { z } from 'zod';
|
||||
import { IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema';
|
||||
import { StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema';
|
||||
import { AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema } from './AppointmentUncheckedUpdateManyWithoutUserNestedInput.schema';
|
||||
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
const Schema: z.ZodType<Prisma.UserUncheckedUpdateWithoutPatientsInput> = z
|
||||
.object({
|
||||
id: z
|
||||
.union([
|
||||
z.number(),
|
||||
z.lazy(() => IntFieldUpdateOperationsInputObjectSchema),
|
||||
])
|
||||
.optional(),
|
||||
username: z
|
||||
.union([
|
||||
z.string(),
|
||||
z.lazy(() => StringFieldUpdateOperationsInputObjectSchema),
|
||||
])
|
||||
.optional(),
|
||||
password: z
|
||||
.union([
|
||||
z.string(),
|
||||
z.lazy(() => StringFieldUpdateOperationsInputObjectSchema),
|
||||
])
|
||||
.optional(),
|
||||
appointments: z
|
||||
.lazy(
|
||||
() => AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema,
|
||||
)
|
||||
.optional(),
|
||||
})
|
||||
.strict();
|
||||
|
||||
export const UserUncheckedUpdateWithoutPatientsInputObjectSchema = Schema;
|
||||
Reference in New Issue
Block a user