initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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();
|
||||
Reference in New Issue
Block a user