initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { CloudFileUpdateWithoutChunksInputObjectSchema as CloudFileUpdateWithoutChunksInputObjectSchema } from './CloudFileUpdateWithoutChunksInput.schema';
|
||||
import { CloudFileUncheckedUpdateWithoutChunksInputObjectSchema as CloudFileUncheckedUpdateWithoutChunksInputObjectSchema } from './CloudFileUncheckedUpdateWithoutChunksInput.schema';
|
||||
import { CloudFileCreateWithoutChunksInputObjectSchema as CloudFileCreateWithoutChunksInputObjectSchema } from './CloudFileCreateWithoutChunksInput.schema';
|
||||
import { CloudFileUncheckedCreateWithoutChunksInputObjectSchema as CloudFileUncheckedCreateWithoutChunksInputObjectSchema } from './CloudFileUncheckedCreateWithoutChunksInput.schema';
|
||||
import { CloudFileWhereInputObjectSchema as CloudFileWhereInputObjectSchema } from './CloudFileWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
update: z.union([z.lazy(() => CloudFileUpdateWithoutChunksInputObjectSchema), z.lazy(() => CloudFileUncheckedUpdateWithoutChunksInputObjectSchema)]),
|
||||
create: z.union([z.lazy(() => CloudFileCreateWithoutChunksInputObjectSchema), z.lazy(() => CloudFileUncheckedCreateWithoutChunksInputObjectSchema)]),
|
||||
where: z.lazy(() => CloudFileWhereInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const CloudFileUpsertWithoutChunksInputObjectSchema: z.ZodType<Prisma.CloudFileUpsertWithoutChunksInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFileUpsertWithoutChunksInput>;
|
||||
export const CloudFileUpsertWithoutChunksInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user