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