16 lines
2.0 KiB
TypeScript
16 lines
2.0 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { ServiceLineTransactionWhereUniqueInputObjectSchema as ServiceLineTransactionWhereUniqueInputObjectSchema } from './ServiceLineTransactionWhereUniqueInput.schema';
|
|
import { ServiceLineTransactionUpdateWithoutServiceLineInputObjectSchema as ServiceLineTransactionUpdateWithoutServiceLineInputObjectSchema } from './ServiceLineTransactionUpdateWithoutServiceLineInput.schema';
|
|
import { ServiceLineTransactionUncheckedUpdateWithoutServiceLineInputObjectSchema as ServiceLineTransactionUncheckedUpdateWithoutServiceLineInputObjectSchema } from './ServiceLineTransactionUncheckedUpdateWithoutServiceLineInput.schema';
|
|
import { ServiceLineTransactionCreateWithoutServiceLineInputObjectSchema as ServiceLineTransactionCreateWithoutServiceLineInputObjectSchema } from './ServiceLineTransactionCreateWithoutServiceLineInput.schema';
|
|
import { ServiceLineTransactionUncheckedCreateWithoutServiceLineInputObjectSchema as ServiceLineTransactionUncheckedCreateWithoutServiceLineInputObjectSchema } from './ServiceLineTransactionUncheckedCreateWithoutServiceLineInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => ServiceLineTransactionWhereUniqueInputObjectSchema),
|
|
update: z.union([z.lazy(() => ServiceLineTransactionUpdateWithoutServiceLineInputObjectSchema), z.lazy(() => ServiceLineTransactionUncheckedUpdateWithoutServiceLineInputObjectSchema)]),
|
|
create: z.union([z.lazy(() => ServiceLineTransactionCreateWithoutServiceLineInputObjectSchema), z.lazy(() => ServiceLineTransactionUncheckedCreateWithoutServiceLineInputObjectSchema)])
|
|
}).strict();
|
|
export const ServiceLineTransactionUpsertWithWhereUniqueWithoutServiceLineInputObjectSchema: z.ZodType<Prisma.ServiceLineTransactionUpsertWithWhereUniqueWithoutServiceLineInput> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineTransactionUpsertWithWhereUniqueWithoutServiceLineInput>;
|
|
export const ServiceLineTransactionUpsertWithWhereUniqueWithoutServiceLineInputObjectZodSchema = makeSchema();
|