Skip to content

Conversation

@calebjclark
Copy link
Contributor

Renamed CollectedElements#getMeta → getMetaObjects. Seemed clearer, but I can revert this if you disagree.

Added CollectedElements#findMetaObjectByElement

Added optional typing to new Databox<IDataboxInput, IDataboxOutput>. Typing is now required for Runner and Extractor classes.

Added optional defaults:{ hero, input, output } object to Databox.

Refactored how DataboxInternal and DomExtenders are connected. WeakMap is still used, but now it connects DataboxInternal to the Hero instances instead of CoreSession. This allows for hero.use(plugin) to be used within Databoxes.

Removed the plugins object from Databox.

@blakebyrnes blakebyrnes merged commit c76b759 into main Feb 7, 2022
@blakebyrnes blakebyrnes deleted the typed-input-output branch February 7, 2022 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants