17 lines
2.0 KiB
TypeScript
17 lines
2.0 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { ServiceLineCreateWithoutClaimInputObjectSchema as ServiceLineCreateWithoutClaimInputObjectSchema } from './ServiceLineCreateWithoutClaimInput.schema';
|
|
import { ServiceLineUncheckedCreateWithoutClaimInputObjectSchema as ServiceLineUncheckedCreateWithoutClaimInputObjectSchema } from './ServiceLineUncheckedCreateWithoutClaimInput.schema';
|
|
import { ServiceLineCreateOrConnectWithoutClaimInputObjectSchema as ServiceLineCreateOrConnectWithoutClaimInputObjectSchema } from './ServiceLineCreateOrConnectWithoutClaimInput.schema';
|
|
import { ServiceLineCreateManyClaimInputEnvelopeObjectSchema as ServiceLineCreateManyClaimInputEnvelopeObjectSchema } from './ServiceLineCreateManyClaimInputEnvelope.schema';
|
|
import { ServiceLineWhereUniqueInputObjectSchema as ServiceLineWhereUniqueInputObjectSchema } from './ServiceLineWhereUniqueInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
create: z.union([z.lazy(() => ServiceLineCreateWithoutClaimInputObjectSchema), z.lazy(() => ServiceLineCreateWithoutClaimInputObjectSchema).array(), z.lazy(() => ServiceLineUncheckedCreateWithoutClaimInputObjectSchema), z.lazy(() => ServiceLineUncheckedCreateWithoutClaimInputObjectSchema).array()]).optional(),
|
|
connectOrCreate: z.union([z.lazy(() => ServiceLineCreateOrConnectWithoutClaimInputObjectSchema), z.lazy(() => ServiceLineCreateOrConnectWithoutClaimInputObjectSchema).array()]).optional(),
|
|
createMany: z.lazy(() => ServiceLineCreateManyClaimInputEnvelopeObjectSchema).optional(),
|
|
connect: z.union([z.lazy(() => ServiceLineWhereUniqueInputObjectSchema), z.lazy(() => ServiceLineWhereUniqueInputObjectSchema).array()]).optional()
|
|
}).strict();
|
|
export const ServiceLineUncheckedCreateNestedManyWithoutClaimInputObjectSchema: z.ZodType<Prisma.ServiceLineUncheckedCreateNestedManyWithoutClaimInput> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineUncheckedCreateNestedManyWithoutClaimInput>;
|
|
export const ServiceLineUncheckedCreateNestedManyWithoutClaimInputObjectZodSchema = makeSchema();
|