DagPbBlock: {
cid: CID;
bytes: ByteView<PBNode>;
value: PBNode;
asBlock: Block<PBNode>;
links: (() => Iterable<[string, CID]>);
tree: (() => Iterable<string>);
get: ((path?: string) => {
value: CID;
remaining: string;
} | {
value: Record<string, any>;
remaining?: undefined;
});
}
Type declaration
-
cid: CID
-
bytes: ByteView<PBNode>
-
value: PBNode
-
asBlock: Block<PBNode>
-
links: (() => Iterable<[string, CID]>)
-
- (): Iterable<[string, CID]>
-
Returns Iterable<[string, CID]>
-
tree: (() => Iterable<string>)
-
- (): Iterable<string>
-
Returns Iterable<string>
-
get: ((path?: string) => {
value: CID;
remaining: string;
} | {
value: Record<string, any>;
remaining?: undefined;
})
-
- (path?: string): {
value: CID;
remaining: string;
} | {
value: Record<string, any>;
remaining?: undefined;
}
-
Returns {
value: CID;
remaining: string;
} | {
value: Record<string, any>;
remaining?: undefined;
}