Expose Select API

I'm using the joplin-explorer plugin and I just came from this GitHub issue:

Would it make sense to expose the selection API?

What usage do you have in mind?

I would like to select multiple notes/notebooks using the view the plugin provides.

I'm copy-pasting the issue with the plugin developer's comment, which probably explains better than me:

Q: The Joplin Note List permits selection of multiple notes via shift-click and via ctrl-click.
This is necessary for (plugin) commands such as Combine Notes, and permits some degree of bulk operations.

A: Thanks β€” this is a reasonable ask, but it runs into a hard platform limit. Joplin's multi-select lives in the app's note list and drives an internal selectedNoteIds state. Commands like Combine Notes read that native selection. Explorer is a separate panel webview: it can render its own shift/ctrl multi-highlight, but there's no API to push that selection into Joplin's real selection state, so the plugin commands you'd actually want to run against a multi-selection wouldn't see it. In other words I could fake the visual selection but it wouldn't drive the operations that make multi-select useful. I'm leaving this tracked under the Explorer API / deeper Joplin integration work on the v2.0 roadmap rather than shipping a half-working version. Closing for now; happy to revisit if Joplin exposes a selection API.

Edit:typo