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

13 lines
1.0 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { StaffWhereInputObjectSchema as StaffWhereInputObjectSchema } from './StaffWhereInput.schema';
import { StaffUpdateWithoutClaimsInputObjectSchema as StaffUpdateWithoutClaimsInputObjectSchema } from './StaffUpdateWithoutClaimsInput.schema';
import { StaffUncheckedUpdateWithoutClaimsInputObjectSchema as StaffUncheckedUpdateWithoutClaimsInputObjectSchema } from './StaffUncheckedUpdateWithoutClaimsInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => StaffWhereInputObjectSchema).optional(),
data: z.union([z.lazy(() => StaffUpdateWithoutClaimsInputObjectSchema), z.lazy(() => StaffUncheckedUpdateWithoutClaimsInputObjectSchema)])
}).strict();
export const StaffUpdateToOneWithWhereWithoutClaimsInputObjectSchema: z.ZodType<Prisma.StaffUpdateToOneWithWhereWithoutClaimsInput> = makeSchema() as unknown as z.ZodType<Prisma.StaffUpdateToOneWithWhereWithoutClaimsInput>;
export const StaffUpdateToOneWithWhereWithoutClaimsInputObjectZodSchema = makeSchema();