@empathyco/x-components
Version:
Empathy X Components
174 lines (76 loc) • 2.37 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [RelatedPromptsMutations](./x-components.relatedpromptsmutations.md)
## RelatedPromptsMutations interface
Related prompts module mutations.
**Signature:**
```typescript
export interface RelatedPromptsMutations extends StatusMutations, QueryMutations
```
**Extends:** [StatusMutations](./x-components.statusmutations.md)<!-- -->, [QueryMutations](./x-components.querymutations.md)
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[resetRelatedPromptsState](./x-components.relatedpromptsmutations.resetrelatedpromptsstate.md)
</td><td>
</td><td>
() => void
</td><td>
Resets the related prompts state.
</td></tr>
<tr><td>
[resetSelectedPrompt](./x-components.relatedpromptsmutations.resetselectedprompt.md)
</td><td>
</td><td>
() => void
</td><td>
Resets the selected related prompt number.
</td></tr>
<tr><td>
[setParams](./x-components.relatedpromptsmutations.setparams.md)
</td><td>
</td><td>
(params: Dictionary<unknown>) => void
</td><td>
Sets the extra params of the module.
</td></tr>
<tr><td>
[setRelatedPromptsProducts](./x-components.relatedpromptsmutations.setrelatedpromptsproducts.md)
</td><td>
</td><td>
(products: RelatedPrompt\[\]) => void
</td><td>
Sets the related prompts of the module.
</td></tr>
<tr><td>
[setRelatedPromptsRelatedTags](./x-components.relatedpromptsmutations.setrelatedpromptsrelatedtags.md)
</td><td>
</td><td>
(relatedTags: RelatedTag\[\]) => void
</td><td>
Sets the related tags of the module.
</td></tr>
<tr><td>
[setSelectedPrompt](./x-components.relatedpromptsmutations.setselectedprompt.md)
</td><td>
</td><td>
(index: number) => void
</td><td>
Sets the selected related prompt.
</td></tr>
<tr><td>
[setSelectedQuery](./x-components.relatedpromptsmutations.setselectedquery.md)
</td><td>
</td><td>
(index: number) => void
</td><td>
Sets the selected next query.
</td></tr>
</tbody></table>