# `Minga.Mode.ExtensionConfirmState`
[🔗](https://github.com/jsmestad/minga/blob/main/lib/minga/mode/extension_confirm_state.ex#L1)

FSM state for the extension update confirmation dialog.

Holds the list of pending updates, the current index being shown,
and whether the user wants details for the current item.

# `t`

```elixir
@type t() :: %Minga.Mode.ExtensionConfirmState{
  accepted: [non_neg_integer()],
  current: non_neg_integer(),
  show_details: boolean(),
  updates: [update_entry()]
}
```

# `update_entry`

```elixir
@type update_entry() :: %{
  name: atom(),
  source_type: :git | :hex,
  old_ref: String.t(),
  new_ref: String.t(),
  commit_count: non_neg_integer(),
  branch: String.t() | nil,
  pinned: boolean()
}
```

An update summary for display in the confirmation dialog.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
