Aura.Model.HexPackageOwner (Aura v0.9.1)
View SourceA struct describing an owner of a Aura.Model.HexPackage
💻 Examples
%Aura.Model.HexPackageOwner{
email: "cam.cook.codes@gmail.com",
full_name: "Cam Cook",
handles: %{
elixir_forum: "https://elixirforum.com/u/camatcode",
git_hub: "https://github.com/camatcode"
},
inserted_at: ~U[2025-05-01 19:45:03.289458Z],
level: :full,
updated_at: ~U[2025-06-01 15:40:38.852881Z],
url: "https://hex.pm/api/users/camatcode",
username: "camatcode"
}
👀 See Also
📖 Resources
- 💬 Contact the maintainer (he's happy to help!)
Summary
Types
The user's full name
The user's administration level for this package
A map of social media handles owned by this user
Type describing an owner of a Aura.Model.HexPackage
Types
@type full_name() :: String.t()
The user's full name
💻 Examples
"Jane Smith"
👀 See Also
@type level() :: :full | :maintainer
The user's administration level for this package
@type social_handles() :: %{ elixir_form: URI.t(), git_hub: URI.t(), twitter: URI.t(), slack: URI.t(), libera: String.t() }
A map of social media handles owned by this user
💻 Examples
handles: %{
git_hub: "https://github.com/michalmuskala",
twitter: "https://twitter.com/michalmuskala",
slack: "https://elixir-slackin.herokuapp.com/",
libera: "irc://irc.libera.chat/elixir",
elixir_forum: "https://elixirforum.com/u/michalmuskala"
}
👀 See Also
@type t() :: %Aura.Model.HexPackageOwner{ email: Aura.Common.email(), full_name: full_name(), handles: social_handles(), inserted_at: Aura.Model.Common.inserted_at(), level: level(), updated_at: Aura.Model.Common.updated_at(), url: Aura.Model.Common.url(), username: Aura.Common.username() }
Type describing an owner of a Aura.Model.HexPackage
🏷️ Keys
- email ::
Aura.Common.email/0
- full_name ::
full_name/0
- handles ::
social_handles/0
- inserted_at ::
Aura.Model.Common.inserted_at/0
- level ::
level/0
- updated_at ::
Aura.Model.Common.updated_at/0
- url ::
Aura.Model.Common.url/0
- username ::
Aura.Common.username/0
💻 Examples
%Aura.Model.HexPackageOwner{
email: "cam.cook.codes@gmail.com",
full_name: "Cam Cook",
handles: %{
elixir_forum: "https://elixirforum.com/u/camatcode",
git_hub: "https://github.com/camatcode"
},
inserted_at: ~U[2025-05-01 19:45:03.289458Z],
level: :full,
updated_at: ~U[2025-06-01 15:40:38.852881Z],
url: "https://hex.pm/api/users/camatcode",
username: "camatcode"
}
👀 See Also
Functions
Builds a HexPackageOwner
from a map
🏷️ Params
- m :: A map to build into a
Aura.Model.HexPackageOwner.t/0