Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Wyatt committed Jun 3, 2024
2 parents 360433b + 9f3a080 commit c423017
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 7 deletions.
24 changes: 19 additions & 5 deletions _data/arguments.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,13 @@
]
},
"Coin": {
"reset_password_coin": [
{
"type": "string",
"name": "newPassword",
"optional": false
}
],
"create_subwallet": [
{
"type": "string",
Expand Down Expand Up @@ -239,11 +246,6 @@
"type": "number",
"name": "amount",
"optional": false
},
{
"type": "string",
"name": "subwalletUser",
"optional": false
}
]
},
Expand Down Expand Up @@ -955,6 +957,13 @@
"active_net_card": []
},
"General": {
"reset_ctf_password": [
{
"type": "String",
"name": "new_password",
"optional": false
}
],
"get_ctf": [
{
"type": "String",
Expand Down Expand Up @@ -1439,6 +1448,11 @@
"type": "String",
"name": "key",
"optional": true
},
{
"type": "Number",
"name": "ascending",
"optional": true
}
],
"pull": [],
Expand Down
2 changes: 2 additions & 0 deletions _data/descriptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"show_nodes": "Returns an int indicating the number of devices mining a specific coin for the same wallet. In case of error a string is returned with the details."
},
"Coin": {
"reset_password_coin": "Reset the password for this coin.",
"create_subwallet": "Register a new account in the Coin that can be used to manage services such as stores. It is necessary to use the PIN that the owner of the wallet that wants to register has to provide.",
"get_address": "Returns the configured address that will be shown to users who do not have the currency, indicating where they have to register.",
"get_cycle_mining": "Returns an int with the number of hours (game time) that each mining cycle lasts. When a cycle ends, it is decided who gets the reward (1 coin) and the next cycle begins.",
Expand Down Expand Up @@ -184,6 +185,7 @@
"active_net_card": "Returns a string with the keyword WIFI if the current device is connected to a router by WiFi, if it is connected by cable a string with the keyword ETHERNET is returned."
},
"General": {
"reset_ctf_password": "Reset your player password used for all CTFs.",
"get_ctf": "Gets the event created in the web browser. In case of success, it will return a CTFEvent type object, otherwise it will return a string with the error.",
"get_custom_object": "Returns an empty Map object that can be used to share data back and forth with programs launched with shell.launch.",
"mail_login": "Access the email account\n\nReturns a MetaMail type object if the login has been correct. In case of error, it returns a string",
Expand Down
2 changes: 2 additions & 0 deletions _data/functions.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"show_nodes"
],
"Coin": [
"reset_password_coin",
"create_subwallet",
"get_address",
"get_cycle_mining",
Expand Down Expand Up @@ -186,6 +187,7 @@
"public_ip"
],
"General": [
"reset_ctf_password",
"mail_login",
"print",
"wait",
Expand Down
26 changes: 24 additions & 2 deletions _data/returns.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,17 @@
]
},
"Coin": {
"reset_password_coin": [
{
"type": "Number"
},
{
"type": "String"
},
{
"type": "null"
}
],
"create_subwallet": [
{
"type": "null"
Expand Down Expand Up @@ -757,8 +768,11 @@
],
"delete": [
{
"type": "Number"
}
"type": "String"
},
{
"type": "null"
},
],
"get_folders": [
{
Expand Down Expand Up @@ -928,6 +942,14 @@
]
},
"General": {
"reset_ctf_password": [
{
"type": "String"
},
{
"type": "Number"
}
],
"get_ctf": [
{
"type": "CTFEvent"
Expand Down
2 changes: 2 additions & 0 deletions _data/types.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"sell_coin": "wallet",
"show_nodes": "wallet",

"reset_password_coin": "coin",
"create_subwallet": "coin",
"get_address": "coin",
"get_cycle_mining": "coin",
Expand Down Expand Up @@ -165,6 +166,7 @@
"active_net_card": "computer",
"get_name": "computer",

"reset_ctf_password": "general",
"typeof": "general",
"get_ctf": "general",
"get_router": "general",
Expand Down

0 comments on commit c423017

Please sign in to comment.