Vibe.Presentation.RuntimeAlert (vibe v0.2.3)

Copy Markdown View Source

Renderer-neutral presentation for runtime alerts.

Summary

Types

t()

@type t() :: %Vibe.Presentation.RuntimeAlert{
  footer_label: String.t() | nil,
  id: String.t(),
  message: String.t(),
  severity: Vibe.SystemAlarms.Alert.severity(),
  title: String.t()
}

Functions

from_alert(alert)

@spec from_alert(Vibe.SystemAlarms.Alert.t()) :: t()

notification_attrs(alert)

@spec notification_attrs(t()) :: map()