This repository was archived by the owner on Mar 5, 2021. It is now read-only.

Description
Plugins should use SupClient.registerPlugin in some agreed-upon bundle (public/bundles/import.js?) to declare accepted media types or extensions and expose import methods.
In client/src/project/index.ts, we can load up the import.js bundles for each plugin (similar to how we load documentation.js bundles)
Then, in onTreeViewDrop, we should look through event.dataTransfer.files for media type or extensions matches. If there are multiple matches, open a dialog to ask the user to choose what to do.
Finally, call the exposed import methods which will use ProjectClient to edit the project, and see assets be magically imported! :O
See also superpowers/superpowers-game#30