initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { CommunicationCreateWithoutPatientInputObjectSchema as CommunicationCreateWithoutPatientInputObjectSchema } from './CommunicationCreateWithoutPatientInput.schema';
|
||||
import { CommunicationUncheckedCreateWithoutPatientInputObjectSchema as CommunicationUncheckedCreateWithoutPatientInputObjectSchema } from './CommunicationUncheckedCreateWithoutPatientInput.schema';
|
||||
import { CommunicationCreateOrConnectWithoutPatientInputObjectSchema as CommunicationCreateOrConnectWithoutPatientInputObjectSchema } from './CommunicationCreateOrConnectWithoutPatientInput.schema';
|
||||
import { CommunicationCreateManyPatientInputEnvelopeObjectSchema as CommunicationCreateManyPatientInputEnvelopeObjectSchema } from './CommunicationCreateManyPatientInputEnvelope.schema';
|
||||
import { CommunicationWhereUniqueInputObjectSchema as CommunicationWhereUniqueInputObjectSchema } from './CommunicationWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => CommunicationCreateWithoutPatientInputObjectSchema), z.lazy(() => CommunicationCreateWithoutPatientInputObjectSchema).array(), z.lazy(() => CommunicationUncheckedCreateWithoutPatientInputObjectSchema), z.lazy(() => CommunicationUncheckedCreateWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => CommunicationCreateOrConnectWithoutPatientInputObjectSchema), z.lazy(() => CommunicationCreateOrConnectWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => CommunicationCreateManyPatientInputEnvelopeObjectSchema).optional(),
|
||||
connect: z.union([z.lazy(() => CommunicationWhereUniqueInputObjectSchema), z.lazy(() => CommunicationWhereUniqueInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
export const CommunicationCreateNestedManyWithoutPatientInputObjectSchema: z.ZodType<Prisma.CommunicationCreateNestedManyWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.CommunicationCreateNestedManyWithoutPatientInput>;
|
||||
export const CommunicationCreateNestedManyWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user