13 lines
1.1 KiB
TypeScript
13 lines
1.1 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema';
|
|
import { UserUpdateWithoutCloudFilesInputObjectSchema as UserUpdateWithoutCloudFilesInputObjectSchema } from './UserUpdateWithoutCloudFilesInput.schema';
|
|
import { UserUncheckedUpdateWithoutCloudFilesInputObjectSchema as UserUncheckedUpdateWithoutCloudFilesInputObjectSchema } from './UserUncheckedUpdateWithoutCloudFilesInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => UserWhereInputObjectSchema).optional(),
|
|
data: z.union([z.lazy(() => UserUpdateWithoutCloudFilesInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutCloudFilesInputObjectSchema)])
|
|
}).strict();
|
|
export const UserUpdateToOneWithWhereWithoutCloudFilesInputObjectSchema: z.ZodType<Prisma.UserUpdateToOneWithWhereWithoutCloudFilesInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpdateToOneWithWhereWithoutCloudFilesInput>;
|
|
export const UserUpdateToOneWithWhereWithoutCloudFilesInputObjectZodSchema = makeSchema();
|