Skip to content

Commit

Permalink
upd commands partly
Browse files Browse the repository at this point in the history
commands was partly updated for new api and moved to Single Folder
  • Loading branch information
t3ran13 committed Mar 31, 2018
1 parent ddd3145 commit f0b6ea9
Show file tree
Hide file tree
Showing 41 changed files with 192 additions and 472 deletions.
35 changes: 21 additions & 14 deletions Commands/Commands.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,29 @@
use GrapheneNodeClient\Connectors\ConnectorInterface;

/**
* @method Commands get_block()
* @method Commands get_accounts()
* @method Commands get_account_count()
* @method Commands get_account_history()
* @method Commands get_account_votes()
* @method Commands get_active_votes()
* @method Commands get_active_witnesses()
* @method Commands get_api_by_name() ONLY for STEEM
* @method Commands get_block()
* @method Commands get_block_header()
* @method Commands get_content()
* @method Commands get_content_replies()
* @method Commands get_current_median_history_price()
* @method Commands get_discussions_by_author_before_date()
* @method Commands get_discussions_by_blog()
* @method Commands get_discussions_by_created()
* @method Commands get_discussions_by_feed()
* @method Commands get_discussions_by_trending()
* @method Commands get_dynamic_global_properties()
* @method Commands get_ops_in_block()
* @method Commands get_trending_categories()
* @method Commands get_version()
* @method Commands get_witnesses_by_vote()
* @method Commands login() ONLY for STEEM
*/
class Commands implements CommandInterface
{
Expand Down Expand Up @@ -378,24 +398,11 @@ class Commands implements CommandInterface
'3' => ['integer'], //limit
]
],
'login' => [
'apiName' => 'login_api',
'fields' => [
0 => ['string'],
1 => ['string']
]
],
'get_version' => [
'apiName' => 'login_api',
'fields' => [
]
],
'get_api_by_name' => [
'apiName' => 'login_api',
'fields' => [
'0' => ['string'], //'api_name',for example follow_api, database_api, login_api and ect.
]
],
'broadcast_transaction' => [
'apiName' => 'network_broadcast_api',
'fields' => [
Expand Down
20 changes: 0 additions & 20 deletions Commands/DataBase/CommandInterface.php

This file was deleted.

18 changes: 0 additions & 18 deletions Commands/DataBase/GetAccountHistoryCommand.php

This file was deleted.

16 changes: 0 additions & 16 deletions Commands/DataBase/GetAccountVotesCommand.php

This file was deleted.

17 changes: 0 additions & 17 deletions Commands/DataBase/GetActiveVotesCommand.php

This file was deleted.

16 changes: 0 additions & 16 deletions Commands/DataBase/GetBlockCommand.php

This file was deleted.

16 changes: 0 additions & 16 deletions Commands/DataBase/GetBlockHeaderCommand.php

This file was deleted.

17 changes: 0 additions & 17 deletions Commands/DataBase/GetContentCommand.php

This file was deleted.

17 changes: 0 additions & 17 deletions Commands/DataBase/GetContentRepliesCommand.php

This file was deleted.

16 changes: 0 additions & 16 deletions Commands/DataBase/GetDiscussionsByAuthorBeforeDateCommand.php

This file was deleted.

30 changes: 0 additions & 30 deletions Commands/DataBase/GetDiscussionsByBlogCommand.php

This file was deleted.

30 changes: 0 additions & 30 deletions Commands/DataBase/GetDiscussionsByFeedCommand.php

This file was deleted.

30 changes: 0 additions & 30 deletions Commands/DataBase/GetDiscussionsByTrendingCommand.php

This file was deleted.

16 changes: 0 additions & 16 deletions Commands/DataBase/GetOpsInBlock.php

This file was deleted.

14 changes: 0 additions & 14 deletions Commands/DataBase/GetTrendingCategoriesCommand.php

This file was deleted.

14 changes: 0 additions & 14 deletions Commands/DataBase/GetWitnessesByVoteCommand.php

This file was deleted.

Loading

0 comments on commit f0b6ea9

Please sign in to comment.