initial commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PaymentCreateWithoutClaimInputObjectSchema as PaymentCreateWithoutClaimInputObjectSchema } from './PaymentCreateWithoutClaimInput.schema';
|
||||
import { PaymentUncheckedCreateWithoutClaimInputObjectSchema as PaymentUncheckedCreateWithoutClaimInputObjectSchema } from './PaymentUncheckedCreateWithoutClaimInput.schema';
|
||||
import { PaymentCreateOrConnectWithoutClaimInputObjectSchema as PaymentCreateOrConnectWithoutClaimInputObjectSchema } from './PaymentCreateOrConnectWithoutClaimInput.schema';
|
||||
import { PaymentWhereUniqueInputObjectSchema as PaymentWhereUniqueInputObjectSchema } from './PaymentWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => PaymentCreateWithoutClaimInputObjectSchema), z.lazy(() => PaymentUncheckedCreateWithoutClaimInputObjectSchema)]).optional(),
|
||||
connectOrCreate: z.lazy(() => PaymentCreateOrConnectWithoutClaimInputObjectSchema).optional(),
|
||||
connect: z.lazy(() => PaymentWhereUniqueInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PaymentUncheckedCreateNestedOneWithoutClaimInputObjectSchema: z.ZodType<Prisma.PaymentUncheckedCreateNestedOneWithoutClaimInput> = makeSchema() as unknown as z.ZodType<Prisma.PaymentUncheckedCreateNestedOneWithoutClaimInput>;
|
||||
export const PaymentUncheckedCreateNestedOneWithoutClaimInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user