Updated Design: Version Control (markdown)

Nick O'Leary 2016-07-25 10:32:17 +01:00
parent a723336db9
commit 5903abe37d
1 changed files with 2 additions and 0 deletions

@ -36,6 +36,8 @@ The existing API has separate methods for saving flows and credentials. The new
### `Storage.init(runtime)`
- `runtime` : a RED runtime object
Returns a promise that resolves when the storage subsystem has been initialised and is ready for subsequent API requests.
Passing in the runtime object allows the storage mechanism to access the `settings`, `log` components properly as well as `comms` if it needs to send notifications to the user.
### `Storage.getFlows([id])`