This repository was archived by the owner on Mar 15, 2023. It is now read-only.
Added
stringify
andparse
functions for generating and parsing Siren JSON
Changed
- Object creation now done via static factory methods (e.g.,
Entity.of({...})
) - Validation is now done via class-validator
- Renamed
Entity
's andAction
'sget*
methods tofind*
Removed
- Query methods:
Entity.prototype.getActionsByClass()
Entity.prototype.getEntitiesByClass()
Entity.prototype.getLinksByClass()