11 lines
765 B
TypeScript
11 lines
765 B
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { ServiceLineCreateManyClaimInputObjectSchema as ServiceLineCreateManyClaimInputObjectSchema } from './ServiceLineCreateManyClaimInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
data: z.union([z.lazy(() => ServiceLineCreateManyClaimInputObjectSchema), z.lazy(() => ServiceLineCreateManyClaimInputObjectSchema).array()]),
|
|
skipDuplicates: z.boolean().optional()
|
|
}).strict();
|
|
export const ServiceLineCreateManyClaimInputEnvelopeObjectSchema: z.ZodType<Prisma.ServiceLineCreateManyClaimInputEnvelope> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineCreateManyClaimInputEnvelope>;
|
|
export const ServiceLineCreateManyClaimInputEnvelopeObjectZodSchema = makeSchema();
|