UNPKG

@empathyco/x-components

Version:
23 lines (14 loc) 934 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-types](./x-types.md) &gt; [Suggestion](./x-types.suggestion.md) ## Suggestion interface A suggestion represents a query that has been proposed to the user, due of being popular, matching with the current search query... **Signature:** ```typescript export interface Suggestion extends NamedModel<'QuerySuggestion' | 'PopularSearch'>, Previewable ``` **Extends:** [NamedModel](./x-types.namedmodel.md)<!-- -->&lt;'QuerySuggestion' \| 'PopularSearch'&gt;, [Previewable](./x-types.previewable.md) ## Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [isCurated?](./x-types.suggestion.iscurated.md) | | boolean | _(Optional)_ If it's a curated suggestion. | | [key](./x-types.suggestion.key.md) | | string | Unique identifier of the suggestion. |