initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientCreateWithoutUserInputObjectSchema as PatientCreateWithoutUserInputObjectSchema } from './PatientCreateWithoutUserInput.schema';
|
||||
import { PatientUncheckedCreateWithoutUserInputObjectSchema as PatientUncheckedCreateWithoutUserInputObjectSchema } from './PatientUncheckedCreateWithoutUserInput.schema';
|
||||
import { PatientCreateOrConnectWithoutUserInputObjectSchema as PatientCreateOrConnectWithoutUserInputObjectSchema } from './PatientCreateOrConnectWithoutUserInput.schema';
|
||||
import { PatientCreateManyUserInputEnvelopeObjectSchema as PatientCreateManyUserInputEnvelopeObjectSchema } from './PatientCreateManyUserInputEnvelope.schema';
|
||||
import { PatientWhereUniqueInputObjectSchema as PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => PatientCreateWithoutUserInputObjectSchema), z.lazy(() => PatientCreateWithoutUserInputObjectSchema).array(), z.lazy(() => PatientUncheckedCreateWithoutUserInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutUserInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => PatientCreateOrConnectWithoutUserInputObjectSchema), z.lazy(() => PatientCreateOrConnectWithoutUserInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => PatientCreateManyUserInputEnvelopeObjectSchema).optional(),
|
||||
connect: z.union([z.lazy(() => PatientWhereUniqueInputObjectSchema), z.lazy(() => PatientWhereUniqueInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema: z.ZodType<Prisma.PatientUncheckedCreateNestedManyWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedCreateNestedManyWithoutUserInput>;
|
||||
export const PatientUncheckedCreateNestedManyWithoutUserInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user