13 lines
1.1 KiB
TypeScript
13 lines
1.1 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { CloudFileWhereUniqueInputObjectSchema as CloudFileWhereUniqueInputObjectSchema } from './CloudFileWhereUniqueInput.schema';
|
|
import { CloudFileCreateWithoutUserInputObjectSchema as CloudFileCreateWithoutUserInputObjectSchema } from './CloudFileCreateWithoutUserInput.schema';
|
|
import { CloudFileUncheckedCreateWithoutUserInputObjectSchema as CloudFileUncheckedCreateWithoutUserInputObjectSchema } from './CloudFileUncheckedCreateWithoutUserInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => CloudFileWhereUniqueInputObjectSchema),
|
|
create: z.union([z.lazy(() => CloudFileCreateWithoutUserInputObjectSchema), z.lazy(() => CloudFileUncheckedCreateWithoutUserInputObjectSchema)])
|
|
}).strict();
|
|
export const CloudFileCreateOrConnectWithoutUserInputObjectSchema: z.ZodType<Prisma.CloudFileCreateOrConnectWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFileCreateOrConnectWithoutUserInput>;
|
|
export const CloudFileCreateOrConnectWithoutUserInputObjectZodSchema = makeSchema();
|