ArchAstro. Types. Notification
(archastro v0.2.0)
Copy Markdown
An inbox notification delivered to a recipient user. Includes type-specific render data resolved at request time.
Summary
Types
@type t() :: %ArchAstro.Types.Notification{ archived_at: DateTime.t() | ArchAstro.Unset.t(), created_at: DateTime.t(), id: String.t(), read_at: DateTime.t() | ArchAstro.Unset.t(), rendered: %{optional(String.t()) => ArchAstro.JSON.t()}, status: String.t(), type: String.t() }
Functions
@spec from_map(ArchAstro.JSON.object()) :: t()
@spec matches?(ArchAstro.JSON.t()) :: boolean()
@spec to_map(t()) :: ArchAstro.JSON.object()