View Source Shared.Data.Syndicate (Market Manager v2.1.8)

A syndicate is a party with tradable items.

Summary

Types

t()

Syndicate details

Types

@type syndicate() ::
  %{
    required(name :: String.t()) => String.t(),
    required(id :: String.t()) => atom() | String.t(),
    required(catalog :: String.t()) => [String.t()]
  }
  | [name: String.t(), id: atom(), catalog: [String.t()]]
@type t() :: %Shared.Data.Syndicate{
  catalog: [String.t()],
  id: atom(),
  name: String.t()
}

Syndicate details

Functions

@spec new(syndicate()) :: t()