10 lines
1.3 KiB
TypeScript
10 lines
1.3 KiB
TypeScript
import type { Prisma } from '../../generated/prisma';
|
|
import * as z from 'zod';
|
|
import { BackupDestinationSelectObjectSchema as BackupDestinationSelectObjectSchema } from './objects/BackupDestinationSelect.schema';
|
|
import { BackupDestinationIncludeObjectSchema as BackupDestinationIncludeObjectSchema } from './objects/BackupDestinationInclude.schema';
|
|
import { BackupDestinationCreateInputObjectSchema as BackupDestinationCreateInputObjectSchema } from './objects/BackupDestinationCreateInput.schema';
|
|
import { BackupDestinationUncheckedCreateInputObjectSchema as BackupDestinationUncheckedCreateInputObjectSchema } from './objects/BackupDestinationUncheckedCreateInput.schema';
|
|
|
|
export const BackupDestinationCreateOneSchema: z.ZodType<Prisma.BackupDestinationCreateArgs> = z.object({ select: BackupDestinationSelectObjectSchema.optional(), include: BackupDestinationIncludeObjectSchema.optional(), data: z.union([BackupDestinationCreateInputObjectSchema, BackupDestinationUncheckedCreateInputObjectSchema]) }).strict() as unknown as z.ZodType<Prisma.BackupDestinationCreateArgs>;
|
|
|
|
export const BackupDestinationCreateOneZodSchema = z.object({ select: BackupDestinationSelectObjectSchema.optional(), include: BackupDestinationIncludeObjectSchema.optional(), data: z.union([BackupDestinationCreateInputObjectSchema, BackupDestinationUncheckedCreateInputObjectSchema]) }).strict(); |