@empathyco/x-components
Version:
Empathy X Components
23 lines (14 loc) • 934 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-types](./x-types.md) > [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)<!-- --><'QuerySuggestion' \| 'PopularSearch'>, [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. |