Aura.Model.HexPackageOwner (Aura v1.0.2)
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"
}
Resources
- Hex
- Contact the maintainer (he's happy to help!)
See Also
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
See Also
@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
%{
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
- level ::
Aura.Model.HexPackageOwner.level/0 - handles ::
Aura.Model.HexPackageOwner.social_handles/0 - url ::
Aura.Model.Common.url/0 - email ::
Aura.Common.email/0 - username ::
Aura.Common.username/0 - inserted_at ::
Aura.Model.Common.inserted_at/0 - updated_at ::
Aura.Model.Common.updated_at/0 - full_name ::
Aura.Model.HexPackageOwner.full_name/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
Parameters
| Parameter | Description |
|---|---|
| m | A map to build into a Aura.Model.HexPackageOwner.t/0 |