@empathyco/x-components
Version:
Empathy X Components
135 lines (59 loc) • 2.14 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
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[NextQueriesChanged](./x-components.nextqueriesxevents.nextquerieschanged.md)
</td><td>
</td><td>
NextQuery\[\]
</td><td>
Next Queries have been changed. Payload: The new [next queries](./x-types.nextquery.md)<!-- -->.
</td></tr>
<tr><td>
[NextQueriesDisplayed](./x-components.nextqueriesxevents.nextqueriesdisplayed.md)
</td><td>
</td><td>
NextQuery\[\]
</td><td>
The current next queries have been displayed to the user. Payload: The displayed next queries.
</td></tr>
<tr><td>
[NextQueriesRequestUpdated](./x-components.nextqueriesxevents.nextqueriesrequestupdated.md)
</td><td>
</td><td>
NextQueriesRequest \| null
</td><td>
Any property of the next-queries request has changed Payload: The new next-queries request or `null` if there is not enough data in the state to conform a valid request.
</td></tr>
<tr><td>
[NextQueryPreviewMountedHook](./x-components.nextqueriesxevents.nextquerypreviewmountedhook.md)
</td><td>
</td><td>
string
</td><td>
The component to show a next query preview has been mounted. Payload: The next query to preview.
</td></tr>
<tr><td>
[UserSelectedANextQuery](./x-components.nextqueriesxevents.userselectedanextquery.md)
</td><td>
</td><td>
NextQuery
</td><td>
The user has selected a next-query Payload: The next query that has been selected by the user.
</td></tr>
</tbody></table>