LiveDebugger.CommonTypes (LiveDebugger v0.1.4)

View Source

This module provides types used in the LiveDebugger application.

Summary

Types

Type for state of a channel that hosts a LiveView.

Types

channel_state()

@type channel_state() :: %{
  socket: %Phoenix.LiveView.Socket{
    assigns: term(),
    endpoint: term(),
    fingerprints: term(),
    host_uri: term(),
    id: term(),
    parent_pid: term(),
    private: term(),
    redirected: term(),
    root_pid: term(),
    router: term(),
    transport_pid: term(),
    view: term()
  },
  components: {map(), any(), any()}
}

Type for state of a channel that hosts a LiveView.

cid()

@type cid() :: %Phoenix.LiveComponent.CID{cid: integer()}