DocShell.Presentation.SearchAdapter.Output (DocShell v0.5.0)

Copy Markdown View Source

Returns local index assets together with their browser query contract.

The contract describes how a renderer locates and interprets the assets; it is inert JSON data rather than a callback or hosted-service client.

Summary

Types

t()

A deterministic search adapter result.

Types

t()

@type t() :: %DocShell.Presentation.SearchAdapter.Output{
  assets: [DocShell.Presentation.Asset.t()],
  contract: map()
}

A deterministic search adapter result.