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
This commit is contained in:
Dorian
2026-01-27 17:18:21 +00:00
parent a81f655133
commit 0d073fa89e
22658 changed files with 4494151 additions and 6 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+34
View File
@@ -0,0 +1,34 @@
/**
* @param {PBNode} node
* @returns {ByteView<PBNode>}
*/
export function encode(node: PBNode): ByteView<PBNode>;
/**
* @param {ByteView<PBNode> | ArrayBufferView<PBNode>} bytes
* @returns {PBNode}
*/
export function decode(bytes: ByteView<PBNode> | ArrayBufferView<PBNode>): PBNode;
/**
* @template T
* @typedef {import('multiformats/codecs/interface').ByteView<T>} ByteView
*/
/**
* @template T
* @typedef {import('multiformats/codecs/interface').ArrayBufferView<T>} ArrayBufferView
*/
/**
* @typedef {import('./interface.js').PBLink} PBLink
* @typedef {import('./interface.js').PBNode} PBNode
*/
export const name: "dag-pb";
export const code: 112;
export type ByteView<T> = import("multiformats/codecs/interface").ByteView<T>;
export type ArrayBufferView<T> = import("multiformats/codecs/interface").ArrayBufferView<T>;
export type PBLink = import("./interface.js").PBLink;
export type PBNode = import("./interface.js").PBNode;
import { prepare } from './util.js';
import { validate } from './util.js';
import { createNode } from './util.js';
import { createLink } from './util.js';
export { prepare, validate, createNode, createLink };
//# sourceMappingURL=index.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.js"],"names":[],"mappings":"AAuBA;;;GAGG;AACH,6BAHW,MAAM,GACJ,QAAQ,CAAC,MAAM,CAAC,CA0B5B;AAED;;;GAGG;AACH,8BAHW,QAAQ,CAAC,MAAM,CAAC,GAAG,eAAe,CAAC,MAAM,CAAC,GACxC,MAAM,CAkClB;AApFD;;;GAGG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH,mBAAoB,QAAQ,CAAA;AAC5B,mBAAoB,GAAI,CAAA;qBAfX,CAAC,IACD,OAAO,+BAA+B,EAAE,QAAQ,CAAC,CAAC,CAAC;4BAInD,CAAC,IACD,OAAO,+BAA+B,EAAE,eAAe,CAAC,CAAC,CAAC;qBAI1D,OAAO,gBAAgB,EAAE,MAAM;qBAC/B,OAAO,gBAAgB,EAAE,MAAM;wBAd0B,WAAW;yBAAX,WAAW;2BAAX,WAAW;2BAAX,WAAW"}
+20
View File
@@ -0,0 +1,20 @@
import type { CID } from 'multiformats/cid';
export interface PBLink {
Name?: string;
Tsize?: number;
Hash: CID;
}
export interface PBNode {
Data?: Uint8Array;
Links: PBLink[];
}
export interface RawPBLink {
Name: string;
Tsize: number;
Hash: Uint8Array;
}
export interface RawPBNode {
Data: Uint8Array;
Links: RawPBLink[];
}
//# sourceMappingURL=interface.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../src/interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAO3C,MAAM,WAAW,MAAM;IACrB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,GAAG,CAAA;CACV;AAED,MAAM,WAAW,MAAM;IACrB,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,KAAK,EAAE,MAAM,EAAE,CAAA;CAChB;AAOD,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,UAAU,CAAA;CACjB;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,UAAU,CAAA;IAChB,KAAK,EAAE,SAAS,EAAE,CAAA;CACnB"}
+8
View File
@@ -0,0 +1,8 @@
/**
* @param {Uint8Array} bytes
* @returns {RawPBNode}
*/
export function decodeNode(bytes: Uint8Array): RawPBNode;
export type RawPBLink = import("./interface.js").RawPBLink;
export type RawPBNode = import("./interface.js").RawPBNode;
//# sourceMappingURL=pb-decode.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"pb-decode.d.ts","sourceRoot":"","sources":["../../src/pb-decode.js"],"names":[],"mappings":"AAwIA;;;GAGG;AACH,kCAHW,UAAU,GACR,SAAS,CAsDrB;wBA7LY,OAAO,gBAAgB,EAAE,SAAS;wBAIlC,OAAO,gBAAgB,EAAE,SAAS"}
+10
View File
@@ -0,0 +1,10 @@
/**
* Encodes a PBNode into a new byte array of precisely the correct size
*
* @param {RawPBNode} node
* @returns {Uint8Array}
*/
export function encodeNode(node: RawPBNode): Uint8Array;
export type RawPBLink = import("./interface.js").RawPBLink;
export type RawPBNode = import("./interface.js").RawPBNode;
//# sourceMappingURL=pb-encode.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"pb-encode.d.ts","sourceRoot":"","sources":["../../src/pb-encode.js"],"names":[],"mappings":"AAsDA;;;;;GAKG;AACH,iCAHW,SAAS,GACP,UAAU,CAwBtB;wBA7EY,OAAO,gBAAgB,EAAE,SAAS;wBAIlC,OAAO,gBAAgB,EAAE,SAAS"}
+34
View File
@@ -0,0 +1,34 @@
/**
* @param {any} node
* @returns {PBNode}
*/
export function prepare(node: any): PBNode;
/**
* @param {PBNode} node
*/
export function validate(node: PBNode): void;
/**
* @param {Uint8Array} data
* @param {PBLink[]} [links]
* @returns {PBNode}
*/
export function createNode(data: Uint8Array, links?: PBLink[]): PBNode;
/**
* @param {string} name
* @param {number} size
* @param {CID} cid
* @returns {PBLink}
*/
export function createLink(name: string, size: number, cid: CID): PBLink;
/**
* @template T
* @param {ByteView<T> | ArrayBufferView<T>} buf
* @returns {ByteView<T>}
*/
export function toByteView<T>(buf: ByteView<T> | ArrayBufferView<T>): ByteView<T>;
export type PBLink = import("./interface.js").PBLink;
export type PBNode = import("./interface.js").PBNode;
export type ByteView<T> = import("multiformats/codecs/interface").ByteView<T>;
export type ArrayBufferView<T> = import("multiformats/codecs/interface").ArrayBufferView<T>;
import { CID } from 'multiformats/cid';
//# sourceMappingURL=util.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../src/util.js"],"names":[],"mappings":"AAmHA;;;GAGG;AACH,8BAHW,GAAG,GACD,MAAM,CAoClB;AAED;;GAEG;AACH,+BAFW,MAAM,QAqEhB;AAED;;;;GAIG;AACH,iCAJW,UAAU,UACV,MAAM,EAAE,GACN,MAAM,CAIlB;AAED;;;;;GAKG;AACH,iCALW,MAAM,QACN,MAAM,OACN,GAAG,GACD,MAAM,CAIlB;AAED;;;;GAIG;AACH,2BAJa,CAAC,OACH,QAAQ,CAAC,CAAC,CAAC,GAAG,eAAe,CAAC,CAAC,CAAC,GAC9B,QAAQ,CAAC,CAAC,CAAC,CAQvB;qBA5PY,OAAO,gBAAgB,EAAE,MAAM;qBAC/B,OAAO,gBAAgB,EAAE,MAAM;qBAI/B,CAAC,IACD,OAAO,+BAA+B,EAAE,QAAQ,CAAC,CAAC,CAAC;4BAInD,CAAC,IACD,OAAO,+BAA+B,EAAE,eAAe,CAAC,CAAC,CAAC;oBAhBnD,kBAAkB"}
+20
View File
@@ -0,0 +1,20 @@
{
"PBLink": "https://ipld.github.io/js-dag-pb/interfaces/PBLink.html",
"PBNode": "https://ipld.github.io/js-dag-pb/interfaces/PBNode.html",
"ArrayBufferView": "https://ipld.github.io/js-dag-pb/types/ArrayBufferView.html",
".:ArrayBufferView": "https://ipld.github.io/js-dag-pb/types/ArrayBufferView.html",
"ByteView": "https://ipld.github.io/js-dag-pb/types/ByteView.html",
".:ByteView": "https://ipld.github.io/js-dag-pb/types/ByteView.html",
"code": "https://ipld.github.io/js-dag-pb/variables/code.html",
".:code": "https://ipld.github.io/js-dag-pb/variables/code.html",
"name": "https://ipld.github.io/js-dag-pb/variables/name.html",
".:name": "https://ipld.github.io/js-dag-pb/variables/name.html",
"createLink": "https://ipld.github.io/js-dag-pb/functions/createLink.html",
"createNode": "https://ipld.github.io/js-dag-pb/functions/createNode.html",
"decode": "https://ipld.github.io/js-dag-pb/functions/decode.html",
".:decode": "https://ipld.github.io/js-dag-pb/functions/decode.html",
"encode": "https://ipld.github.io/js-dag-pb/functions/encode.html",
".:encode": "https://ipld.github.io/js-dag-pb/functions/encode.html",
"prepare": "https://ipld.github.io/js-dag-pb/functions/prepare.html",
"validate": "https://ipld.github.io/js-dag-pb/functions/validate.html"
}