Closed miguelandres closed 7 years ago
@@ develop #83 diff @@
==========================================
Files 44 46 +2
Lines 1164 1190 +26
Methods 0 0
Messages 0 0
Branches 152 150 -2
==========================================
+ Hits 770 790 +20
- Misses 334 340 +6
Partials 60 60
Powered by Codecov. Last update 56f688a...c3ea38a
This adds a
DataType
class toremixer_core
that lets you model types that can be manipulated by RemixerItems.Types must be registered with the
Remixer
Instance and their default UI widget as well. These registrations allow us to refactor the logic to be more robust.In a future PR these data types will be merged with
remixer_storage
's SupportedDataType, thus providing an easier path for extension.Ultimately types make Remixer more robust altogether:
ItemListVariable<Integer>
is a color or a Number.remixer_core
, and minimizing the number of implicit contracts, simplifying the logic.