17 lines
2.3 KiB
TypeScript
17 lines
2.3 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { ServiceLineTransactionCreateWithoutPaymentInputObjectSchema as ServiceLineTransactionCreateWithoutPaymentInputObjectSchema } from './ServiceLineTransactionCreateWithoutPaymentInput.schema';
|
|
import { ServiceLineTransactionUncheckedCreateWithoutPaymentInputObjectSchema as ServiceLineTransactionUncheckedCreateWithoutPaymentInputObjectSchema } from './ServiceLineTransactionUncheckedCreateWithoutPaymentInput.schema';
|
|
import { ServiceLineTransactionCreateOrConnectWithoutPaymentInputObjectSchema as ServiceLineTransactionCreateOrConnectWithoutPaymentInputObjectSchema } from './ServiceLineTransactionCreateOrConnectWithoutPaymentInput.schema';
|
|
import { ServiceLineTransactionCreateManyPaymentInputEnvelopeObjectSchema as ServiceLineTransactionCreateManyPaymentInputEnvelopeObjectSchema } from './ServiceLineTransactionCreateManyPaymentInputEnvelope.schema';
|
|
import { ServiceLineTransactionWhereUniqueInputObjectSchema as ServiceLineTransactionWhereUniqueInputObjectSchema } from './ServiceLineTransactionWhereUniqueInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
create: z.union([z.lazy(() => ServiceLineTransactionCreateWithoutPaymentInputObjectSchema), z.lazy(() => ServiceLineTransactionCreateWithoutPaymentInputObjectSchema).array(), z.lazy(() => ServiceLineTransactionUncheckedCreateWithoutPaymentInputObjectSchema), z.lazy(() => ServiceLineTransactionUncheckedCreateWithoutPaymentInputObjectSchema).array()]).optional(),
|
|
connectOrCreate: z.union([z.lazy(() => ServiceLineTransactionCreateOrConnectWithoutPaymentInputObjectSchema), z.lazy(() => ServiceLineTransactionCreateOrConnectWithoutPaymentInputObjectSchema).array()]).optional(),
|
|
createMany: z.lazy(() => ServiceLineTransactionCreateManyPaymentInputEnvelopeObjectSchema).optional(),
|
|
connect: z.union([z.lazy(() => ServiceLineTransactionWhereUniqueInputObjectSchema), z.lazy(() => ServiceLineTransactionWhereUniqueInputObjectSchema).array()]).optional()
|
|
}).strict();
|
|
export const ServiceLineTransactionCreateNestedManyWithoutPaymentInputObjectSchema: z.ZodType<Prisma.ServiceLineTransactionCreateNestedManyWithoutPaymentInput> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineTransactionCreateNestedManyWithoutPaymentInput>;
|
|
export const ServiceLineTransactionCreateNestedManyWithoutPaymentInputObjectZodSchema = makeSchema();
|