View Source Manager.Type (Market Manager v2.1.8)

Holds the types for the Manager library.

Summary

Types

@type activate_response() :: :ok
Link to this type

active_syndicates_response()

View Source
@type active_syndicates_response() ::
  {:ok, [Shared.Data.Syndicate.t()]} | {:error, any()}
@type deactivate_response() :: :ok
@type dependencies() :: keyword(module())
@type handle() :: (result :: any() -> :ok)
@type item_id() :: String.t()
@type login_response() :: :ok
@type logout_response() :: :ok | {:error, any()}
Link to this type

recover_login_response()

View Source
@type recover_login_response() :: {:ok, Shared.Data.User.t() | nil} | {:error, any()}
@type strategies_response() :: {:ok, [Shared.Data.Strategy.t()]} | {:error, any()}
@type syndicates_response() :: {:ok, [Shared.Data.Syndicate.t()]} | {:error, any()}