import { Prisma } from "@prisma/client"; import { NestedParams } from "prisma-nested-middleware"; export type Validator = (data: any) => void; export type Validators = Partial>; export type Options = { customizeError?: (error: Error, params: NestedParams) => Error; };