initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { UserUpdateWithoutPatientsInputObjectSchema as UserUpdateWithoutPatientsInputObjectSchema } from './UserUpdateWithoutPatientsInput.schema';
|
||||
import { UserUncheckedUpdateWithoutPatientsInputObjectSchema as UserUncheckedUpdateWithoutPatientsInputObjectSchema } from './UserUncheckedUpdateWithoutPatientsInput.schema';
|
||||
import { UserCreateWithoutPatientsInputObjectSchema as UserCreateWithoutPatientsInputObjectSchema } from './UserCreateWithoutPatientsInput.schema';
|
||||
import { UserUncheckedCreateWithoutPatientsInputObjectSchema as UserUncheckedCreateWithoutPatientsInputObjectSchema } from './UserUncheckedCreateWithoutPatientsInput.schema';
|
||||
import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
update: z.union([z.lazy(() => UserUpdateWithoutPatientsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutPatientsInputObjectSchema)]),
|
||||
create: z.union([z.lazy(() => UserCreateWithoutPatientsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutPatientsInputObjectSchema)]),
|
||||
where: z.lazy(() => UserWhereInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserUpsertWithoutPatientsInputObjectSchema: z.ZodType<Prisma.UserUpsertWithoutPatientsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpsertWithoutPatientsInput>;
|
||||
export const UserUpsertWithoutPatientsInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user