UNPKG

@empathyco/x-components

Version:
24 lines (15 loc) 1.33 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [RecommendationsMutations](./x-components.recommendationsmutations.md) ## RecommendationsMutations interface Recommendations store mutations. **Signature:** ```typescript export interface RecommendationsMutations extends StatusMutations, ConfigMutations<RecommendationsState> ``` **Extends:** [StatusMutations](./x-components.statusmutations.md)<!-- -->, [ConfigMutations](./x-components.configmutations.md)<!-- -->&lt;[RecommendationsState](./x-components.recommendationsstate.md)<!-- -->&gt; ## Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [setParams](./x-components.recommendationsmutations.setparams.md) | | (params: Dictionary&lt;unknown&gt;) =&gt; void | Sets the extra params of the module. | | [setRecommendations](./x-components.recommendationsmutations.setrecommendations.md) | | (recommendations: Result\[\]) =&gt; void | Sets the recommendations of the module. | | [updateRecommendation](./x-components.recommendationsmutations.updaterecommendation.md) | | (recommendation: Partial&lt;Result&gt; &amp; Pick&lt;Result, 'id'&gt;) =&gt; void | Updates a recommendation with new fields. |