UNPKG

ipfs-core

Version:

JavaScript implementation of the IPFS specification

19 lines 697 B
/** * @typedef {import('interface-datastore').Datastore} Datastore */ /** * @param {object} arg * @param {import('libp2p').Libp2p} arg.libp2p * @param {import('ipfs-repo').IPFSRepo} arg.repo * @param {import('@libp2p/interface-peer-id').PeerId} arg.peerId * @param {object} arg.options */ export function createRouting({ libp2p, repo, peerId, options }: { libp2p: import('libp2p').Libp2p; repo: import('ipfs-repo').IPFSRepo; peerId: import('@libp2p/interface-peer-id').PeerId; options: object; }): TieredDatastore; export type Datastore = import('interface-datastore').Datastore; import { TieredDatastore } from "datastore-core/tiered"; //# sourceMappingURL=config.d.ts.map