Files
DentalManagementMHAprilgg/packages/db/shared/schemas/objects/StaffUpdateManyWithWhereWithoutUserInput.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 { StaffScalarWhereInputObjectSchema as StaffScalarWhereInputObjectSchema } from './StaffScalarWhereInput.schema';
import { StaffUpdateManyMutationInputObjectSchema as StaffUpdateManyMutationInputObjectSchema } from './StaffUpdateManyMutationInput.schema';
import { StaffUncheckedUpdateManyWithoutUserInputObjectSchema as StaffUncheckedUpdateManyWithoutUserInputObjectSchema } from './StaffUncheckedUpdateManyWithoutUserInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => StaffScalarWhereInputObjectSchema),
data: z.union([z.lazy(() => StaffUpdateManyMutationInputObjectSchema), z.lazy(() => StaffUncheckedUpdateManyWithoutUserInputObjectSchema)])
}).strict();
export const StaffUpdateManyWithWhereWithoutUserInputObjectSchema: z.ZodType<Prisma.StaffUpdateManyWithWhereWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.StaffUpdateManyWithWhereWithoutUserInput>;
export const StaffUpdateManyWithWhereWithoutUserInputObjectZodSchema = makeSchema();