UNPKG

interface-ipfs-core

Version:

A test suite and interface you can use to implement a IPFS core interface.

17 lines 440 B
/** * @typedef {import('ipfsd-ctl').Factory} Factory */ /** * @param {Factory} factory * @param {object} options */ export function testRefs(factory: Factory, options: object): void; export type Factory = import('ipfsd-ctl').Factory; export type Store = { putData: (data: Uint8Array) => Promise<CID>; putLinks: (links: { name: string; cid: string; }[]) => Promise<CID>; }; //# sourceMappingURL=refs.d.ts.map