View Source WebInterface.Commands (Market Manager v2.1.5)
Contains information about the commands the web_interface understands. Works as a bridge between the web interface and the Manager application, which does the real work.
Link to this section Summary
Link to this section Types
Specs
activate_request() :: %{ command: :activate, strategy: Manager.Type.strategy(), syndicates: [Manager.Type.syndicate()] }
Specs
Specs
command() :: %{name: String.t(), description: String.t(), id: command_id()}
Specs
command_id() :: :activate | :deactivate | :authenticate
Specs
deactivate_request() :: %{ command: :deactivate, syndicates: [Manager.Type.syndicate()] }
Specs
dependencies() :: %{manager: module()}
Specs
request() :: activate_request() | deactivate_request() | authenticate_request()