16 lines
1.7 KiB
TypeScript
16 lines
1.7 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { ServiceLineWhereUniqueInputObjectSchema as ServiceLineWhereUniqueInputObjectSchema } from './ServiceLineWhereUniqueInput.schema';
|
|
import { ServiceLineUpdateWithoutPaymentInputObjectSchema as ServiceLineUpdateWithoutPaymentInputObjectSchema } from './ServiceLineUpdateWithoutPaymentInput.schema';
|
|
import { ServiceLineUncheckedUpdateWithoutPaymentInputObjectSchema as ServiceLineUncheckedUpdateWithoutPaymentInputObjectSchema } from './ServiceLineUncheckedUpdateWithoutPaymentInput.schema';
|
|
import { ServiceLineCreateWithoutPaymentInputObjectSchema as ServiceLineCreateWithoutPaymentInputObjectSchema } from './ServiceLineCreateWithoutPaymentInput.schema';
|
|
import { ServiceLineUncheckedCreateWithoutPaymentInputObjectSchema as ServiceLineUncheckedCreateWithoutPaymentInputObjectSchema } from './ServiceLineUncheckedCreateWithoutPaymentInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => ServiceLineWhereUniqueInputObjectSchema),
|
|
update: z.union([z.lazy(() => ServiceLineUpdateWithoutPaymentInputObjectSchema), z.lazy(() => ServiceLineUncheckedUpdateWithoutPaymentInputObjectSchema)]),
|
|
create: z.union([z.lazy(() => ServiceLineCreateWithoutPaymentInputObjectSchema), z.lazy(() => ServiceLineUncheckedCreateWithoutPaymentInputObjectSchema)])
|
|
}).strict();
|
|
export const ServiceLineUpsertWithWhereUniqueWithoutPaymentInputObjectSchema: z.ZodType<Prisma.ServiceLineUpsertWithWhereUniqueWithoutPaymentInput> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineUpsertWithWhereUniqueWithoutPaymentInput>;
|
|
export const ServiceLineUpsertWithWhereUniqueWithoutPaymentInputObjectZodSchema = makeSchema();
|