Skip to content
Snippets Groups Projects
user avatar
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'.
2b58b89a
History

Verona Modules Aspect

Repository for the Aspect Editor and Player. The applications have a shared code base, but can be run/built separately.

Both conform to the Verona API definition:

Editor-API

Player-API

Development Version

npm run start-editor-local

or

npm run start-player-local

Production Build

npm run build-editor-prod

or

npm run build-player-prod

Development

NPM version: 6,7,8