mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-03-30 15:08:28 +00:00
Update API documentation
This commit is contained in:
parent
d2ae435345
commit
cf4fde52d2
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)
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user