UNPKG

@empathyco/x-components

Version:
165 lines (74 loc) 2.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; [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&lt;[RootXStoreState](./x-components.rootxstorestate.md)<!-- -->&gt; </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>