PhoenixGenApiTui.Views.ExecOverlay (phoenix_gen_api_tui v0.4.0)

Copy Markdown View Source

Renders the execute overlay with input fields and result display.

Uses ExRatatui's built-in TextInput widgets for interactive input. The overlay is rendered on top of the main layout and dismissed with Esc.

Summary

Functions

render(fun, state, area)

@spec render(
  %PhoenixGenApi.Structs.FunConfig{
    after_execute: term(),
    arg_orders: term(),
    arg_types: term(),
    before_execute: term(),
    check_permission: term(),
    choose_node_mode: term(),
    disabled: term(),
    hook_timeout: term(),
    mfa: term(),
    nodes: term(),
    permission_callback: term(),
    request_info: term(),
    request_type: term(),
    response_type: term(),
    retry: term(),
    service: term(),
    timeout: term(),
    version: term()
  }
  | nil,
  PhoenixGenApiTui.State.t(),
  ExRatatui.Layout.Rect.t()
) :: [term()]