13 lines
1.3 KiB
TypeScript
13 lines
1.3 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { PaymentWhereUniqueInputObjectSchema as PaymentWhereUniqueInputObjectSchema } from './PaymentWhereUniqueInput.schema';
|
|
import { PaymentCreateWithoutServiceLineTransactionsInputObjectSchema as PaymentCreateWithoutServiceLineTransactionsInputObjectSchema } from './PaymentCreateWithoutServiceLineTransactionsInput.schema';
|
|
import { PaymentUncheckedCreateWithoutServiceLineTransactionsInputObjectSchema as PaymentUncheckedCreateWithoutServiceLineTransactionsInputObjectSchema } from './PaymentUncheckedCreateWithoutServiceLineTransactionsInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => PaymentWhereUniqueInputObjectSchema),
|
|
create: z.union([z.lazy(() => PaymentCreateWithoutServiceLineTransactionsInputObjectSchema), z.lazy(() => PaymentUncheckedCreateWithoutServiceLineTransactionsInputObjectSchema)])
|
|
}).strict();
|
|
export const PaymentCreateOrConnectWithoutServiceLineTransactionsInputObjectSchema: z.ZodType<Prisma.PaymentCreateOrConnectWithoutServiceLineTransactionsInput> = makeSchema() as unknown as z.ZodType<Prisma.PaymentCreateOrConnectWithoutServiceLineTransactionsInput>;
|
|
export const PaymentCreateOrConnectWithoutServiceLineTransactionsInputObjectZodSchema = makeSchema();
|