16 lines
1.6 KiB
TypeScript
16 lines
1.6 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { ClaimUpdateWithoutServiceLinesInputObjectSchema as ClaimUpdateWithoutServiceLinesInputObjectSchema } from './ClaimUpdateWithoutServiceLinesInput.schema';
|
|
import { ClaimUncheckedUpdateWithoutServiceLinesInputObjectSchema as ClaimUncheckedUpdateWithoutServiceLinesInputObjectSchema } from './ClaimUncheckedUpdateWithoutServiceLinesInput.schema';
|
|
import { ClaimCreateWithoutServiceLinesInputObjectSchema as ClaimCreateWithoutServiceLinesInputObjectSchema } from './ClaimCreateWithoutServiceLinesInput.schema';
|
|
import { ClaimUncheckedCreateWithoutServiceLinesInputObjectSchema as ClaimUncheckedCreateWithoutServiceLinesInputObjectSchema } from './ClaimUncheckedCreateWithoutServiceLinesInput.schema';
|
|
import { ClaimWhereInputObjectSchema as ClaimWhereInputObjectSchema } from './ClaimWhereInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
update: z.union([z.lazy(() => ClaimUpdateWithoutServiceLinesInputObjectSchema), z.lazy(() => ClaimUncheckedUpdateWithoutServiceLinesInputObjectSchema)]),
|
|
create: z.union([z.lazy(() => ClaimCreateWithoutServiceLinesInputObjectSchema), z.lazy(() => ClaimUncheckedCreateWithoutServiceLinesInputObjectSchema)]),
|
|
where: z.lazy(() => ClaimWhereInputObjectSchema).optional()
|
|
}).strict();
|
|
export const ClaimUpsertWithoutServiceLinesInputObjectSchema: z.ZodType<Prisma.ClaimUpsertWithoutServiceLinesInput> = makeSchema() as unknown as z.ZodType<Prisma.ClaimUpsertWithoutServiceLinesInput>;
|
|
export const ClaimUpsertWithoutServiceLinesInputObjectZodSchema = makeSchema();
|