# `Minga.Extension.Badge`
[🔗](https://github.com/jsmestad/minga/blob/main/sdk/lib/minga/extension/badge.ex#L1)

Registry for extension-owned decorations on file tree entries and tabs.

Decorate a file tree entry by path with a badge (colored dot, short text)
and/or a semantic `level` (a 0..4 familiarity/heat bucket the frontend
maps to a theme tint), or a tab by buffer PID.

## File decoration options

  * `:level` — semantic 0..4 bucket rendered as a row tint
  * `:color` — badge color (RGB integer)
  * `:text` — short badge text
  * `:animation` — `:static` (default) or `:pulse`

This is a compile-time stub. At runtime, the real module in Minga's
BEAM VM provides the implementation.

# `animation`

```elixir
@type animation() :: :static | :pulse
```

# `level`

```elixir
@type level() :: 0..4
```

# `remove_all`

```elixir
@spec remove_all(atom()) :: :ok
```

# `remove_file`

```elixir
@spec remove_file(atom(), String.t()) :: :ok
```

# `remove_tab`

```elixir
@spec remove_tab(atom(), pid()) :: :ok
```

# `set_file`

```elixir
@spec set_file(atom(), String.t(), keyword()) :: :ok
```

# `set_tab`

```elixir
@spec set_tab(atom(), pid(), keyword()) :: :ok
```

---

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