13 lines
1.4 KiB
TypeScript
13 lines
1.4 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { ServiceLineTransactionWhereUniqueInputObjectSchema as ServiceLineTransactionWhereUniqueInputObjectSchema } from './ServiceLineTransactionWhereUniqueInput.schema';
|
|
import { ServiceLineTransactionCreateWithoutServiceLineInputObjectSchema as ServiceLineTransactionCreateWithoutServiceLineInputObjectSchema } from './ServiceLineTransactionCreateWithoutServiceLineInput.schema';
|
|
import { ServiceLineTransactionUncheckedCreateWithoutServiceLineInputObjectSchema as ServiceLineTransactionUncheckedCreateWithoutServiceLineInputObjectSchema } from './ServiceLineTransactionUncheckedCreateWithoutServiceLineInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => ServiceLineTransactionWhereUniqueInputObjectSchema),
|
|
create: z.union([z.lazy(() => ServiceLineTransactionCreateWithoutServiceLineInputObjectSchema), z.lazy(() => ServiceLineTransactionUncheckedCreateWithoutServiceLineInputObjectSchema)])
|
|
}).strict();
|
|
export const ServiceLineTransactionCreateOrConnectWithoutServiceLineInputObjectSchema: z.ZodType<Prisma.ServiceLineTransactionCreateOrConnectWithoutServiceLineInput> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineTransactionCreateOrConnectWithoutServiceLineInput>;
|
|
export const ServiceLineTransactionCreateOrConnectWithoutServiceLineInputObjectZodSchema = makeSchema();
|