Dorian 0d073fa89e Add comprehensive installation and setup documentation
- Add GETTING_STARTED.md with quick start guide and development modes
- Add INSTALL.sh automated installation script
- Add INSTALLATION_CHECKLIST.md, INSTALLATION_SUCCESS.md, and INSTALLATION_SUMMARY.md
- Add QUICK_REFERENCE.md for common commands
- Add SETUP_GUIDE.md with detailed setup instructions
- Update README.md with improved project overview
- Add did-wallet app dependencies and node_modules
2026-01-27 17:18:21 +00:00

21 lines
1.1 KiB
TypeScript

import type { AbortOptions, AwaitIterable, Store } from 'interface-store';
import type { CID } from 'multiformats/cid';
export interface Pair {
cid: CID;
block: Uint8Array;
}
export interface Blockstore<HasOptionsExtension = {}, PutOptionsExtension = {}, PutManyOptionsExtension = {}, GetOptionsExtension = {}, GetManyOptionsExtension = {}, GetAllOptionsExtension = {}, DeleteOptionsExtension = {}, DeleteManyOptionsExtension = {}> extends Store<CID, Uint8Array, Pair, HasOptionsExtension, PutOptionsExtension, PutManyOptionsExtension, GetOptionsExtension, GetManyOptionsExtension, DeleteOptionsExtension, DeleteManyOptionsExtension> {
/**
* Retrieve all cid/block pairs from the blockstore as an unordered iterable
*
* @example
* ```js
* for await (const { multihash, block } of store.getAll()) {
* console.log('got:', multihash, block)
* // => got MultihashDigest('Qmfoo') Uint8Array[...]
* }
* ```
*/
getAll: (options?: AbortOptions & GetAllOptionsExtension) => AwaitIterable<Pair>;
}
//# sourceMappingURL=index.d.ts.map