initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { UserUpdateWithoutBackupDestinationsInputObjectSchema as UserUpdateWithoutBackupDestinationsInputObjectSchema } from './UserUpdateWithoutBackupDestinationsInput.schema';
|
||||
import { UserUncheckedUpdateWithoutBackupDestinationsInputObjectSchema as UserUncheckedUpdateWithoutBackupDestinationsInputObjectSchema } from './UserUncheckedUpdateWithoutBackupDestinationsInput.schema';
|
||||
import { UserCreateWithoutBackupDestinationsInputObjectSchema as UserCreateWithoutBackupDestinationsInputObjectSchema } from './UserCreateWithoutBackupDestinationsInput.schema';
|
||||
import { UserUncheckedCreateWithoutBackupDestinationsInputObjectSchema as UserUncheckedCreateWithoutBackupDestinationsInputObjectSchema } from './UserUncheckedCreateWithoutBackupDestinationsInput.schema';
|
||||
import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
update: z.union([z.lazy(() => UserUpdateWithoutBackupDestinationsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutBackupDestinationsInputObjectSchema)]),
|
||||
create: z.union([z.lazy(() => UserCreateWithoutBackupDestinationsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutBackupDestinationsInputObjectSchema)]),
|
||||
where: z.lazy(() => UserWhereInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserUpsertWithoutBackupDestinationsInputObjectSchema: z.ZodType<Prisma.UserUpsertWithoutBackupDestinationsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpsertWithoutBackupDestinationsInput>;
|
||||
export const UserUpsertWithoutBackupDestinationsInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user