initial commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
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 { BackupDestinationUpsertWithWhereUniqueWithoutUserInputObjectSchema as BackupDestinationUpsertWithWhereUniqueWithoutUserInputObjectSchema } from './BackupDestinationUpsertWithWhereUniqueWithoutUserInput.schema';
|
||||
import { BackupDestinationCreateManyUserInputEnvelopeObjectSchema as BackupDestinationCreateManyUserInputEnvelopeObjectSchema } from './BackupDestinationCreateManyUserInputEnvelope.schema';
|
||||
import { BackupDestinationWhereUniqueInputObjectSchema as BackupDestinationWhereUniqueInputObjectSchema } from './BackupDestinationWhereUniqueInput.schema';
|
||||
import { BackupDestinationUpdateWithWhereUniqueWithoutUserInputObjectSchema as BackupDestinationUpdateWithWhereUniqueWithoutUserInputObjectSchema } from './BackupDestinationUpdateWithWhereUniqueWithoutUserInput.schema';
|
||||
import { BackupDestinationUpdateManyWithWhereWithoutUserInputObjectSchema as BackupDestinationUpdateManyWithWhereWithoutUserInputObjectSchema } from './BackupDestinationUpdateManyWithWhereWithoutUserInput.schema';
|
||||
import { BackupDestinationScalarWhereInputObjectSchema as BackupDestinationScalarWhereInputObjectSchema } from './BackupDestinationScalarWhereInput.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(),
|
||||
upsert: z.union([z.lazy(() => BackupDestinationUpsertWithWhereUniqueWithoutUserInputObjectSchema), z.lazy(() => BackupDestinationUpsertWithWhereUniqueWithoutUserInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => BackupDestinationCreateManyUserInputEnvelopeObjectSchema).optional(),
|
||||
set: z.union([z.lazy(() => BackupDestinationWhereUniqueInputObjectSchema), z.lazy(() => BackupDestinationWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
disconnect: z.union([z.lazy(() => BackupDestinationWhereUniqueInputObjectSchema), z.lazy(() => BackupDestinationWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
delete: z.union([z.lazy(() => BackupDestinationWhereUniqueInputObjectSchema), z.lazy(() => BackupDestinationWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
connect: z.union([z.lazy(() => BackupDestinationWhereUniqueInputObjectSchema), z.lazy(() => BackupDestinationWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
update: z.union([z.lazy(() => BackupDestinationUpdateWithWhereUniqueWithoutUserInputObjectSchema), z.lazy(() => BackupDestinationUpdateWithWhereUniqueWithoutUserInputObjectSchema).array()]).optional(),
|
||||
updateMany: z.union([z.lazy(() => BackupDestinationUpdateManyWithWhereWithoutUserInputObjectSchema), z.lazy(() => BackupDestinationUpdateManyWithWhereWithoutUserInputObjectSchema).array()]).optional(),
|
||||
deleteMany: z.union([z.lazy(() => BackupDestinationScalarWhereInputObjectSchema), z.lazy(() => BackupDestinationScalarWhereInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
export const BackupDestinationUpdateManyWithoutUserNestedInputObjectSchema: z.ZodType<Prisma.BackupDestinationUpdateManyWithoutUserNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.BackupDestinationUpdateManyWithoutUserNestedInput>;
|
||||
export const BackupDestinationUpdateManyWithoutUserNestedInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user