File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 1- import {
2- Database ,
3- type AccessController ,
4- type Identity ,
5- type Storage ,
6- type DagCborEncodable ,
7- type MetaData ,
8- type Log ,
9- type LogEntry ,
10- BaseDatabase ,
1+ import { Database } from "@orbitdb/core" ;
2+ import type {
3+ AccessController ,
4+ Identity ,
5+ Storage ,
6+ DagCborEncodable ,
7+ MetaData ,
8+ Log ,
9+ LogEntry ,
10+ InternalDatabase ,
1111} from "@orbitdb/core" ;
1212import type { HeliaLibp2p } from "helia" ;
1313import type { Libp2p } from "libp2p" ;
@@ -78,7 +78,7 @@ const Feed =
7878
7979Feed . type = type ;
8080
81- export const FeedApi = ( { database } : { database : BaseDatabase } ) => {
81+ export const FeedApi = ( { database } : { database : InternalDatabase } ) => {
8282 const { addOperation, log } = database ;
8383
8484 const add = async ( value : DagCborEncodable ) : Promise < string > => {
You can’t perform that action at this time.
0 commit comments