An Arduino App might depend directly on some sketch libraries and, in turn, depend on other secondary libraries.
This information is encoded in the sketch.yaml file, and considered when adding and removing libraries.
Reference code: link.
When returning the list of libraries to the App Lab, this information is lost.
- Add a way to filter the libraries by the "secondary dependency" concept, for example with a query parameter
- Expose the "secondary dependency" concept in the returned data
Related activity, supporting the new dependency keyword in the examples distributed with the App Lab: arduino/app-bricks-examples#33