@empathyco/x-components 8.15.0 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/browse/index.js +1 -2
  3. package/core/index.js +0 -1
  4. package/core/index.js.map +1 -1
  5. package/docs/API-reference/api/x-components.browseactions.md +0 -19
  6. package/docs/API-reference/api/x-components.browsemutations.md +0 -19
  7. package/docs/API-reference/api/x-components.gethashfromquerypreviewinfo.md +72 -0
  8. package/docs/API-reference/api/x-components.gethashfromquerypreviewitem.md +56 -0
  9. package/docs/API-reference/api/x-components.md +22 -121
  10. package/docs/API-reference/api/x-components.queriespreviewactions.md +0 -19
  11. package/docs/API-reference/api/x-components.queriespreviewmutations.md +0 -19
  12. package/docs/API-reference/api/x-components.recommendationsactions.md +0 -38
  13. package/docs/API-reference/api/x-components.recommendationsmutations.md +0 -19
  14. package/docs/API-reference/api/x-components.searchactions.md +0 -38
  15. package/docs/API-reference/api/x-components.searchmutations.md +0 -38
  16. package/js/index.js +4 -7
  17. package/js/index.js.map +1 -1
  18. package/js/x-modules/browse/store/module.js +0 -6
  19. package/js/x-modules/browse/store/module.js.map +1 -1
  20. package/js/x-modules/browse/wiring.js +1 -8
  21. package/js/x-modules/browse/wiring.js.map +1 -1
  22. package/js/x-modules/facets/wiring.js +1 -0
  23. package/js/x-modules/facets/wiring.js.map +1 -1
  24. package/js/x-modules/queries-preview/store/module.js +0 -9
  25. package/js/x-modules/queries-preview/store/module.js.map +1 -1
  26. package/js/x-modules/queries-preview/wiring.js +2 -11
  27. package/js/x-modules/queries-preview/wiring.js.map +1 -1
  28. package/js/x-modules/recommendations/store/module.js +0 -7
  29. package/js/x-modules/recommendations/store/module.js.map +1 -1
  30. package/js/x-modules/recommendations/wiring.js +0 -9
  31. package/js/x-modules/recommendations/wiring.js.map +1 -1
  32. package/js/x-modules/search/store/module.js +2 -17
  33. package/js/x-modules/search/store/module.js.map +1 -1
  34. package/js/x-modules/search/wiring.js +2 -18
  35. package/js/x-modules/search/wiring.js.map +1 -1
  36. package/package.json +2 -2
  37. package/queries-preview/index.js +2 -1
  38. package/report/x-components.api.json +143 -1166
  39. package/report/x-components.api.md +8 -70
  40. package/search/index.js +1 -3
  41. package/types/src/services/index.d.ts +0 -1
  42. package/types/src/services/index.d.ts.map +1 -1
  43. package/types/src/services/services.types.d.ts +0 -21
  44. package/types/src/services/services.types.d.ts.map +1 -1
  45. package/types/src/x-modules/browse/store/actions/index.d.ts +0 -1
  46. package/types/src/x-modules/browse/store/actions/index.d.ts.map +1 -1
  47. package/types/src/x-modules/browse/store/module.d.ts.map +1 -1
  48. package/types/src/x-modules/browse/store/types.d.ts +0 -12
  49. package/types/src/x-modules/browse/store/types.d.ts.map +1 -1
  50. package/types/src/x-modules/browse/wiring.d.ts +0 -7
  51. package/types/src/x-modules/browse/wiring.d.ts.map +1 -1
  52. package/types/src/x-modules/facets/wiring.d.ts +1 -0
  53. package/types/src/x-modules/facets/wiring.d.ts.map +1 -1
  54. package/types/src/x-modules/queries-preview/index.d.ts +1 -0
  55. package/types/src/x-modules/queries-preview/index.d.ts.map +1 -1
  56. package/types/src/x-modules/queries-preview/store/module.d.ts.map +1 -1
  57. package/types/src/x-modules/queries-preview/store/types.d.ts +0 -17
  58. package/types/src/x-modules/queries-preview/store/types.d.ts.map +1 -1
  59. package/types/src/x-modules/queries-preview/wiring.d.ts +0 -9
  60. package/types/src/x-modules/queries-preview/wiring.d.ts.map +1 -1
  61. package/types/src/x-modules/recommendations/store/module.d.ts.map +1 -1
  62. package/types/src/x-modules/recommendations/store/types.d.ts +0 -17
  63. package/types/src/x-modules/recommendations/store/types.d.ts.map +1 -1
  64. package/types/src/x-modules/recommendations/wiring.d.ts +0 -3
  65. package/types/src/x-modules/recommendations/wiring.d.ts.map +1 -1
  66. package/types/src/x-modules/search/store/actions/index.d.ts +0 -2
  67. package/types/src/x-modules/search/store/actions/index.d.ts.map +1 -1
  68. package/types/src/x-modules/search/store/module.d.ts.map +1 -1
  69. package/types/src/x-modules/search/store/types.d.ts +0 -24
  70. package/types/src/x-modules/search/store/types.d.ts.map +1 -1
  71. package/types/src/x-modules/search/wiring.d.ts +0 -16
  72. package/types/src/x-modules/search/wiring.d.ts.map +1 -1
  73. package/docs/API-reference/api/x-components.browseactions.fetchandsaveresultsenrichment.md +0 -13
  74. package/docs/API-reference/api/x-components.browsemutations.updateresultsfromenrichment.md +0 -13
  75. package/docs/API-reference/api/x-components.cancelfetchandsavepartialresultsenrichment.md +0 -17
  76. package/docs/API-reference/api/x-components.cancelfetchandsaveresultsenrichment.md +0 -17
  77. package/docs/API-reference/api/x-components.defaultresultsenrichmentservice._constructor_.md +0 -13
  78. package/docs/API-reference/api/x-components.defaultresultsenrichmentservice.fetchresults.md +0 -52
  79. package/docs/API-reference/api/x-components.defaultresultsenrichmentservice.instance.md +0 -13
  80. package/docs/API-reference/api/x-components.defaultresultsenrichmentservice.md +0 -164
  81. package/docs/API-reference/api/x-components.defaultresultsenrichmentservice.store.md +0 -11
  82. package/docs/API-reference/api/x-components.defaultresultsenrichmentservice.updateresults.md +0 -66
  83. package/docs/API-reference/api/x-components.fetchandsavebrowseresultsenrichment.md +0 -66
  84. package/docs/API-reference/api/x-components.fetchandsavebrowseresultsenrichmentwire.md +0 -13
  85. package/docs/API-reference/api/x-components.fetchandsavepartialresultsenrichment.md +0 -66
  86. package/docs/API-reference/api/x-components.fetchandsavepartialresultsenrichmentwire.md +0 -13
  87. package/docs/API-reference/api/x-components.fetchandsavequerypreviewresultsenrichmentwire.md +0 -13
  88. package/docs/API-reference/api/x-components.fetchandsaveresultsenrichment.md +0 -66
  89. package/docs/API-reference/api/x-components.fetchandsaveresultsenrichmentwire.md +0 -13
  90. package/docs/API-reference/api/x-components.queriespreviewactions.fetchandsavequerypreviewresultsenrichment.md +0 -13
  91. package/docs/API-reference/api/x-components.queriespreviewmutations.updatequerypreviewresultsfromenrichment.md +0 -16
  92. package/docs/API-reference/api/x-components.recommendationsactions.cancelfetchandsaverecommendationsenrichment.md +0 -13
  93. package/docs/API-reference/api/x-components.recommendationsactions.fetchandsaverecommendationsenrichment.md +0 -13
  94. package/docs/API-reference/api/x-components.recommendationsmutations.updaterecommendationsfromenrichment.md +0 -13
  95. package/docs/API-reference/api/x-components.resultsenrichmentservice.fetchresults.md +0 -13
  96. package/docs/API-reference/api/x-components.resultsenrichmentservice.md +0 -77
  97. package/docs/API-reference/api/x-components.resultsenrichmentservice.updateresults.md +0 -13
  98. package/docs/API-reference/api/x-components.searchactions.fetchandsavepartialresultsenrichment.md +0 -13
  99. package/docs/API-reference/api/x-components.searchactions.fetchandsaveresultsenrichment.md +0 -13
  100. package/docs/API-reference/api/x-components.searchmutations.updatepartialresultsfromenrichment.md +0 -13
  101. package/docs/API-reference/api/x-components.searchmutations.updateresultsfromenrichment.md +0 -13
  102. package/js/services/results-enrichment.service.js +0 -37
  103. package/js/services/results-enrichment.service.js.map +0 -1
  104. package/js/x-modules/browse/store/actions/fetch-and-save-results-enrichment.action.js +0 -21
  105. package/js/x-modules/browse/store/actions/fetch-and-save-results-enrichment.action.js.map +0 -1
  106. package/js/x-modules/queries-preview/store/actions/fetch-and-save-query-preview-results-enrichment.action.js +0 -21
  107. package/js/x-modules/queries-preview/store/actions/fetch-and-save-query-preview-results-enrichment.action.js.map +0 -1
  108. package/js/x-modules/recommendations/store/actions/fetch-and-save-recommendations-enrichment.action.js +0 -30
  109. package/js/x-modules/recommendations/store/actions/fetch-and-save-recommendations-enrichment.action.js.map +0 -1
  110. package/js/x-modules/search/store/actions/fetch-and-save-partial-results-enrichment.action.js +0 -33
  111. package/js/x-modules/search/store/actions/fetch-and-save-partial-results-enrichment.action.js.map +0 -1
  112. package/js/x-modules/search/store/actions/fetch-and-save-results-enrichment.action.js +0 -28
  113. package/js/x-modules/search/store/actions/fetch-and-save-results-enrichment.action.js.map +0 -1
  114. package/types/src/services/results-enrichment.service.d.ts +0 -31
  115. package/types/src/services/results-enrichment.service.d.ts.map +0 -1
  116. package/types/src/x-modules/browse/store/actions/fetch-and-save-results-enrichment.action.d.ts +0 -17
  117. package/types/src/x-modules/browse/store/actions/fetch-and-save-results-enrichment.action.d.ts.map +0 -1
  118. package/types/src/x-modules/queries-preview/store/actions/fetch-and-save-query-preview-results-enrichment.action.d.ts +0 -3
  119. package/types/src/x-modules/queries-preview/store/actions/fetch-and-save-query-preview-results-enrichment.action.d.ts.map +0 -1
  120. package/types/src/x-modules/recommendations/store/actions/fetch-and-save-recommendations-enrichment.action.d.ts +0 -17
  121. package/types/src/x-modules/recommendations/store/actions/fetch-and-save-recommendations-enrichment.action.d.ts.map +0 -1
  122. package/types/src/x-modules/search/store/actions/fetch-and-save-partial-results-enrichment.action.d.ts +0 -17
  123. package/types/src/x-modules/search/store/actions/fetch-and-save-partial-results-enrichment.action.d.ts.map +0 -1
  124. package/types/src/x-modules/search/store/actions/fetch-and-save-results-enrichment.action.d.ts +0 -17
  125. package/types/src/x-modules/search/store/actions/fetch-and-save-results-enrichment.action.d.ts.map +0 -1
@@ -220,18 +220,6 @@ export interface SearchMutations extends StatusMutations, QueryMutations, Config
220
220
  * @param result - A result containing at least an id, and the properties to modify.
221
221
  */
222
222
  updateResult: (result: Partial<Result> & Pick<Result, 'id'>) => void;
223
- /**
224
- * Updates the results with the enrichment results.
225
- *
226
- * @param enrichmentResults - The enrichment results.
227
- */
228
- updateResultsFromEnrichment: (enrichmentResults: any[]) => void;
229
- /**
230
- * Updates the partial results with the enrichment results.
231
- *
232
- * @param enrichmentResults - The enrichment results.
233
- */
234
- updatePartialResultsFromEnrichment: (enrichmentResults: any[]) => void;
235
223
  }
236
224
  /**
237
225
  * Search store actions.
@@ -259,18 +247,6 @@ export interface SearchActions {
259
247
  * @returns The new search response.
260
248
  */
261
249
  fetchSearchResponse: (request: SearchRequest) => SearchResponse;
262
- /**
263
- * Requests and stores the enrichment results for the results.
264
- *
265
- * @param results - The results.
266
- */
267
- fetchAndSaveResultsEnrichment: (results: Result[]) => void;
268
- /**
269
- * Requests and stores the enrichment results for the partial results.
270
- *
271
- * @param partialResults - The partial results.
272
- */
273
- fetchAndSavePartialResultsEnrichment: (partialResults: PartialResult[]) => void;
274
250
  /**
275
251
  * Checks if there are more pages of results to load. If there are, then increases the page
276
252
  * number in state and set to `true` the {@link SearchState.isAppendResults} flag.
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/search/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EACN,KAAK,EACL,MAAM,EACN,aAAa,EACb,QAAQ,EACR,WAAW,EACX,UAAU,EACV,MAAM,EACN,aAAa,EACb,cAAc,EACd,IAAI,EACJ,KAAK,EACL,cAAc,EACf,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAChG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAA;AAC9E,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAA;AAClF,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AACnD,OAAO,KAAK,EAAE,qBAAqB,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAA;AAEnF;;;;GAIG;AACH,MAAM,WAAW,WAAY,SAAQ,WAAW,EAAE,UAAU;IAC1D,6EAA6E;IAC7E,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,8CAA8C;IAC9C,MAAM,EAAE,YAAY,CAAA;IACpB,4EAA4E;IAC5E,MAAM,EAAE,KAAK,EAAE,CAAA;IACf,6FAA6F;IAC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AAC,cAAc,EAAE,aAAa,EAAE,KAAK,IAAI,CAAA;IAC/E;;;;;;OAMG;IACH,4BAA4B,EAAE,MAAM,IAAI,CAAA;IACxC;;;;OAIG;IACH,YAAY,EAAE,CAAC,SAAS,EAAE,SAAS,KAAK,IAAI,CAAA;IAC5C;;;;OAIG;IACH,UAAU,EAAE,CAAC,UAAU,EAAE,eAAe,KAAK,IAAI,CAAA;IACjD;;;;OAIG;IACH,kBAAkB,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,IAAI,CAAA;CACvD;AAED;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAC3C,WAAW,EACX,aAAa,EACb,eAAe,EACf,aAAa,CACd,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAC9C,WAAW,EACX,aAAa,EACb,eAAe,EACf,aAAa,CACd,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/search/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EACN,KAAK,EACL,MAAM,EACN,aAAa,EACb,QAAQ,EACR,WAAW,EACX,UAAU,EACV,MAAM,EACN,aAAa,EACb,cAAc,EACd,IAAI,EACJ,KAAK,EACL,cAAc,EACf,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAChG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAA;AAC9E,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAA;AAClF,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAi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KAAK,cAAc,CAAA;IAC/D;;;;;;OAMG;IACH,4BAA4B,EAAE,MAAM,IAAI,CAAA;IACxC;;;;OAIG;IACH,YAAY,EAAE,CAAC,SAAS,EAAE,SAAS,KAAK,IAAI,CAAA;IAC5C;;;;OAIG;IACH,UAAU,EAAE,CAAC,UAAU,EAAE,eAAe,KAAK,IAAI,CAAA;IACjD;;;;OAIG;IACH,kBAAkB,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,IAAI,CAAA;CACvD;AAED;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAC3C,WAAW,EACX,aAAa,EACb,eAAe,EACf,aAAa,CACd,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAC9C,WAAW,EACX,aAAa,EACb,eAAe,EACf,aAAa,CACd,CAAA"}
@@ -17,12 +17,6 @@ export declare const saveOriginWire: import("../../wiring").AnyWire;
17
17
  * @public
18
18
  */
19
19
  export declare const fetchAndSaveSearchResponseWire: import("../../wiring").Wire<InternalSearchRequest | null>;
20
- /**
21
- * Requests and stores the enrichment results for the results.
22
- *
23
- * @public
24
- */
25
- export declare const fetchAndSaveResultsEnrichmentWire: import("../../wiring").Wire<import("@empathyco/x-types").Result[]>;
26
20
  /**
27
21
  * Resets the search state `spellcheckedQuery` to its initial value, an empty string.
28
22
  *
@@ -114,12 +108,6 @@ export declare const resetAppending: import("../../wiring").AnyWire;
114
108
  * @public
115
109
  */
116
110
  export declare const resetRequestOnRefinementWire: import("../../wiring").AnyWire;
117
- /**
118
- * Requests and stores the enrichment results for the partial results.
119
- *
120
- * @public
121
- */
122
- export declare const fetchAndSavePartialResultsEnrichmentWire: import("../../wiring").Wire<import("@empathyco/x-types").PartialResult[]>;
123
111
  /**
124
112
  * Resets the search state when the request is changed to null. See the
125
113
  * {@link SearchXStoreModule} for details.
@@ -161,9 +149,6 @@ export declare const searchWiring: {
161
149
  setUrlParams: import("../../wiring").Wire<import("../..").UrlParams>;
162
150
  saveOriginWire: import("../../wiring").AnyWire;
163
151
  };
164
- PartialResultsChanged: {
165
- fetchAndSavePartialResultsEnrichmentWire: import("../../wiring").Wire<import("@empathyco/x-types").PartialResult[]>;
166
- };
167
152
  UserAcceptedAQuery: {
168
153
  setSearchQuery: import("../../wiring").Wire<string>;
169
154
  saveOriginWire: import("../../wiring").AnyWire;
@@ -201,7 +186,6 @@ export declare const searchWiring: {
201
186
  };
202
187
  ResultsChanged: {
203
188
  resetAppending: import("../../wiring").AnyWire;
204
- fetchAndSaveResultsEnrichmentWire: import("../../wiring").Wire<import("@empathyco/x-types").Result[]>;
205
189
  };
206
190
  ReloadSearchRequested: {
207
191
  resetStateForReloadWire: import("../../wiring").AnyWire;
@@ -1 +1 @@
1
- {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/wiring.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AA+CpD;;;;GAIG;AACH,eAAO,MAAM,oCAAoC,gCAEhD,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,cAAc,gCAAyD,CAAA;AAEpF;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,2DAA6C,CAAA;AAExF;;;;GAIG;AACH,eAAO,MAAM,iCAAiC,oEAG7C,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,gCAAkC,CAAA;AAEnE;;;;GAIG;AACH,eAAO,MAAM,cAAc,wEAA+B,CAAA;AAE1D;;;;GAIG;AACH,eAAO,MAAM,cAAc,qCAAyB,CAAA;AAEpD;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,gCAA6B,CAAA;AAE1D;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,oEAAmC,CAAA;AAElE;;;;GAIG;AACH,eAAO,MAAM,OAAO,qCAAwB,CAAA;AAE5C;;;;GAIG;AACH,eAAO,MAAM,YAAY,wDAA+B,CAAA;AAExD;;;;GAIG;AACH,e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
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [BrowseActions](./x-components.browseactions.md) &gt; [fetchAndSaveResultsEnrichment](./x-components.browseactions.fetchandsaveresultsenrichment.md)
4
-
5
- ## BrowseActions.fetchAndSaveResultsEnrichment property
6
-
7
- Requests and stores the enrichment results for the results.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- fetchAndSaveResultsEnrichment: (results: Result[]) => void;
13
- ```
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [BrowseMutations](./x-components.browsemutations.md) &gt; [updateResultsFromEnrichment](./x-components.browsemutations.updateresultsfromenrichment.md)
4
-
5
- ## BrowseMutations.updateResultsFromEnrichment property
6
-
7
- Updates the results with the enrichment results.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- updateResultsFromEnrichment: (enrichmentResults: any[]) => void;
13
- ```
@@ -1,17 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [cancelFetchAndSavePartialResultsEnrichment](./x-components.cancelfetchandsavepartialresultsenrichment.md)
4
-
5
- ## cancelFetchAndSavePartialResultsEnrichment() function
6
-
7
- Default implementation for action.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- cancelFetchAndSavePartialResultsEnrichment: () => void
13
- ```
14
- **Returns:**
15
-
16
- void
17
-
@@ -1,17 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [cancelFetchAndSaveResultsEnrichment](./x-components.cancelfetchandsaveresultsenrichment.md)
4
-
5
- ## cancelFetchAndSaveResultsEnrichment() function
6
-
7
- Default implementation for action.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- cancelFetchAndSaveResultsEnrichment: () => void
13
- ```
14
- **Returns:**
15
-
16
- void
17
-
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [DefaultResultsEnrichmentService](./x-components.defaultresultsenrichmentservice.md) &gt; [(constructor)](./x-components.defaultresultsenrichmentservice._constructor_.md)
4
-
5
- ## DefaultResultsEnrichmentService.(constructor)
6
-
7
- Constructs a new instance of the `DefaultResultsEnrichmentService` class
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- constructor();
13
- ```
@@ -1,52 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [DefaultResultsEnrichmentService](./x-components.defaultresultsenrichmentservice.md) &gt; [fetchResults](./x-components.defaultresultsenrichmentservice.fetchresults.md)
4
-
5
- ## DefaultResultsEnrichmentService.fetchResults() method
6
-
7
- Fetches the enrichment results.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- fetchResults(_: Result[]): Promise<any[]>;
13
- ```
14
-
15
- ## Parameters
16
-
17
- <table><thead><tr><th>
18
-
19
- Parameter
20
-
21
-
22
- </th><th>
23
-
24
- Type
25
-
26
-
27
- </th><th>
28
-
29
- Description
30
-
31
-
32
- </th></tr></thead>
33
- <tbody><tr><td>
34
-
35
- \_
36
-
37
-
38
- </td><td>
39
-
40
- Result\[\]
41
-
42
-
43
- </td><td>
44
-
45
-
46
- </td></tr>
47
- </tbody></table>
48
-
49
- **Returns:**
50
-
51
- Promise&lt;any\[\]&gt;
52
-
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [DefaultResultsEnrichmentService](./x-components.defaultresultsenrichmentservice.md) &gt; [instance](./x-components.defaultresultsenrichmentservice.instance.md)
4
-
5
- ## DefaultResultsEnrichmentService.instance property
6
-
7
- Global instance of the [ResultsEnrichmentService](./x-components.resultsenrichmentservice.md)<!-- -->.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- static instance: ResultsEnrichmentService;
13
- ```
@@ -1,164 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [DefaultResultsEnrichmentService](./x-components.defaultresultsenrichmentservice.md)
4
-
5
- ## DefaultResultsEnrichmentService class
6
-
7
- Default implementation for the [ResultsEnrichmentService](./x-components.resultsenrichmentservice.md)<!-- -->.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- export declare class DefaultResultsEnrichmentService implements ResultsEnrichmentService
13
- ```
14
- **Implements:** [ResultsEnrichmentService](./x-components.resultsenrichmentservice.md)
15
-
16
- ## Constructors
17
-
18
- <table><thead><tr><th>
19
-
20
- Constructor
21
-
22
-
23
- </th><th>
24
-
25
- Modifiers
26
-
27
-
28
- </th><th>
29
-
30
- Description
31
-
32
-
33
- </th></tr></thead>
34
- <tbody><tr><td>
35
-
36
- [(constructor)()](./x-components.defaultresultsenrichmentservice._constructor_.md)
37
-
38
-
39
- </td><td>
40
-
41
-
42
- </td><td>
43
-
44
- Constructs a new instance of the `DefaultResultsEnrichmentService` class
45
-
46
-
47
- </td></tr>
48
- </tbody></table>
49
-
50
- ## Properties
51
-
52
- <table><thead><tr><th>
53
-
54
- Property
55
-
56
-
57
- </th><th>
58
-
59
- Modifiers
60
-
61
-
62
- </th><th>
63
-
64
- Type
65
-
66
-
67
- </th><th>
68
-
69
- Description
70
-
71
-
72
- </th></tr></thead>
73
- <tbody><tr><td>
74
-
75
- [instance](./x-components.defaultresultsenrichmentservice.instance.md)
76
-
77
-
78
- </td><td>
79
-
80
- `static`
81
-
82
-
83
- </td><td>
84
-
85
- [ResultsEnrichmentService](./x-components.resultsenrichmentservice.md)
86
-
87
-
88
- </td><td>
89
-
90
- Global instance of the [ResultsEnrichmentService](./x-components.resultsenrichmentservice.md)<!-- -->.
91
-
92
-
93
- </td></tr>
94
- <tr><td>
95
-
96
- [store](./x-components.defaultresultsenrichmentservice.store.md)
97
-
98
-
99
- </td><td>
100
-
101
- `protected`
102
-
103
- `readonly`
104
-
105
-
106
- </td><td>
107
-
108
- Store&lt;[RootXStoreState](./x-components.rootxstorestate.md)<!-- -->&gt;
109
-
110
-
111
- </td><td>
112
-
113
-
114
- </td></tr>
115
- </tbody></table>
116
-
117
- ## Methods
118
-
119
- <table><thead><tr><th>
120
-
121
- Method
122
-
123
-
124
- </th><th>
125
-
126
- Modifiers
127
-
128
-
129
- </th><th>
130
-
131
- Description
132
-
133
-
134
- </th></tr></thead>
135
- <tbody><tr><td>
136
-
137
- [fetchResults(\_)](./x-components.defaultresultsenrichmentservice.fetchresults.md)
138
-
139
-
140
- </td><td>
141
-
142
-
143
- </td><td>
144
-
145
- Fetches the enrichment results.
146
-
147
-
148
- </td></tr>
149
- <tr><td>
150
-
151
- [updateResults(\_, \_\_)](./x-components.defaultresultsenrichmentservice.updateresults.md)
152
-
153
-
154
- </td><td>
155
-
156
-
157
- </td><td>
158
-
159
- Updates the results with the enrichment results. Updates via mutation.
160
-
161
-
162
- </td></tr>
163
- </tbody></table>
164
-
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [DefaultResultsEnrichmentService](./x-components.defaultresultsenrichmentservice.md) &gt; [store](./x-components.defaultresultsenrichmentservice.store.md)
4
-
5
- ## DefaultResultsEnrichmentService.store property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- protected get store(): Store<RootXStoreState>;
11
- ```
@@ -1,66 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [DefaultResultsEnrichmentService](./x-components.defaultresultsenrichmentservice.md) &gt; [updateResults](./x-components.defaultresultsenrichmentservice.updateresults.md)
4
-
5
- ## DefaultResultsEnrichmentService.updateResults() method
6
-
7
- Updates the results with the enrichment results. Updates via mutation.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- updateResults(_: Result[], __: any[]): void;
13
- ```
14
-
15
- ## Parameters
16
-
17
- <table><thead><tr><th>
18
-
19
- Parameter
20
-
21
-
22
- </th><th>
23
-
24
- Type
25
-
26
-
27
- </th><th>
28
-
29
- Description
30
-
31
-
32
- </th></tr></thead>
33
- <tbody><tr><td>
34
-
35
- \_
36
-
37
-
38
- </td><td>
39
-
40
- Result\[\]
41
-
42
-
43
- </td><td>
44
-
45
-
46
- </td></tr>
47
- <tr><td>
48
-
49
- \_\_
50
-
51
-
52
- </td><td>
53
-
54
- any\[\]
55
-
56
-
57
- </td><td>
58
-
59
-
60
- </td></tr>
61
- </tbody></table>
62
-
63
- **Returns:**
64
-
65
- void
66
-
@@ -1,66 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [fetchAndSaveBrowseResultsEnrichment](./x-components.fetchandsavebrowseresultsenrichment.md)
4
-
5
- ## fetchAndSaveBrowseResultsEnrichment() function
6
-
7
- Default implementation for [BrowseActions.fetchAndSaveResultsEnrichment](./x-components.browseactions.fetchandsaveresultsenrichment.md) action.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- fetchAndSaveResultsEnrichment: (context: BrowseActionContext, request: Result[]) => void | Promise<void>
13
- ```
14
-
15
- ## Parameters
16
-
17
- <table><thead><tr><th>
18
-
19
- Parameter
20
-
21
-
22
- </th><th>
23
-
24
- Type
25
-
26
-
27
- </th><th>
28
-
29
- Description
30
-
31
-
32
- </th></tr></thead>
33
- <tbody><tr><td>
34
-
35
- context
36
-
37
-
38
- </td><td>
39
-
40
- [BrowseActionContext](./x-components.browseactioncontext.md)
41
-
42
-
43
- </td><td>
44
-
45
-
46
- </td></tr>
47
- <tr><td>
48
-
49
- request
50
-
51
-
52
- </td><td>
53
-
54
- Result\[\]
55
-
56
-
57
- </td><td>
58
-
59
-
60
- </td></tr>
61
- </tbody></table>
62
-
63
- **Returns:**
64
-
65
- void \| Promise&lt;void&gt;
66
-
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [fetchAndSaveBrowseResultsEnrichmentWire](./x-components.fetchandsavebrowseresultsenrichmentwire.md)
4
-
5
- ## fetchAndSaveBrowseResultsEnrichmentWire variable
6
-
7
- Requests and stores the enrichment results for the results.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- fetchAndSaveBrowseResultsEnrichmentWire: import("../../wiring").Wire<import("@empathyco/x-types").Result[]>
13
- ```
@@ -1,66 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [fetchAndSavePartialResultsEnrichment](./x-components.fetchandsavepartialresultsenrichment.md)
4
-
5
- ## fetchAndSavePartialResultsEnrichment() function
6
-
7
- Default implementation for [SearchActions.fetchAndSavePartialResultsEnrichment](./x-components.searchactions.fetchandsavepartialresultsenrichment.md) action.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- fetchAndSavePartialResultsEnrichment: (context: SearchActionContext, request: PartialResult[]) => void | Promise<void>
13
- ```
14
-
15
- ## Parameters
16
-
17
- <table><thead><tr><th>
18
-
19
- Parameter
20
-
21
-
22
- </th><th>
23
-
24
- Type
25
-
26
-
27
- </th><th>
28
-
29
- Description
30
-
31
-
32
- </th></tr></thead>
33
- <tbody><tr><td>
34
-
35
- context
36
-
37
-
38
- </td><td>
39
-
40
- [SearchActionContext](./x-components.searchactioncontext.md)
41
-
42
-
43
- </td><td>
44
-
45
-
46
- </td></tr>
47
- <tr><td>
48
-
49
- request
50
-
51
-
52
- </td><td>
53
-
54
- PartialResult\[\]
55
-
56
-
57
- </td><td>
58
-
59
-
60
- </td></tr>
61
- </tbody></table>
62
-
63
- **Returns:**
64
-
65
- void \| Promise&lt;void&gt;
66
-
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [fetchAndSavePartialResultsEnrichmentWire](./x-components.fetchandsavepartialresultsenrichmentwire.md)
4
-
5
- ## fetchAndSavePartialResultsEnrichmentWire variable
6
-
7
- Requests and stores the enrichment results for the partial results.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- fetchAndSavePartialResultsEnrichmentWire: import("../../wiring").Wire<import("@empathyco/x-types").PartialResult[]>
13
- ```
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [fetchAndSaveQueryPreviewResultsEnrichmentWire](./x-components.fetchandsavequerypreviewresultsenrichmentwire.md)
4
-
5
- ## fetchAndSaveQueryPreviewResultsEnrichmentWire variable
6
-
7
- Requests and stores the enrichment results for the query preview results.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- fetchAndSaveQueryPreviewResultsEnrichmentWire: import("../..").Wire<import("./store").QueryPreviewItem>
13
- ```