@empathyco/x-components
Version:
Empathy X Components
25 lines (16 loc) • 1.72 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [NextQueriesXEvents](./x-components.nextqueriesxevents.md)
## NextQueriesXEvents interface
Dictionary of the events of NextQueries XModule, where each key is the event name, and the value is the event payload type or `void` if it has no payload.
**Signature:**
```typescript
export interface NextQueriesXEvents
```
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [NextQueriesChanged](./x-components.nextqueriesxevents.nextquerieschanged.md) | | NextQuery\[\] | Next Queries have been changed. Payload: The new [next queries](./x-types.nextquery.md)<!-- -->. |
| [NextQueriesDisplayed](./x-components.nextqueriesxevents.nextqueriesdisplayed.md) | | NextQuery\[\] | The current next queries have been displayed to the user. Payload: The displayed next queries. |
| [NextQueriesRequestUpdated](./x-components.nextqueriesxevents.nextqueriesrequestupdated.md) | | NextQueriesRequest \| null | Any property of the next-queries request has changed Payload: The new next-queries request or <code>null</code> if there is not enough data in the state to conform a valid request. |
| [NextQueryPreviewMountedHook](./x-components.nextqueriesxevents.nextquerypreviewmountedhook.md) | | string | The component to show a next query preview has been mounted. Payload: The next query to preview. |
| [UserSelectedANextQuery](./x-components.nextqueriesxevents.userselectedanextquery.md) | | NextQuery | The user has selected a next-query Payload: The next query that has been selected by the user. |