initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { BackupDestinationCreateWithoutUserInputObjectSchema as BackupDestinationCreateWithoutUserInputObjectSchema } from './BackupDestinationCreateWithoutUserInput.schema';
|
||||
import { BackupDestinationUncheckedCreateWithoutUserInputObjectSchema as BackupDestinationUncheckedCreateWithoutUserInputObjectSchema } from './BackupDestinationUncheckedCreateWithoutUserInput.schema';
|
||||
import { BackupDestinationCreateOrConnectWithoutUserInputObjectSchema as BackupDestinationCreateOrConnectWithoutUserInputObjectSchema } from './BackupDestinationCreateOrConnectWithoutUserInput.schema';
|
||||
import { BackupDestinationCreateManyUserInputEnvelopeObjectSchema as BackupDestinationCreateManyUserInputEnvelopeObjectSchema } from './BackupDestinationCreateManyUserInputEnvelope.schema';
|
||||
import { BackupDestinationWhereUniqueInputObjectSchema as BackupDestinationWhereUniqueInputObjectSchema } from './BackupDestinationWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => BackupDestinationCreateWithoutUserInputObjectSchema), z.lazy(() => BackupDestinationCreateWithoutUserInputObjectSchema).array(), z.lazy(() => BackupDestinationUncheckedCreateWithoutUserInputObjectSchema), z.lazy(() => BackupDestinationUncheckedCreateWithoutUserInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => BackupDestinationCreateOrConnectWithoutUserInputObjectSchema), z.lazy(() => BackupDestinationCreateOrConnectWithoutUserInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => BackupDestinationCreateManyUserInputEnvelopeObjectSchema).optional(),
|
||||
connect: z.union([z.lazy(() => BackupDestinationWhereUniqueInputObjectSchema), z.lazy(() => BackupDestinationWhereUniqueInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
export const BackupDestinationCreateNestedManyWithoutUserInputObjectSchema: z.ZodType<Prisma.BackupDestinationCreateNestedManyWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.BackupDestinationCreateNestedManyWithoutUserInput>;
|
||||
export const BackupDestinationCreateNestedManyWithoutUserInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user