@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
package/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [9.0.0](https://github.com/empathyco/x/compare/@empathyco/x-components@8.15.1...@empathyco/x-components@9.0.0) (2026-09-28)
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ * **results-enrichment:** DefaultResultsEnrichmentService service is no longer supported. Use custom x-module options instead.
11
+
12
+ ### Code Refactoring
13
+
14
+ * **results-enrichment:** results-enrichment feature decommission (#2177)
15
+
16
+
17
+ ## [8.15.1](https://github.com/empathyco/x/compare/@empathyco/x-components@8.15.0...@empathyco/x-components@8.15.1) (2026-09-28)
18
+
19
+ **Note:** Version bump only for package @empathyco/x-components
20
+
21
+
22
+
23
+
24
+
6
25
  ## [8.15.0](https://github.com/empathyco/x/compare/@empathyco/x-components@8.14.2...@empathyco/x-components@8.15.0) (2026-09-28)
7
26
 
8
27
  ### Features
package/browse/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  export { default as BrowseResultsList } from '../js/x-modules/browse/components/browse-results-list.vue.js';
2
2
  export { cancelFetchAndSaveBrowseResponse, fetchAndSaveBrowseResponse } from '../js/x-modules/browse/store/actions/fetch-and-save-browse-response.action.js';
3
- export { fetchAndSaveResultsEnrichment as fetchAndSaveBrowseResultsEnrichment } from '../js/x-modules/browse/store/actions/fetch-and-save-results-enrichment.action.js';
4
3
  export { fetchBrowseResponse } from '../js/x-modules/browse/store/actions/fetch-browse-response.action.js';
5
4
  export { increasePageAppendingResults as increaseBrowsePageAppendingResults } from '../js/x-modules/browse/store/actions/increase-page-apending-results.action.js';
6
5
  export { resetRequestOnRefinement as resetBrowseRequestOnRefinement } from '../js/x-modules/browse/store/actions/reset-request-on-refinement.action.js';
@@ -10,5 +9,5 @@ export { setUrlParams as setBrowseUrlParams } from '../js/x-modules/browse/store
10
9
  export { browseEmitters } from '../js/x-modules/browse/store/emitters.js';
11
10
  export { request as browseRequest } from '../js/x-modules/browse/store/getters/request.getter.js';
12
11
  export { browseXStoreModule, resettableBrowseState } from '../js/x-modules/browse/store/module.js';
13
- export { browseWiring, cancelFetchAndSaveBrowseResponseWire, clearBrowseQuery, fetchAndSaveBrowseResponseWire, fetchAndSaveBrowseResultsEnrichmentWire, increaseBrowsePageAppendingResultsWire, resetBrowseAppending, resetBrowseRequestOnRefinementWire, resetBrowseStateForReloadWire, resetBrowseStateIfNoRequestWire, resetFromNoBrowseResultsWithFilters, resetIsNoBrowseResults, saveBrowseOriginWire, setBrowseCategory, setBrowseExtraParams, setBrowsePage, setBrowseSelectedFilters, setBrowseSort, setBrowseUrlParamsWire } from '../js/x-modules/browse/wiring.js';
12
+ export { browseWiring, cancelFetchAndSaveBrowseResponseWire, clearBrowseQuery, fetchAndSaveBrowseResponseWire, increaseBrowsePageAppendingResultsWire, resetBrowseAppending, resetBrowseRequestOnRefinementWire, resetBrowseStateForReloadWire, resetBrowseStateIfNoRequestWire, resetFromNoBrowseResultsWithFilters, resetIsNoBrowseResults, saveBrowseOriginWire, setBrowseCategory, setBrowseExtraParams, setBrowsePage, setBrowseSelectedFilters, setBrowseSort, setBrowseUrlParamsWire } from '../js/x-modules/browse/wiring.js';
14
13
  export { browseXModule } from '../js/x-modules/browse/x-module.js';
package/core/index.js CHANGED
@@ -166,7 +166,6 @@ export { isSimpleSelector, registerStoreEmitters } from '../js/plugins/x-emitter
166
166
  export { XPlugin, xPlugin } from '../js/plugins/x-plugin.js';
167
167
  export { assertXPluginOptionsAreValid, getGetterPath } from '../js/plugins/x-plugin.utils.js';
168
168
  export { DirectionalFocusNavigationService } from '../js/services/directional-focus-navigation.service.js';
169
- export { DefaultResultsEnrichmentService } from '../js/services/results-enrichment.service.js';
170
169
  export { mergeConfig, setConfig } from '../js/store/utils/config-store.utils.js';
171
170
  export { createFetchAndSaveActions } from '../js/store/utils/fetch-and-save-action.utils.js';
172
171
  export { cleanGettersProxyCache, getGettersProxy, getGettersProxyFromModule } from '../js/store/utils/getters-proxy.utils.js';
package/core/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -72,25 +72,6 @@ Cancels / interrupt [BrowseActions.fetchAndSaveBrowseResponse](./x-components.br
72
72
  Fetches a new browse response and stores them in the module state.
73
73
 
74
74
 
75
- </td></tr>
76
- <tr><td>
77
-
78
- [fetchAndSaveResultsEnrichment](./x-components.browseactions.fetchandsaveresultsenrichment.md)
79
-
80
-
81
- </td><td>
82
-
83
-
84
- </td><td>
85
-
86
- (results: Result\[\]) =&gt; void
87
-
88
-
89
- </td><td>
90
-
91
- Requests and stores the enrichment results for the results.
92
-
93
-
94
75
  </td></tr>
95
76
  <tr><td>
96
77
 
@@ -434,25 +434,6 @@ Sets the total results of the module.
434
434
  Updates a result with new fields.
435
435
 
436
436
 
437
- </td></tr>
438
- <tr><td>
439
-
440
- [updateResultsFromEnrichment](./x-components.browsemutations.updateresultsfromenrichment.md)
441
-
442
-
443
- </td><td>
444
-
445
-
446
- </td><td>
447
-
448
- (enrichmentResults: any\[\]) =&gt; void
449
-
450
-
451
- </td><td>
452
-
453
- Updates the results with the enrichment results.
454
-
455
-
456
437
  </td></tr>
457
438
  </tbody></table>
458
439
 
@@ -0,0 +1,72 @@
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; [getHashFromQueryPreviewInfo](./x-components.gethashfromquerypreviewinfo.md)
4
+
5
+ ## getHashFromQueryPreviewInfo() function
6
+
7
+ Creates a query hash to check if a QueryPreview has already been saved in the state.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ getHashFromQueryPreviewInfo: (queryPreviewInfo: QueryPreviewInfo, extraParams: Dictionary<unknown>) => string
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
+ queryPreviewInfo
36
+
37
+
38
+ </td><td>
39
+
40
+ [QueryPreviewInfo](./x-components.querypreviewinfo.md)
41
+
42
+
43
+ </td><td>
44
+
45
+ The [QueryPreviewInfo](./x-components.querypreviewinfo.md) of a QueryPreview.
46
+
47
+
48
+ </td></tr>
49
+ <tr><td>
50
+
51
+ extraParams
52
+
53
+
54
+ </td><td>
55
+
56
+ Dictionary&lt;unknown&gt;
57
+
58
+
59
+ </td><td>
60
+
61
+ The extra params used in the request.
62
+
63
+
64
+ </td></tr>
65
+ </tbody></table>
66
+
67
+ **Returns:**
68
+
69
+ string
70
+
71
+ A unique id that will be used as a key to check the QueryPreview in the state.
72
+
@@ -0,0 +1,56 @@
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; [getHashFromQueryPreviewItem](./x-components.gethashfromquerypreviewitem.md)
4
+
5
+ ## getHashFromQueryPreviewItem() function
6
+
7
+ Creates a query hash to store a QueryPreview, so the same query with different filters and extra params can be saved more than once in the state.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ getHashFromQueryPreviewItem: (queryPreview: QueryPreviewItem) => string
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
+ queryPreview
36
+
37
+
38
+ </td><td>
39
+
40
+ [QueryPreviewItem](./x-components.querypreviewitem.md)
41
+
42
+
43
+ </td><td>
44
+
45
+ The [QueryPreviewItem](./x-components.querypreviewitem.md) used in the request.
46
+
47
+
48
+ </td></tr>
49
+ </tbody></table>
50
+
51
+ **Returns:**
52
+
53
+ string
54
+
55
+ A unique id that will be used as a key to store the QueryPreviewItem in the state.
56
+
@@ -86,17 +86,6 @@ Default implementation for the [ExternalTaggingService](./x-components.externalt
86
86
  Default implementation for the [FacetsService](./x-components.facetsservice.md)<!-- -->.
87
87
 
88
88
 
89
- </td></tr>
90
- <tr><td>
91
-
92
- [DefaultResultsEnrichmentService](./x-components.defaultresultsenrichmentservice.md)
93
-
94
-
95
- </td><td>
96
-
97
- Default implementation for the [ResultsEnrichmentService](./x-components.resultsenrichmentservice.md)<!-- -->.
98
-
99
-
100
89
  </td></tr>
101
90
  <tr><td>
102
91
 
@@ -292,17 +281,6 @@ Default implementation for [IdentifierResultsActions.cancelFetchAndSaveIdentifie
292
281
  Default implementation for [NextQueriesActions.cancelFetchAndSaveNextQueries](./x-components.nextqueriesactions.cancelfetchandsavenextqueries.md) action.
293
282
 
294
283
 
295
- </td></tr>
296
- <tr><td>
297
-
298
- [cancelFetchAndSavePartialResultsEnrichment()](./x-components.cancelfetchandsavepartialresultsenrichment.md)
299
-
300
-
301
- </td><td>
302
-
303
- Default implementation for action.
304
-
305
-
306
284
  </td></tr>
307
285
  <tr><td>
308
286
 
@@ -358,17 +336,6 @@ Default implementation for [RelatedPromptsActions.cancelFetchAndSaveRelatedPromp
358
336
  Default implementation for [RelatedTagsActions.fetchAndSaveRelatedTags](./x-components.relatedtagsactions.fetchandsaverelatedtags.md) action.
359
337
 
360
338
 
361
- </td></tr>
362
- <tr><td>
363
-
364
- [cancelFetchAndSaveResultsEnrichment()](./x-components.cancelfetchandsaveresultsenrichment.md)
365
-
366
-
367
- </td><td>
368
-
369
- Default implementation for action.
370
-
371
-
372
339
  </td></tr>
373
340
  <tr><td>
374
341
 
@@ -600,17 +567,6 @@ Flat an `Item[]` deeply using the given `childrenKey` to access to his children.
600
567
  Default implementation for [BrowseActions.fetchAndSaveBrowseResponse](./x-components.browseactions.fetchandsavebrowseresponse.md) action.
601
568
 
602
569
 
603
- </td></tr>
604
- <tr><td>
605
-
606
- [fetchAndSaveBrowseResultsEnrichment(context, request)](./x-components.fetchandsavebrowseresultsenrichment.md)
607
-
608
-
609
- </td><td>
610
-
611
- Default implementation for [BrowseActions.fetchAndSaveResultsEnrichment](./x-components.browseactions.fetchandsaveresultsenrichment.md) action.
612
-
613
-
614
570
  </td></tr>
615
571
  <tr><td>
616
572
 
@@ -644,17 +600,6 @@ Default implementation for [IdentifierResultsActions.fetchAndSaveIdentifierResul
644
600
  Default implementation for [NextQueriesActions.fetchAndSaveNextQueries](./x-components.nextqueriesactions.fetchandsavenextqueries.md) action.
645
601
 
646
602
 
647
- </td></tr>
648
- <tr><td>
649
-
650
- [fetchAndSavePartialResultsEnrichment(context, request)](./x-components.fetchandsavepartialresultsenrichment.md)
651
-
652
-
653
- </td><td>
654
-
655
- Default implementation for [SearchActions.fetchAndSavePartialResultsEnrichment](./x-components.searchactions.fetchandsavepartialresultsenrichment.md) action.
656
-
657
-
658
603
  </td></tr>
659
604
  <tr><td>
660
605
 
@@ -710,17 +655,6 @@ Default implementation for [RelatedPromptsActions.fetchAndSaveRelatedPrompts](./
710
655
  Default implementation for [RelatedTagsActions.fetchAndSaveRelatedTags](./x-components.relatedtagsactions.fetchandsaverelatedtags.md) action.
711
656
 
712
657
 
713
- </td></tr>
714
- <tr><td>
715
-
716
- [fetchAndSaveResultsEnrichment(context, request)](./x-components.fetchandsaveresultsenrichment.md)
717
-
718
-
719
- </td><td>
720
-
721
- Default implementation for [SearchActions.fetchAndSaveResultsEnrichment](./x-components.searchactions.fetchandsaveresultsenrichment.md) action.
722
-
723
-
724
658
  </td></tr>
725
659
  <tr><td>
726
660
 
@@ -831,6 +765,28 @@ Retrieves the currently active element from the specified document or shadow roo
831
765
  Generates a getter path string with the module and getter name.
832
766
 
833
767
 
768
+ </td></tr>
769
+ <tr><td>
770
+
771
+ [getHashFromQueryPreviewInfo(queryPreviewInfo, extraParams)](./x-components.gethashfromquerypreviewinfo.md)
772
+
773
+
774
+ </td><td>
775
+
776
+ Creates a query hash to check if a QueryPreview has already been saved in the state.
777
+
778
+
779
+ </td></tr>
780
+ <tr><td>
781
+
782
+ [getHashFromQueryPreviewItem(queryPreview)](./x-components.gethashfromquerypreviewitem.md)
783
+
784
+
785
+ </td><td>
786
+
787
+ Creates a query hash to store a QueryPreview, so the same query with different filters and extra params can be saved more than once in the state.
788
+
789
+
834
790
  </td></tr>
835
791
  <tr><td>
836
792
 
@@ -2781,17 +2737,6 @@ RelatedTags store state.
2781
2737
  Dictionary of the events of RelatedTags XModule, where each key is the event name, and the value is the event payload type or `void` if it has no payload.
2782
2738
 
2783
2739
 
2784
- </td></tr>
2785
- <tr><td>
2786
-
2787
- [ResultsEnrichmentService](./x-components.resultsenrichmentservice.md)
2788
-
2789
-
2790
- </td><td>
2791
-
2792
- Service to handle the enrichment of the results.
2793
-
2794
-
2795
2740
  </td></tr>
2796
2741
  <tr><td>
2797
2742
 
@@ -4925,17 +4870,6 @@ Default implementation for the `AiActions.fetchAndSaveAiSuggestionsSearch`<!-- -
4925
4870
  Requests and stores the browse response.
4926
4871
 
4927
4872
 
4928
- </td></tr>
4929
- <tr><td>
4930
-
4931
- [fetchAndSaveBrowseResultsEnrichmentWire](./x-components.fetchandsavebrowseresultsenrichmentwire.md)
4932
-
4933
-
4934
- </td><td>
4935
-
4936
- Requests and stores the enrichment results for the results.
4937
-
4938
-
4939
4873
  </td></tr>
4940
4874
  <tr><td>
4941
4875
 
@@ -4980,17 +4914,6 @@ Requests and stores the next queries.
4980
4914
  Requests and store the next query preview results.
4981
4915
 
4982
4916
 
4983
- </td></tr>
4984
- <tr><td>
4985
-
4986
- [fetchAndSavePartialResultsEnrichmentWire](./x-components.fetchandsavepartialresultsenrichmentwire.md)
4987
-
4988
-
4989
- </td><td>
4990
-
4991
- Requests and stores the enrichment results for the partial results.
4992
-
4993
-
4994
4917
  </td></tr>
4995
4918
  <tr><td>
4996
4919
 
@@ -5002,17 +4925,6 @@ Requests and stores the enrichment results for the partial results.
5002
4925
  Default implementation for the [QueriesPreviewActions.fetchAndSaveQueryPreview](./x-components.queriespreviewactions.fetchandsavequerypreview.md)<!-- -->.
5003
4926
 
5004
4927
 
5005
- </td></tr>
5006
- <tr><td>
5007
-
5008
- [fetchAndSaveQueryPreviewResultsEnrichmentWire](./x-components.fetchandsavequerypreviewresultsenrichmentwire.md)
5009
-
5010
-
5011
- </td><td>
5012
-
5013
- Requests and stores the enrichment results for the query preview results.
5014
-
5015
-
5016
4928
  </td></tr>
5017
4929
  <tr><td>
5018
4930
 
@@ -5035,17 +4947,6 @@ Requests and stores the cacheable query preview results.
5035
4947
  Requests and stores the related tags.
5036
4948
 
5037
4949
 
5038
- </td></tr>
5039
- <tr><td>
5040
-
5041
- [fetchAndSaveResultsEnrichmentWire](./x-components.fetchandsaveresultsenrichmentwire.md)
5042
-
5043
-
5044
- </td><td>
5045
-
5046
- Requests and stores the enrichment results for the results.
5047
-
5048
-
5049
4950
  </td></tr>
5050
4951
  <tr><td>
5051
4952
 
@@ -53,25 +53,6 @@ Description
53
53
  Requests the results for a cacheable query preview and saves them in the state.
54
54
 
55
55
 
56
- </td></tr>
57
- <tr><td>
58
-
59
- [fetchAndSaveQueryPreviewResultsEnrichment](./x-components.queriespreviewactions.fetchandsavequerypreviewresultsenrichment.md)
60
-
61
-
62
- </td><td>
63
-
64
-
65
- </td><td>
66
-
67
- (queryPreviewItem: [QueryPreviewItem](./x-components.querypreviewitem.md)<!-- -->) =&gt; void
68
-
69
-
70
- </td><td>
71
-
72
- Requests and stores the enrichment results for the query preview results.
73
-
74
-
75
56
  </td></tr>
76
57
  <tr><td>
77
58
 
@@ -187,25 +187,6 @@ Sets the status of a query preview request.
187
187
  Updates a result with new fields.
188
188
 
189
189
 
190
- </td></tr>
191
- <tr><td>
192
-
193
- [updateQueryPreviewResultsFromEnrichment](./x-components.queriespreviewmutations.updatequerypreviewresultsfromenrichment.md)
194
-
195
-
196
- </td><td>
197
-
198
-
199
- </td><td>
200
-
201
- (enrichmentPayload: { queryPreviewItem: [QueryPreviewItem](./x-components.querypreviewitem.md)<!-- -->; enrichmentResults: any\[\]; }) =&gt; void
202
-
203
-
204
- </td><td>
205
-
206
- Updates the query preview results with the enrichment results.
207
-
208
-
209
190
  </td></tr>
210
191
  </tbody></table>
211
192
 
@@ -53,25 +53,6 @@ Description
53
53
  Cancels / interrupt [RecommendationsActions.fetchAndSaveRecommendations](./x-components.recommendationsactions.fetchandsaverecommendations.md) synchronous promise.
54
54
 
55
55
 
56
- </td></tr>
57
- <tr><td>
58
-
59
- [cancelFetchAndSaveRecommendationsEnrichment](./x-components.recommendationsactions.cancelfetchandsaverecommendationsenrichment.md)
60
-
61
-
62
- </td><td>
63
-
64
-
65
- </td><td>
66
-
67
- () =&gt; void
68
-
69
-
70
- </td><td>
71
-
72
- Cancels / interrupt [RecommendationsActions.fetchAndSaveRecommendationsEnrichment](./x-components.recommendationsactions.fetchandsaverecommendationsenrichment.md) synchronous promise.
73
-
74
-
75
56
  </td></tr>
76
57
  <tr><td>
77
58
 
@@ -91,25 +72,6 @@ Cancels / interrupt [RecommendationsActions.fetchAndSaveRecommendationsEnrichmen
91
72
  Requests and saves to the state a list of recommendations.
92
73
 
93
74
 
94
- </td></tr>
95
- <tr><td>
96
-
97
- [fetchAndSaveRecommendationsEnrichment](./x-components.recommendationsactions.fetchandsaverecommendationsenrichment.md)
98
-
99
-
100
- </td><td>
101
-
102
-
103
- </td><td>
104
-
105
- (results: Result\[\]) =&gt; void
106
-
107
-
108
- </td><td>
109
-
110
- Requests and saves the enrichment results for the recommendations.
111
-
112
-
113
75
  </td></tr>
114
76
  <tr><td>
115
77
 
@@ -92,25 +92,6 @@ Sets the recommendations of the module.
92
92
  Updates a recommendation with new fields.
93
93
 
94
94
 
95
- </td></tr>
96
- <tr><td>
97
-
98
- [updateRecommendationsFromEnrichment](./x-components.recommendationsmutations.updaterecommendationsfromenrichment.md)
99
-
100
-
101
- </td><td>
102
-
103
-
104
- </td><td>
105
-
106
- (enrichmentResults: any\[\]) =&gt; void
107
-
108
-
109
- </td><td>
110
-
111
- Updates the recommendations with the enrichment results.
112
-
113
-
114
95
  </td></tr>
115
96
  </tbody></table>
116
97
 
@@ -53,44 +53,6 @@ Description
53
53
  Cancels / interrupt [SearchActions.fetchAndSaveSearchResponse](./x-components.searchactions.fetchandsavesearchresponse.md) synchronous promise.
54
54
 
55
55
 
56
- </td></tr>
57
- <tr><td>
58
-
59
- [fetchAndSavePartialResultsEnrichment](./x-components.searchactions.fetchandsavepartialresultsenrichment.md)
60
-
61
-
62
- </td><td>
63
-
64
-
65
- </td><td>
66
-
67
- (partialResults: PartialResult\[\]) =&gt; void
68
-
69
-
70
- </td><td>
71
-
72
- Requests and stores the enrichment results for the partial results.
73
-
74
-
75
- </td></tr>
76
- <tr><td>
77
-
78
- [fetchAndSaveResultsEnrichment](./x-components.searchactions.fetchandsaveresultsenrichment.md)
79
-
80
-
81
- </td><td>
82
-
83
-
84
- </td><td>
85
-
86
- (results: Result\[\]) =&gt; void
87
-
88
-
89
- </td><td>
90
-
91
- Requests and stores the enrichment results for the results.
92
-
93
-
94
56
  </td></tr>
95
57
  <tr><td>
96
58
 
@@ -472,25 +472,6 @@ Sets the stats of the module.
472
472
  Sets the total results of the module.
473
473
 
474
474
 
475
- </td></tr>
476
- <tr><td>
477
-
478
- [updatePartialResultsFromEnrichment](./x-components.searchmutations.updatepartialresultsfromenrichment.md)
479
-
480
-
481
- </td><td>
482
-
483
-
484
- </td><td>
485
-
486
- (enrichmentResults: any\[\]) =&gt; void
487
-
488
-
489
- </td><td>
490
-
491
- Updates the partial results with the enrichment results.
492
-
493
-
494
475
  </td></tr>
495
476
  <tr><td>
496
477
 
@@ -510,25 +491,6 @@ Updates the partial results with the enrichment results.
510
491
  Updates a result with new fields.
511
492
 
512
493
 
513
- </td></tr>
514
- <tr><td>
515
-
516
- [updateResultsFromEnrichment](./x-components.searchmutations.updateresultsfromenrichment.md)
517
-
518
-
519
- </td><td>
520
-
521
-
522
- </td><td>
523
-
524
- (enrichmentResults: any\[\]) =&gt; void
525
-
526
-
527
- </td><td>
528
-
529
- Updates the results with the enrichment results.
530
-
531
-
532
494
  </td></tr>
533
495
  </tbody></table>
534
496