initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PaymentUpdateWithoutServiceLineTransactionsInputObjectSchema as PaymentUpdateWithoutServiceLineTransactionsInputObjectSchema } from './PaymentUpdateWithoutServiceLineTransactionsInput.schema';
|
||||
import { PaymentUncheckedUpdateWithoutServiceLineTransactionsInputObjectSchema as PaymentUncheckedUpdateWithoutServiceLineTransactionsInputObjectSchema } from './PaymentUncheckedUpdateWithoutServiceLineTransactionsInput.schema';
|
||||
import { PaymentCreateWithoutServiceLineTransactionsInputObjectSchema as PaymentCreateWithoutServiceLineTransactionsInputObjectSchema } from './PaymentCreateWithoutServiceLineTransactionsInput.schema';
|
||||
import { PaymentUncheckedCreateWithoutServiceLineTransactionsInputObjectSchema as PaymentUncheckedCreateWithoutServiceLineTransactionsInputObjectSchema } from './PaymentUncheckedCreateWithoutServiceLineTransactionsInput.schema';
|
||||
import { PaymentWhereInputObjectSchema as PaymentWhereInputObjectSchema } from './PaymentWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
update: z.union([z.lazy(() => PaymentUpdateWithoutServiceLineTransactionsInputObjectSchema), z.lazy(() => PaymentUncheckedUpdateWithoutServiceLineTransactionsInputObjectSchema)]),
|
||||
create: z.union([z.lazy(() => PaymentCreateWithoutServiceLineTransactionsInputObjectSchema), z.lazy(() => PaymentUncheckedCreateWithoutServiceLineTransactionsInputObjectSchema)]),
|
||||
where: z.lazy(() => PaymentWhereInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PaymentUpsertWithoutServiceLineTransactionsInputObjectSchema: z.ZodType<Prisma.PaymentUpsertWithoutServiceLineTransactionsInput> = makeSchema() as unknown as z.ZodType<Prisma.PaymentUpsertWithoutServiceLineTransactionsInput>;
|
||||
export const PaymentUpsertWithoutServiceLineTransactionsInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user