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

9 lines
917 B
TypeScript

import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { StaffSelectObjectSchema as StaffSelectObjectSchema } from './objects/StaffSelect.schema';
import { StaffIncludeObjectSchema as StaffIncludeObjectSchema } from './objects/StaffInclude.schema';
import { StaffWhereUniqueInputObjectSchema as StaffWhereUniqueInputObjectSchema } from './objects/StaffWhereUniqueInput.schema';
export const StaffFindUniqueOrThrowSchema: z.ZodType<Prisma.StaffFindUniqueOrThrowArgs> = z.object({ select: StaffSelectObjectSchema.optional(), include: StaffIncludeObjectSchema.optional(), where: StaffWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.StaffFindUniqueOrThrowArgs>;
export const StaffFindUniqueOrThrowZodSchema = z.object({ select: StaffSelectObjectSchema.optional(), include: StaffIncludeObjectSchema.optional(), where: StaffWhereUniqueInputObjectSchema }).strict();