Files
DentalManagementMHAprilgg/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutBackupDestinationsInput.schema.ts
2026-04-04 22:13:55 -04:00

15 lines
1.5 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserCreateWithoutBackupDestinationsInputObjectSchema as UserCreateWithoutBackupDestinationsInputObjectSchema } from './UserCreateWithoutBackupDestinationsInput.schema';
import { UserUncheckedCreateWithoutBackupDestinationsInputObjectSchema as UserUncheckedCreateWithoutBackupDestinationsInputObjectSchema } from './UserUncheckedCreateWithoutBackupDestinationsInput.schema';
import { UserCreateOrConnectWithoutBackupDestinationsInputObjectSchema as UserCreateOrConnectWithoutBackupDestinationsInputObjectSchema } from './UserCreateOrConnectWithoutBackupDestinationsInput.schema';
import { UserWhereUniqueInputObjectSchema as UserWhereUniqueInputObjectSchema } from './UserWhereUniqueInput.schema'
const makeSchema = () => z.object({
create: z.union([z.lazy(() => UserCreateWithoutBackupDestinationsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutBackupDestinationsInputObjectSchema)]).optional(),
connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutBackupDestinationsInputObjectSchema).optional(),
connect: z.lazy(() => UserWhereUniqueInputObjectSchema).optional()
}).strict();
export const UserCreateNestedOneWithoutBackupDestinationsInputObjectSchema: z.ZodType<Prisma.UserCreateNestedOneWithoutBackupDestinationsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateNestedOneWithoutBackupDestinationsInput>;
export const UserCreateNestedOneWithoutBackupDestinationsInputObjectZodSchema = makeSchema();