initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PaymentWhereInputObjectSchema as PaymentWhereInputObjectSchema } from './PaymentWhereInput.schema';
|
||||
import { PaymentUpdateWithoutServiceLinesInputObjectSchema as PaymentUpdateWithoutServiceLinesInputObjectSchema } from './PaymentUpdateWithoutServiceLinesInput.schema';
|
||||
import { PaymentUncheckedUpdateWithoutServiceLinesInputObjectSchema as PaymentUncheckedUpdateWithoutServiceLinesInputObjectSchema } from './PaymentUncheckedUpdateWithoutServiceLinesInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => PaymentWhereInputObjectSchema).optional(),
|
||||
data: z.union([z.lazy(() => PaymentUpdateWithoutServiceLinesInputObjectSchema), z.lazy(() => PaymentUncheckedUpdateWithoutServiceLinesInputObjectSchema)])
|
||||
}).strict();
|
||||
export const PaymentUpdateToOneWithWhereWithoutServiceLinesInputObjectSchema: z.ZodType<Prisma.PaymentUpdateToOneWithWhereWithoutServiceLinesInput> = makeSchema() as unknown as z.ZodType<Prisma.PaymentUpdateToOneWithWhereWithoutServiceLinesInput>;
|
||||
export const PaymentUpdateToOneWithWhereWithoutServiceLinesInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user