PhoenixKitSync.Web.ConnectionsLive (PhoenixKitSync v0.2.5)

Copy Markdown View Source

LiveView for managing DB Sync permanent connections.

Allows creating, editing, and managing persistent connections between PhoenixKit instances with access control settings.

Summary

Functions

The label of a connection status, in the reader's language: the stored statuses, and what a status fetch from the sender can come back as. Unknown values show as stored.

Functions

fetch_sender_statuses(receiver_connections)

See PhoenixKitSync.Web.ConnectionsLive.Status.fetch_sender_statuses/1.

status_label(other)

@spec status_label(String.t() | nil) :: String.t()

The label of a connection status, in the reader's language: the stored statuses, and what a status fetch from the sender can come back as. Unknown values show as stored.

verify_receiver_connections(sender_connections)

See PhoenixKitSync.Web.ConnectionsLive.Status.verify_receiver_connections/1.