initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema';
|
||||
import { UserUpdateWithoutBackupsInputObjectSchema as UserUpdateWithoutBackupsInputObjectSchema } from './UserUpdateWithoutBackupsInput.schema';
|
||||
import { UserUncheckedUpdateWithoutBackupsInputObjectSchema as UserUncheckedUpdateWithoutBackupsInputObjectSchema } from './UserUncheckedUpdateWithoutBackupsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => UserWhereInputObjectSchema).optional(),
|
||||
data: z.union([z.lazy(() => UserUpdateWithoutBackupsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutBackupsInputObjectSchema)])
|
||||
}).strict();
|
||||
export const UserUpdateToOneWithWhereWithoutBackupsInputObjectSchema: z.ZodType<Prisma.UserUpdateToOneWithWhereWithoutBackupsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpdateToOneWithWhereWithoutBackupsInput>;
|
||||
export const UserUpdateToOneWithWhereWithoutBackupsInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user