mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-10-07 22:57:07 +00:00
Update API documentation
This commit is contained in:
2
API.md
2
API.md
@@ -493,7 +493,7 @@ OrbitDB.isValidType('docstore')
|
||||
### OrbitDB.addDatabaseType(type, store)
|
||||
Adds a custom database type & store to OrbitDB
|
||||
```js
|
||||
const CustomStore = require('./CustomStore')
|
||||
import CustomStore from './CustomStore'
|
||||
OrbitDB.addDatabaseType(CustomStore.type, CustomStore)
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user