mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2025-04-26 02:02:13 +00:00
- Move marine-related part into FJS repo (fixes DXJ-184) - Move towards component-oriented architecture (fixes DXJ-183) - Different JS Client distros for node.js and web (fixes DXJ-185) - Update libp2p to 0.42.2 (fixes DXJ-26) - Add JS Client API (fixes DXJ-196, fixes DXJ-177, fixes DXJ-60) - Add Smoke test for JS Client web (fixes DXJ-253) --------- Co-authored-by: Anatoly Laskaris <github_me@nahsi.dev>
13 lines
387 B
Plaintext
13 lines
387 B
Plaintext
data ReadFileResult:
|
|
-- Was the call successful or not
|
|
success: bool
|
|
-- File content in base64 if the call was successful
|
|
content: ?string
|
|
-- Error message if the call was unsuccessful
|
|
error: ?string
|
|
|
|
service NodeUtils("node_utils"):
|
|
-- Read file from file system.
|
|
-- returns file content in base64 format
|
|
read_file(path: string) -> ReadFileResult
|