Clarify Storage api docs

This commit is contained in:
haad 2023-06-30 09:05:22 +03:00
parent 200b215112
commit 81ae09a12b
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
* @namespace Storage-Composed
* @memberof module:Storage
* @description
* ComposedStorage stores data to multiple storage mechanisms.
* ComposedStorage stores data to multiple storage backends.
* @example <caption>Store to LRU and Level</caption>
* await ComposedStorage(await LRUStorage(), await LevelStorage())
* @example <caption>Store to memory and IPFS</caption>

View File

@ -1,7 +1,7 @@
/**
* @module Storage
* @description
* Various storage mechanisms with a common interface.
* Storage backends for OrbitDB.
*/
export { default as ComposedStorage } from './composed.js'
export { default as IPFSBlockStorage } from './ipfs-block.js'

View File

@ -8,7 +8,7 @@
/**
* Creates an instance of MemoryStorage.
* @function
* @return {module:Storage.Storage-Memory} An instance of LRUStorage.
* @return {module:Storage.Storage-Memory} An instance of MemoryStorage.
* @memberof module:Storage
* @instance
*/