13 lines
1.3 KiB
TypeScript
13 lines
1.3 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { ServiceLineTransactionWhereUniqueInputObjectSchema as ServiceLineTransactionWhereUniqueInputObjectSchema } from './ServiceLineTransactionWhereUniqueInput.schema';
|
|
import { ServiceLineTransactionCreateWithoutPaymentInputObjectSchema as ServiceLineTransactionCreateWithoutPaymentInputObjectSchema } from './ServiceLineTransactionCreateWithoutPaymentInput.schema';
|
|
import { ServiceLineTransactionUncheckedCreateWithoutPaymentInputObjectSchema as ServiceLineTransactionUncheckedCreateWithoutPaymentInputObjectSchema } from './ServiceLineTransactionUncheckedCreateWithoutPaymentInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => ServiceLineTransactionWhereUniqueInputObjectSchema),
|
|
create: z.union([z.lazy(() => ServiceLineTransactionCreateWithoutPaymentInputObjectSchema), z.lazy(() => ServiceLineTransactionUncheckedCreateWithoutPaymentInputObjectSchema)])
|
|
}).strict();
|
|
export const ServiceLineTransactionCreateOrConnectWithoutPaymentInputObjectSchema: z.ZodType<Prisma.ServiceLineTransactionCreateOrConnectWithoutPaymentInput> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineTransactionCreateOrConnectWithoutPaymentInput>;
|
|
export const ServiceLineTransactionCreateOrConnectWithoutPaymentInputObjectZodSchema = makeSchema();
|