16 lines
1.9 KiB
TypeScript
16 lines
1.9 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { ServiceLineTransactionWhereUniqueInputObjectSchema as ServiceLineTransactionWhereUniqueInputObjectSchema } from './ServiceLineTransactionWhereUniqueInput.schema';
|
|
import { ServiceLineTransactionUpdateWithoutPaymentInputObjectSchema as ServiceLineTransactionUpdateWithoutPaymentInputObjectSchema } from './ServiceLineTransactionUpdateWithoutPaymentInput.schema';
|
|
import { ServiceLineTransactionUncheckedUpdateWithoutPaymentInputObjectSchema as ServiceLineTransactionUncheckedUpdateWithoutPaymentInputObjectSchema } from './ServiceLineTransactionUncheckedUpdateWithoutPaymentInput.schema';
|
|
import { ServiceLineTransactionCreateWithoutPaymentInputObjectSchema as ServiceLineTransactionCreateWithoutPaymentInputObjectSchema } from './ServiceLineTransactionCreateWithoutPaymentInput.schema';
|
|
import { ServiceLineTransactionUncheckedCreateWithoutPaymentInputObjectSchema as ServiceLineTransactionUncheckedCreateWithoutPaymentInputObjectSchema } from './ServiceLineTransactionUncheckedCreateWithoutPaymentInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => ServiceLineTransactionWhereUniqueInputObjectSchema),
|
|
update: z.union([z.lazy(() => ServiceLineTransactionUpdateWithoutPaymentInputObjectSchema), z.lazy(() => ServiceLineTransactionUncheckedUpdateWithoutPaymentInputObjectSchema)]),
|
|
create: z.union([z.lazy(() => ServiceLineTransactionCreateWithoutPaymentInputObjectSchema), z.lazy(() => ServiceLineTransactionUncheckedCreateWithoutPaymentInputObjectSchema)])
|
|
}).strict();
|
|
export const ServiceLineTransactionUpsertWithWhereUniqueWithoutPaymentInputObjectSchema: z.ZodType<Prisma.ServiceLineTransactionUpsertWithWhereUniqueWithoutPaymentInput> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineTransactionUpsertWithWhereUniqueWithoutPaymentInput>;
|
|
export const ServiceLineTransactionUpsertWithWhereUniqueWithoutPaymentInputObjectZodSchema = makeSchema();
|