-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Possibility to restore a removed document (#8)
* Possibility to restore a removed document * (Soft) removing a document creates a empty version as the latest version (possible to list using force). * Added possibility to specify correlation id when removing (added to the empty version specified above). * Added possibility to restore an entity to a specific version. This will create a copy of the version and put it as the latest version. This will also remove the soft remove of the entity. * Changed the behaviour of the remove function, the cb only takes an err, not a res. The error will be raised if no such entity exists. * The changed behaviour is a breaking API change and thus the major version has been bumped. * Removed check that entity is not already removed when removing
- Loading branch information
Showing
5 changed files
with
292 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.