initial commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { ClaimCreateWithoutPaymentInputObjectSchema as ClaimCreateWithoutPaymentInputObjectSchema } from './ClaimCreateWithoutPaymentInput.schema';
|
||||
import { ClaimUncheckedCreateWithoutPaymentInputObjectSchema as ClaimUncheckedCreateWithoutPaymentInputObjectSchema } from './ClaimUncheckedCreateWithoutPaymentInput.schema';
|
||||
import { ClaimCreateOrConnectWithoutPaymentInputObjectSchema as ClaimCreateOrConnectWithoutPaymentInputObjectSchema } from './ClaimCreateOrConnectWithoutPaymentInput.schema';
|
||||
import { ClaimUpsertWithoutPaymentInputObjectSchema as ClaimUpsertWithoutPaymentInputObjectSchema } from './ClaimUpsertWithoutPaymentInput.schema';
|
||||
import { ClaimWhereInputObjectSchema as ClaimWhereInputObjectSchema } from './ClaimWhereInput.schema';
|
||||
import { ClaimWhereUniqueInputObjectSchema as ClaimWhereUniqueInputObjectSchema } from './ClaimWhereUniqueInput.schema';
|
||||
import { ClaimUpdateToOneWithWhereWithoutPaymentInputObjectSchema as ClaimUpdateToOneWithWhereWithoutPaymentInputObjectSchema } from './ClaimUpdateToOneWithWhereWithoutPaymentInput.schema';
|
||||
import { ClaimUpdateWithoutPaymentInputObjectSchema as ClaimUpdateWithoutPaymentInputObjectSchema } from './ClaimUpdateWithoutPaymentInput.schema';
|
||||
import { ClaimUncheckedUpdateWithoutPaymentInputObjectSchema as ClaimUncheckedUpdateWithoutPaymentInputObjectSchema } from './ClaimUncheckedUpdateWithoutPaymentInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => ClaimCreateWithoutPaymentInputObjectSchema), z.lazy(() => ClaimUncheckedCreateWithoutPaymentInputObjectSchema)]).optional(),
|
||||
connectOrCreate: z.lazy(() => ClaimCreateOrConnectWithoutPaymentInputObjectSchema).optional(),
|
||||
upsert: z.lazy(() => ClaimUpsertWithoutPaymentInputObjectSchema).optional(),
|
||||
disconnect: z.union([z.boolean(), z.lazy(() => ClaimWhereInputObjectSchema)]).optional(),
|
||||
delete: z.union([z.boolean(), z.lazy(() => ClaimWhereInputObjectSchema)]).optional(),
|
||||
connect: z.lazy(() => ClaimWhereUniqueInputObjectSchema).optional(),
|
||||
update: z.union([z.lazy(() => ClaimUpdateToOneWithWhereWithoutPaymentInputObjectSchema), z.lazy(() => ClaimUpdateWithoutPaymentInputObjectSchema), z.lazy(() => ClaimUncheckedUpdateWithoutPaymentInputObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const ClaimUpdateOneWithoutPaymentNestedInputObjectSchema: z.ZodType<Prisma.ClaimUpdateOneWithoutPaymentNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.ClaimUpdateOneWithoutPaymentNestedInput>;
|
||||
export const ClaimUpdateOneWithoutPaymentNestedInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user