initial commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { CloudFileChunkCreateWithoutFileInputObjectSchema as CloudFileChunkCreateWithoutFileInputObjectSchema } from './CloudFileChunkCreateWithoutFileInput.schema';
|
||||
import { CloudFileChunkUncheckedCreateWithoutFileInputObjectSchema as CloudFileChunkUncheckedCreateWithoutFileInputObjectSchema } from './CloudFileChunkUncheckedCreateWithoutFileInput.schema';
|
||||
import { CloudFileChunkCreateOrConnectWithoutFileInputObjectSchema as CloudFileChunkCreateOrConnectWithoutFileInputObjectSchema } from './CloudFileChunkCreateOrConnectWithoutFileInput.schema';
|
||||
import { CloudFileChunkUpsertWithWhereUniqueWithoutFileInputObjectSchema as CloudFileChunkUpsertWithWhereUniqueWithoutFileInputObjectSchema } from './CloudFileChunkUpsertWithWhereUniqueWithoutFileInput.schema';
|
||||
import { CloudFileChunkCreateManyFileInputEnvelopeObjectSchema as CloudFileChunkCreateManyFileInputEnvelopeObjectSchema } from './CloudFileChunkCreateManyFileInputEnvelope.schema';
|
||||
import { CloudFileChunkWhereUniqueInputObjectSchema as CloudFileChunkWhereUniqueInputObjectSchema } from './CloudFileChunkWhereUniqueInput.schema';
|
||||
import { CloudFileChunkUpdateWithWhereUniqueWithoutFileInputObjectSchema as CloudFileChunkUpdateWithWhereUniqueWithoutFileInputObjectSchema } from './CloudFileChunkUpdateWithWhereUniqueWithoutFileInput.schema';
|
||||
import { CloudFileChunkUpdateManyWithWhereWithoutFileInputObjectSchema as CloudFileChunkUpdateManyWithWhereWithoutFileInputObjectSchema } from './CloudFileChunkUpdateManyWithWhereWithoutFileInput.schema';
|
||||
import { CloudFileChunkScalarWhereInputObjectSchema as CloudFileChunkScalarWhereInputObjectSchema } from './CloudFileChunkScalarWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => CloudFileChunkCreateWithoutFileInputObjectSchema), z.lazy(() => CloudFileChunkCreateWithoutFileInputObjectSchema).array(), z.lazy(() => CloudFileChunkUncheckedCreateWithoutFileInputObjectSchema), z.lazy(() => CloudFileChunkUncheckedCreateWithoutFileInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => CloudFileChunkCreateOrConnectWithoutFileInputObjectSchema), z.lazy(() => CloudFileChunkCreateOrConnectWithoutFileInputObjectSchema).array()]).optional(),
|
||||
upsert: z.union([z.lazy(() => CloudFileChunkUpsertWithWhereUniqueWithoutFileInputObjectSchema), z.lazy(() => CloudFileChunkUpsertWithWhereUniqueWithoutFileInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => CloudFileChunkCreateManyFileInputEnvelopeObjectSchema).optional(),
|
||||
set: z.union([z.lazy(() => CloudFileChunkWhereUniqueInputObjectSchema), z.lazy(() => CloudFileChunkWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
disconnect: z.union([z.lazy(() => CloudFileChunkWhereUniqueInputObjectSchema), z.lazy(() => CloudFileChunkWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
delete: z.union([z.lazy(() => CloudFileChunkWhereUniqueInputObjectSchema), z.lazy(() => CloudFileChunkWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
connect: z.union([z.lazy(() => CloudFileChunkWhereUniqueInputObjectSchema), z.lazy(() => CloudFileChunkWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
update: z.union([z.lazy(() => CloudFileChunkUpdateWithWhereUniqueWithoutFileInputObjectSchema), z.lazy(() => CloudFileChunkUpdateWithWhereUniqueWithoutFileInputObjectSchema).array()]).optional(),
|
||||
updateMany: z.union([z.lazy(() => CloudFileChunkUpdateManyWithWhereWithoutFileInputObjectSchema), z.lazy(() => CloudFileChunkUpdateManyWithWhereWithoutFileInputObjectSchema).array()]).optional(),
|
||||
deleteMany: z.union([z.lazy(() => CloudFileChunkScalarWhereInputObjectSchema), z.lazy(() => CloudFileChunkScalarWhereInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
export const CloudFileChunkUpdateManyWithoutFileNestedInputObjectSchema: z.ZodType<Prisma.CloudFileChunkUpdateManyWithoutFileNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFileChunkUpdateManyWithoutFileNestedInput>;
|
||||
export const CloudFileChunkUpdateManyWithoutFileNestedInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user