Aura.Model.Common (Aura v1.0.1)

View Source

Common capabilities across all Aura models

Resources

Summary

Types

Whether the repository is a billable entity

URL with human-readable package/release documentation

URL with human-readable package/release information

DateTime for when the record was inserted into the database

DateTime for when the record was last modified in the database

The URL required to perform operations on this record

Functions

Cleans and validates a map into something Aura models can easily build

Types

billing_active()

@type billing_active() :: boolean()

Whether the repository is a billable entity

docs_html_url()

@type docs_html_url() :: URI.t()

URL with human-readable package/release documentation

Examples

"https://hexdocs.pm/aura/0.9.0/"

html_url()

@type html_url() :: URI.t()

URL with human-readable package/release information

Examples

"https://hex.pm/packages/aura/0.9.0"

inserted_at()

@type inserted_at() :: DateTime.t()

DateTime for when the record was inserted into the database

Examples

~U[2025-05-29 18:15:18.244790Z]

updated_at()

@type updated_at() :: DateTime.t()

DateTime for when the record was last modified in the database

Examples

~U[2025-06-01 15:13:04.347130Z]

url()

@type url() :: URI.t()

The URL required to perform operations on this record

Examples

"https://hex.pm/api/packages/aura/releases/0.9.0"

Functions

prepare(m)

@spec prepare(m :: map()) :: list()

Cleans and validates a map into something Aura models can easily build

Parameters

ParameterDescription
mA map to clean and validate