initial commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientCreateWithoutGroupsInputObjectSchema as PatientCreateWithoutGroupsInputObjectSchema } from './PatientCreateWithoutGroupsInput.schema';
|
||||
import { PatientUncheckedCreateWithoutGroupsInputObjectSchema as PatientUncheckedCreateWithoutGroupsInputObjectSchema } from './PatientUncheckedCreateWithoutGroupsInput.schema';
|
||||
import { PatientCreateOrConnectWithoutGroupsInputObjectSchema as PatientCreateOrConnectWithoutGroupsInputObjectSchema } from './PatientCreateOrConnectWithoutGroupsInput.schema';
|
||||
import { PatientUpsertWithoutGroupsInputObjectSchema as PatientUpsertWithoutGroupsInputObjectSchema } from './PatientUpsertWithoutGroupsInput.schema';
|
||||
import { PatientWhereUniqueInputObjectSchema as PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema';
|
||||
import { PatientUpdateToOneWithWhereWithoutGroupsInputObjectSchema as PatientUpdateToOneWithWhereWithoutGroupsInputObjectSchema } from './PatientUpdateToOneWithWhereWithoutGroupsInput.schema';
|
||||
import { PatientUpdateWithoutGroupsInputObjectSchema as PatientUpdateWithoutGroupsInputObjectSchema } from './PatientUpdateWithoutGroupsInput.schema';
|
||||
import { PatientUncheckedUpdateWithoutGroupsInputObjectSchema as PatientUncheckedUpdateWithoutGroupsInputObjectSchema } from './PatientUncheckedUpdateWithoutGroupsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => PatientCreateWithoutGroupsInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutGroupsInputObjectSchema)]).optional(),
|
||||
connectOrCreate: z.lazy(() => PatientCreateOrConnectWithoutGroupsInputObjectSchema).optional(),
|
||||
upsert: z.lazy(() => PatientUpsertWithoutGroupsInputObjectSchema).optional(),
|
||||
connect: z.lazy(() => PatientWhereUniqueInputObjectSchema).optional(),
|
||||
update: z.union([z.lazy(() => PatientUpdateToOneWithWhereWithoutGroupsInputObjectSchema), z.lazy(() => PatientUpdateWithoutGroupsInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutGroupsInputObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const PatientUpdateOneRequiredWithoutGroupsNestedInputObjectSchema: z.ZodType<Prisma.PatientUpdateOneRequiredWithoutGroupsNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUpdateOneRequiredWithoutGroupsNestedInput>;
|
||||
export const PatientUpdateOneRequiredWithoutGroupsNestedInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user