10 lines
1.3 KiB
TypeScript
10 lines
1.3 KiB
TypeScript
import type { Prisma } from '../../generated/prisma';
|
|
import * as z from 'zod';
|
|
import { CommunicationSelectObjectSchema as CommunicationSelectObjectSchema } from './objects/CommunicationSelect.schema';
|
|
import { CommunicationIncludeObjectSchema as CommunicationIncludeObjectSchema } from './objects/CommunicationInclude.schema';
|
|
import { CommunicationCreateInputObjectSchema as CommunicationCreateInputObjectSchema } from './objects/CommunicationCreateInput.schema';
|
|
import { CommunicationUncheckedCreateInputObjectSchema as CommunicationUncheckedCreateInputObjectSchema } from './objects/CommunicationUncheckedCreateInput.schema';
|
|
|
|
export const CommunicationCreateOneSchema: z.ZodType<Prisma.CommunicationCreateArgs> = z.object({ select: CommunicationSelectObjectSchema.optional(), include: CommunicationIncludeObjectSchema.optional(), data: z.union([CommunicationCreateInputObjectSchema, CommunicationUncheckedCreateInputObjectSchema]) }).strict() as unknown as z.ZodType<Prisma.CommunicationCreateArgs>;
|
|
|
|
export const CommunicationCreateOneZodSchema = z.object({ select: CommunicationSelectObjectSchema.optional(), include: CommunicationIncludeObjectSchema.optional(), data: z.union([CommunicationCreateInputObjectSchema, CommunicationUncheckedCreateInputObjectSchema]) }).strict(); |