UNPKG

@empathyco/x-components

Version:
174 lines (76 loc) 2.37 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [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> () =&gt; void </td><td> Resets the related prompts state. </td></tr> <tr><td> [resetSelectedPrompt](./x-components.relatedpromptsmutations.resetselectedprompt.md) </td><td> </td><td> () =&gt; 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&lt;unknown&gt;) =&gt; 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\[\]) =&gt; 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\[\]) =&gt; 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) =&gt; void </td><td> Sets the selected related prompt. </td></tr> <tr><td> [setSelectedQuery](./x-components.relatedpromptsmutations.setselectedquery.md) </td><td> </td><td> (index: number) =&gt; void </td><td> Sets the selected next query. </td></tr> </tbody></table>