This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git.
Pull mirroring updated .
- Mar 04, 2022
-
-
rhenck authored
The unit definition now has 2 meta-fields: 'type' and 'version'. The former has the fixed value of 'aspect-unit-definition'. The latters contains the version without any prefixes, i.e. '1.2.3'. The sanatizer tries to read the versions of older formats as well and uses the found version. This is important since the handlePlusOne method must only run of a specific version (in the old format). The sanatizer no longer shows any messages and therefore does not need the MessageService anymore. The information about whether sanatization happened or not is returned as second parameter for those that are interested. The editor is, the player is not. The editor API service now constructs the 'unitDefinitionType' parameter from both values, resulting in something like 'aspect-unit-definition@1.2.3'.
-
- Mar 03, 2022
- Mar 02, 2022
-
-
rhenck authored
- Units and element are now built via the factory. This ensures only the wanted properties are present. All others are discarded. - Since the sanatizer is supposed to check the unit defintion version it is used by player and editor and therefore put in common. This in turn makes it necessary to put the JSON resolver settings in the root-TSConfig file. - Renamed a couple of properties to have clearer names.
-
- Feb 22, 2022
-
-
rhenck authored
This makes for cleaner imports.
-
- Feb 17, 2022
-
-
rhenck authored
This removes all the classes and goes back to simple interfaces for unit, pages etc and all elements. This makes creating them easier and cleaner. Things like specific needs when setting element properties and most importantly compatibility handling is done by a special service module, that knows all the elements and how to repair old their potentially outdated definitions.
-