17 lines
2.0 KiB
TypeScript
17 lines
2.0 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { ClaimCreateWithoutAppointmentInputObjectSchema as ClaimCreateWithoutAppointmentInputObjectSchema } from './ClaimCreateWithoutAppointmentInput.schema';
|
|
import { ClaimUncheckedCreateWithoutAppointmentInputObjectSchema as ClaimUncheckedCreateWithoutAppointmentInputObjectSchema } from './ClaimUncheckedCreateWithoutAppointmentInput.schema';
|
|
import { ClaimCreateOrConnectWithoutAppointmentInputObjectSchema as ClaimCreateOrConnectWithoutAppointmentInputObjectSchema } from './ClaimCreateOrConnectWithoutAppointmentInput.schema';
|
|
import { ClaimCreateManyAppointmentInputEnvelopeObjectSchema as ClaimCreateManyAppointmentInputEnvelopeObjectSchema } from './ClaimCreateManyAppointmentInputEnvelope.schema';
|
|
import { ClaimWhereUniqueInputObjectSchema as ClaimWhereUniqueInputObjectSchema } from './ClaimWhereUniqueInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
create: z.union([z.lazy(() => ClaimCreateWithoutAppointmentInputObjectSchema), z.lazy(() => ClaimCreateWithoutAppointmentInputObjectSchema).array(), z.lazy(() => ClaimUncheckedCreateWithoutAppointmentInputObjectSchema), z.lazy(() => ClaimUncheckedCreateWithoutAppointmentInputObjectSchema).array()]).optional(),
|
|
connectOrCreate: z.union([z.lazy(() => ClaimCreateOrConnectWithoutAppointmentInputObjectSchema), z.lazy(() => ClaimCreateOrConnectWithoutAppointmentInputObjectSchema).array()]).optional(),
|
|
createMany: z.lazy(() => ClaimCreateManyAppointmentInputEnvelopeObjectSchema).optional(),
|
|
connect: z.union([z.lazy(() => ClaimWhereUniqueInputObjectSchema), z.lazy(() => ClaimWhereUniqueInputObjectSchema).array()]).optional()
|
|
}).strict();
|
|
export const ClaimCreateNestedManyWithoutAppointmentInputObjectSchema: z.ZodType<Prisma.ClaimCreateNestedManyWithoutAppointmentInput> = makeSchema() as unknown as z.ZodType<Prisma.ClaimCreateNestedManyWithoutAppointmentInput>;
|
|
export const ClaimCreateNestedManyWithoutAppointmentInputObjectZodSchema = makeSchema();
|