Files
DentalManagementMHAprilgg/packages/db/shared/schemas/objects/StaffCreateNestedOneWithoutClaimsInput.schema.ts
2026-04-04 22:13:55 -04:00

15 lines
1.3 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { StaffCreateWithoutClaimsInputObjectSchema as StaffCreateWithoutClaimsInputObjectSchema } from './StaffCreateWithoutClaimsInput.schema';
import { StaffUncheckedCreateWithoutClaimsInputObjectSchema as StaffUncheckedCreateWithoutClaimsInputObjectSchema } from './StaffUncheckedCreateWithoutClaimsInput.schema';
import { StaffCreateOrConnectWithoutClaimsInputObjectSchema as StaffCreateOrConnectWithoutClaimsInputObjectSchema } from './StaffCreateOrConnectWithoutClaimsInput.schema';
import { StaffWhereUniqueInputObjectSchema as StaffWhereUniqueInputObjectSchema } from './StaffWhereUniqueInput.schema'
const makeSchema = () => z.object({
create: z.union([z.lazy(() => StaffCreateWithoutClaimsInputObjectSchema), z.lazy(() => StaffUncheckedCreateWithoutClaimsInputObjectSchema)]).optional(),
connectOrCreate: z.lazy(() => StaffCreateOrConnectWithoutClaimsInputObjectSchema).optional(),
connect: z.lazy(() => StaffWhereUniqueInputObjectSchema).optional()
}).strict();
export const StaffCreateNestedOneWithoutClaimsInputObjectSchema: z.ZodType<Prisma.StaffCreateNestedOneWithoutClaimsInput> = makeSchema() as unknown as z.ZodType<Prisma.StaffCreateNestedOneWithoutClaimsInput>;
export const StaffCreateNestedOneWithoutClaimsInputObjectZodSchema = makeSchema();