Version 1.16.8
This version adds some useful properties to documents added to a history collection:
action
: possible values are "update", "delete" and the appropriate value is selected when updating/deleting recordsoriginalDocumentId
: the identifier of the parent document
In addition, when a document is deleted, it's latest state is written into the history collection, if enabled.
Installation notes
Installing from NPM using the command npm install @dadi/api
will by default install the version with the "latest"
tag. Currently, the "latest" version is 2.1.0
. To install this version (1.16.8) use the command npm install @dadi/api@one
, where "one" is the tag for the Version 1.x branch.