<!-- 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

<table><thead><tr><th>

Property


</th><th>

Modifiers


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[setParams](./x-components.recommendationsmutations.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>

[setRecommendations](./x-components.recommendationsmutations.setrecommendations.md)


</td><td>


</td><td>

(recommendations: Result\[\]) =&gt; void


</td><td>

Sets the recommendations of the module.


</td></tr>
<tr><td>

[updateRecommendation](./x-components.recommendationsmutations.updaterecommendation.md)


</td><td>


</td><td>

(recommendation: Partial&lt;Result&gt; &amp; Pick&lt;Result, 'id'&gt;) =&gt; void


</td><td>

Updates a recommendation with new fields.


</td></tr>
<tr><td>

[updateRecommendationsFromEnrichment](./x-components.recommendationsmutations.updaterecommendationsfromenrichment.md)


</td><td>


</td><td>

(enrichmentResults: any\[\]) =&gt; void


</td><td>

Updates the recommendations with the enrichment results.


</td></tr>
</tbody></table>

