@empathyco/x-components
Version:
Empathy X Components
78 lines (35 loc) • 1.11 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [ResultsEnrichmentService](./x-components.resultsenrichmentservice.md)
## ResultsEnrichmentService interface
Service to handle the enrichment of the results.
**Signature:**
```typescript
export interface ResultsEnrichmentService
```
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[fetchResults](./x-components.resultsenrichmentservice.fetchresults.md)
</td><td>
</td><td>
(results: Result\[\]) => Promise<any\[\]>
</td><td>
Fetches the enrichment results.
</td></tr>
<tr><td>
[updateResults](./x-components.resultsenrichmentservice.updateresults.md)
</td><td>
</td><td>
(results: Result\[\], enrichmentResults: any\[\]) => void
</td><td>
Updates the results with the enrichment results. Updates via mutation.
</td></tr>
</tbody></table>