Skip to content

Commit

Permalink
Add declaration of db module methods (#645)
Browse files Browse the repository at this point in the history
  • Loading branch information
james-owen authored Mar 27, 2019
1 parent 91942c6 commit 07ee6cf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/services/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,16 @@ module.exports.getLatestData = getLatestData;
module.exports.pipeToPromise = pipeToPromise;
module.exports.registerStorage = registerStorage;

// methods from storage module, assigned in registerStorage
module.exports.put;
module.exports.get;
module.exports.del;
module.exports.batch;
module.exports.putMeta;
module.exports.patchMeta;
module.exports.getMeta;
module.exports.raw;
module.exports.createReadStream;

// For testing
module.exports.defer = defer;

0 comments on commit 07ee6cf

Please sign in to comment.