-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add routing of messages between the property inspector and the …
…plugin (#33) * feat: add infrastructure for routing messages between plugin and ui * fix: allow event emitter to be untyped * refactor: rename host to gateway * fix: payload types and constraints * fix: provide default type * feat: emit unknownMessage and unknownRequest from gateway * build: remove rollup bundling of declarations to prevent loss of summaries Sadly, when utilizing rollup-plugin-dts to bundle declarations into a single file, summaries for "export import *" were being lost. This result in quiet issues when creating the .d.ts file, so has [temporarily] been removed. * build: tidy-up rollup * feat: add default generics to support SingletonAction * feat: return 406 when the proxy could not accept the request * fix: re-introduce logging to the connection * feat: add routing and fetch to ui and plugin namespaces * test: improve testing compatibility * Revert "build: remove rollup bundling of declarations to prevent loss of summaries" This partially reverts commit b91556f. * feat: introduce UIController, and property inspector tracking * refactor: replace UI namespace with UIController * feat: add PluginController to property inspector * feat: add initial @route decorator * refactor: abstract PropertyInspector class to separate file * fix: export PI type * docs: standardize summaries * test: route decorator * test: fix types * refactor: rename internal message request to prevent declaration rename * test: fix UI controller tests * fix: exported types * refactor: undo renaming of sendToPlugin and sendToPropertyInspector events * refactor: mark sendToPropertyInspector as deprecated * refactor: mark sendToPlugin as deprecated * docs: add examples to fetch * docs: add year to license * feat: update registerRoute to return a disposable * test: remove debugging --------- Co-authored-by: Richard Herman <[email protected]>
- Loading branch information
Showing
57 changed files
with
3,144 additions
and
483 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.