next-validations

    Function withValidations

    • Parameters

      • validations: ValidationHoF[]

      Returns (
          handler?: (req: NextApiRequest, res: any) => any,
      ) => (req: NextApiRequest, res: any, next?: NextHandler) => Promise<any>

    MMNEPVFCICPMFPCPTTAAATR