21 lines
2.4 KiB
TypeScript
21 lines
2.4 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { CloudFileCreateWithoutChunksInputObjectSchema as CloudFileCreateWithoutChunksInputObjectSchema } from './CloudFileCreateWithoutChunksInput.schema';
|
|
import { CloudFileUncheckedCreateWithoutChunksInputObjectSchema as CloudFileUncheckedCreateWithoutChunksInputObjectSchema } from './CloudFileUncheckedCreateWithoutChunksInput.schema';
|
|
import { CloudFileCreateOrConnectWithoutChunksInputObjectSchema as CloudFileCreateOrConnectWithoutChunksInputObjectSchema } from './CloudFileCreateOrConnectWithoutChunksInput.schema';
|
|
import { CloudFileUpsertWithoutChunksInputObjectSchema as CloudFileUpsertWithoutChunksInputObjectSchema } from './CloudFileUpsertWithoutChunksInput.schema';
|
|
import { CloudFileWhereUniqueInputObjectSchema as CloudFileWhereUniqueInputObjectSchema } from './CloudFileWhereUniqueInput.schema';
|
|
import { CloudFileUpdateToOneWithWhereWithoutChunksInputObjectSchema as CloudFileUpdateToOneWithWhereWithoutChunksInputObjectSchema } from './CloudFileUpdateToOneWithWhereWithoutChunksInput.schema';
|
|
import { CloudFileUpdateWithoutChunksInputObjectSchema as CloudFileUpdateWithoutChunksInputObjectSchema } from './CloudFileUpdateWithoutChunksInput.schema';
|
|
import { CloudFileUncheckedUpdateWithoutChunksInputObjectSchema as CloudFileUncheckedUpdateWithoutChunksInputObjectSchema } from './CloudFileUncheckedUpdateWithoutChunksInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
create: z.union([z.lazy(() => CloudFileCreateWithoutChunksInputObjectSchema), z.lazy(() => CloudFileUncheckedCreateWithoutChunksInputObjectSchema)]).optional(),
|
|
connectOrCreate: z.lazy(() => CloudFileCreateOrConnectWithoutChunksInputObjectSchema).optional(),
|
|
upsert: z.lazy(() => CloudFileUpsertWithoutChunksInputObjectSchema).optional(),
|
|
connect: z.lazy(() => CloudFileWhereUniqueInputObjectSchema).optional(),
|
|
update: z.union([z.lazy(() => CloudFileUpdateToOneWithWhereWithoutChunksInputObjectSchema), z.lazy(() => CloudFileUpdateWithoutChunksInputObjectSchema), z.lazy(() => CloudFileUncheckedUpdateWithoutChunksInputObjectSchema)]).optional()
|
|
}).strict();
|
|
export const CloudFileUpdateOneRequiredWithoutChunksNestedInputObjectSchema: z.ZodType<Prisma.CloudFileUpdateOneRequiredWithoutChunksNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFileUpdateOneRequiredWithoutChunksNestedInput>;
|
|
export const CloudFileUpdateOneRequiredWithoutChunksNestedInputObjectZodSchema = makeSchema();
|