@empathyco/x-components
Version:
Empathy X Components
24 lines (15 loc) • 1.33 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [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)<!-- --><[RecommendationsState](./x-components.recommendationsstate.md)<!-- -->>
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [setParams](./x-components.recommendationsmutations.setparams.md) | | (params: Dictionary<unknown>) => void | Sets the extra params of the module. |
| [setRecommendations](./x-components.recommendationsmutations.setrecommendations.md) | | (recommendations: Result\[\]) => void | Sets the recommendations of the module. |
| [updateRecommendation](./x-components.recommendationsmutations.updaterecommendation.md) | | (recommendation: Partial<Result> & Pick<Result, 'id'>) => void | Updates a recommendation with new fields. |