SearchSelector
Index
Methods
Methods
entries
Returns a StarlightListResponse with a list of Entries. By default, entries from all models are returned, but filtering by model can be configured.
Type parameters
- T: SerializedData = Record<string, unknown>
Parameters
optionaloptions: SearchEntriesParams
An optional object of request parameters. See SearchEntriesParams for all available options.
Returns Promise<StarlightListResponse<Entry<T>>>
A Selector that provide methods to search for content. Only entry search is supported for the time being.
You can use a SearchSelector by accessing StarlightClient.search.