@empathyco/x-components
Version:
Empathy X Components
165 lines (74 loc) • 2.33 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [DefaultResultsEnrichmentService](./x-components.defaultresultsenrichmentservice.md)
## DefaultResultsEnrichmentService class
Default implementation for the [ResultsEnrichmentService](./x-components.resultsenrichmentservice.md)<!-- -->.
**Signature:**
```typescript
export declare class DefaultResultsEnrichmentService implements ResultsEnrichmentService
```
**Implements:** [ResultsEnrichmentService](./x-components.resultsenrichmentservice.md)
## Constructors
<table><thead><tr><th>
Constructor
</th><th>
Modifiers
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[(constructor)()](./x-components.defaultresultsenrichmentservice._constructor_.md)
</td><td>
</td><td>
Constructs a new instance of the `DefaultResultsEnrichmentService` class
</td></tr>
</tbody></table>
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[instance](./x-components.defaultresultsenrichmentservice.instance.md)
</td><td>
`static`
</td><td>
[ResultsEnrichmentService](./x-components.resultsenrichmentservice.md)
</td><td>
Global instance of the [ResultsEnrichmentService](./x-components.resultsenrichmentservice.md)<!-- -->.
</td></tr>
<tr><td>
[store](./x-components.defaultresultsenrichmentservice.store.md)
</td><td>
`protected`
`readonly`
</td><td>
Store<[RootXStoreState](./x-components.rootxstorestate.md)<!-- -->>
</td><td>
</td></tr>
</tbody></table>
## Methods
<table><thead><tr><th>
Method
</th><th>
Modifiers
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[fetchResults(\_)](./x-components.defaultresultsenrichmentservice.fetchresults.md)
</td><td>
</td><td>
Fetches the enrichment results.
</td></tr>
<tr><td>
[updateResults(\_, \_\_)](./x-components.defaultresultsenrichmentservice.updateresults.md)
</td><td>
</td><td>
Updates the results with the enrichment results. Updates via mutation.
</td></tr>
</tbody></table>