# `DocShell.Presentation.Asset`
[🔗](https://github.com/futhr/doc_shell/blob/v2.0.0/lib/doc_shell/presentation/asset.ex#L1)

Describes one local asset produced by a renderer or search adapter.

`path` is a logical relative name, not a destination chosen by the renderer.
The static exporter rejects traversal and duplicates, hashes `bytes`, and
maps that name to the final public URL. This keeps renderers independent of
the output directory and prevents them from writing files themselves.

# `t`

```elixir
@type t() :: %DocShell.Presentation.Asset{
  bytes: binary(),
  media_type: String.t(),
  path: String.t()
}
```

A finite static asset returned by a renderer.

---

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