initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { NpiProviderCreateWithoutUserInputObjectSchema as NpiProviderCreateWithoutUserInputObjectSchema } from './NpiProviderCreateWithoutUserInput.schema';
|
||||
import { NpiProviderUncheckedCreateWithoutUserInputObjectSchema as NpiProviderUncheckedCreateWithoutUserInputObjectSchema } from './NpiProviderUncheckedCreateWithoutUserInput.schema';
|
||||
import { NpiProviderCreateOrConnectWithoutUserInputObjectSchema as NpiProviderCreateOrConnectWithoutUserInputObjectSchema } from './NpiProviderCreateOrConnectWithoutUserInput.schema';
|
||||
import { NpiProviderCreateManyUserInputEnvelopeObjectSchema as NpiProviderCreateManyUserInputEnvelopeObjectSchema } from './NpiProviderCreateManyUserInputEnvelope.schema';
|
||||
import { NpiProviderWhereUniqueInputObjectSchema as NpiProviderWhereUniqueInputObjectSchema } from './NpiProviderWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => NpiProviderCreateWithoutUserInputObjectSchema), z.lazy(() => NpiProviderCreateWithoutUserInputObjectSchema).array(), z.lazy(() => NpiProviderUncheckedCreateWithoutUserInputObjectSchema), z.lazy(() => NpiProviderUncheckedCreateWithoutUserInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => NpiProviderCreateOrConnectWithoutUserInputObjectSchema), z.lazy(() => NpiProviderCreateOrConnectWithoutUserInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => NpiProviderCreateManyUserInputEnvelopeObjectSchema).optional(),
|
||||
connect: z.union([z.lazy(() => NpiProviderWhereUniqueInputObjectSchema), z.lazy(() => NpiProviderWhereUniqueInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
export const NpiProviderCreateNestedManyWithoutUserInputObjectSchema: z.ZodType<Prisma.NpiProviderCreateNestedManyWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.NpiProviderCreateNestedManyWithoutUserInput>;
|
||||
export const NpiProviderCreateNestedManyWithoutUserInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user