Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Interface for plugins to compile against. #38

Open
martinheidegger opened this issue Apr 18, 2022 · 0 comments
Open

Create Interface for plugins to compile against. #38

martinheidegger opened this issue Apr 18, 2022 · 0 comments
Labels
plugin related to the plugin mechanism

Comments

@martinheidegger
Copy link
Contributor

Currently plugins are written in typescript. To compile the plugins independently of mycloud and use the dynamic loading of plugins to add them, we need to prepare an interface (proposed name: mycloud-plugin-api) that allows an independent compilations of the plugins.

For a proper implementation the same interface needs to be use by mycloud and the plugin interfaces as discrepancies in the use will cause hard-to-debug runtime problems. That being said, for the start it is possible (though to some degree inadvisable!) to release a stub that contains only the minimal necessary functions for plugins to be extracted without having the entire API replicated in the API.

@martinheidegger martinheidegger added the plugin related to the plugin mechanism label Apr 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin related to the plugin mechanism
Projects
None yet
Development

No branches or pull requests

1 participant