IPFSCLIENT: {
add: ((value, options) => Promise<string | undefined>);
addAll: ((values, options) => Promise<string[]>);
addAllNode?: ((values, addOptions) => Promise<{
Hash: string;
Name: string;
Size: number;
}[]>);
}
Type declaration
-
add: ((value, options) => Promise<string | undefined>)
-
- (value, options): Promise<string | undefined>
-
Returns Promise<string | undefined>
-
addAll: ((values, options) => Promise<string[]>)
-
- (values, options): Promise<string[]>
-
Returns Promise<string[]>
-
Optional
addAllNode?: ((values, addOptions) => Promise<{
Hash: string;
Name: string;
Size: number;
}[]>)
-
- (values, addOptions): Promise<{
Hash: string;
Name: string;
Size: number;
}[]>
-
Returns Promise<{
Hash: string;
Name: string;
Size: number;
}[]>