UNPKG

@empathyco/x-components

Version:
78 lines (35 loc) 1.11 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [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\[\]) =&gt; Promise&lt;any\[\]&gt; </td><td> Fetches the enrichment results. </td></tr> <tr><td> [updateResults](./x-components.resultsenrichmentservice.updateresults.md) </td><td> </td><td> (results: Result\[\], enrichmentResults: any\[\]) =&gt; void </td><td> Updates the results with the enrichment results. Updates via mutation. </td></tr> </tbody></table>