# `Tune.UI.Recipe`
[🔗](https://github.com/mikehostetler/tune/blob/v0.5.0/lib/tune/ui/recipe.ex#L1)

The application-code boundary used by the optional Tune UI.

# `build`

```elixir
@callback build(Tune.UI.Study.t()) :: {:ok, Tune.t()} | {:error, term()}
```

# `default_config`

```elixir
@callback default_config() :: map()
```

# `description`

```elixir
@callback description() :: String.t()
```

# `id`

```elixir
@callback id() :: String.t()
```

# `label`

```elixir
@callback label() :: String.t()
```

# `normalize_config`
*optional* 

```elixir
@callback normalize_config(map()) :: {:ok, map()} | {:error, Exception.t()}
```

# `normalize_data`
*optional* 

```elixir
@callback normalize_data(map()) :: {:ok, map()} | {:error, Exception.t()}
```

# `preview_input`

```elixir
@callback preview_input(Tune.UI.Study.t()) :: {:ok, term()} | {:error, term()}
```

---

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