@empathyco/x-components 6.0.0-alpha.232 → 6.0.0-alpha.233

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 (93) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/core/index.js +1 -0
  3. package/core/index.js.map +1 -1
  4. package/docs/API-reference/api/x-components.cancelfetchandsavepartialresultsenrichment.md +17 -0
  5. package/docs/API-reference/api/x-components.cancelfetchandsaveresultsenrichment.md +17 -0
  6. package/docs/API-reference/api/x-components.defaultresultsenrichmentservice._constructor_.md +13 -0
  7. package/docs/API-reference/api/x-components.defaultresultsenrichmentservice.fetchresults.md +52 -0
  8. package/docs/API-reference/api/x-components.defaultresultsenrichmentservice.instance.md +13 -0
  9. package/docs/API-reference/api/x-components.defaultresultsenrichmentservice.md +164 -0
  10. package/docs/API-reference/api/x-components.defaultresultsenrichmentservice.store.md +11 -0
  11. package/docs/API-reference/api/x-components.defaultresultsenrichmentservice.updateresults.md +66 -0
  12. package/docs/API-reference/api/x-components.fetchandsavepartialresultsenrichment.md +66 -0
  13. package/docs/API-reference/api/x-components.fetchandsavepartialresultsenrichmentwire.md +13 -0
  14. package/docs/API-reference/api/x-components.fetchandsaveresultsenrichment.md +66 -0
  15. package/docs/API-reference/api/x-components.fetchandsaveresultsenrichmentwire.md +13 -0
  16. package/docs/API-reference/api/x-components.hierarchicalfilter.md +1 -0
  17. package/docs/API-reference/api/x-components.md +88 -0
  18. package/docs/API-reference/api/x-components.recommendationsactions.cancelfetchandsaverecommendationsenrichment.md +13 -0
  19. package/docs/API-reference/api/x-components.recommendationsactions.fetchandsaverecommendationsenrichment.md +13 -0
  20. package/docs/API-reference/api/x-components.recommendationsactions.md +38 -0
  21. package/docs/API-reference/api/x-components.recommendationsmutations.md +19 -0
  22. package/docs/API-reference/api/x-components.recommendationsmutations.updaterecommendationsfromenrichment.md +13 -0
  23. package/docs/API-reference/api/x-components.resultsenrichmentservice.fetchresults.md +13 -0
  24. package/docs/API-reference/api/x-components.resultsenrichmentservice.md +77 -0
  25. package/docs/API-reference/api/x-components.resultsenrichmentservice.updateresults.md +13 -0
  26. package/docs/API-reference/api/x-components.searchactions.fetchandsavepartialresultsenrichment.md +13 -0
  27. package/docs/API-reference/api/x-components.searchactions.fetchandsaveresultsenrichment.md +13 -0
  28. package/docs/API-reference/api/x-components.searchactions.md +38 -0
  29. package/docs/API-reference/api/x-components.searchmutations.md +38 -0
  30. package/docs/API-reference/api/x-components.searchmutations.updatepartialresultsfromenrichment.md +13 -0
  31. package/docs/API-reference/api/x-components.searchmutations.updateresultsfromenrichment.md +13 -0
  32. package/docs/API-reference/api/x-components.searchxevents.md +19 -0
  33. package/docs/API-reference/api/x-components.searchxevents.partialresultschanged.md +13 -0
  34. package/docs/API-reference/api/x-components.simplefilter.md +1 -0
  35. package/docs/API-reference/api/x-components.snippetcallbacks.md +1 -0
  36. package/js/index.js +4 -1
  37. package/js/index.js.map +1 -1
  38. package/js/services/results-enrichment.service.js +37 -0
  39. package/js/services/results-enrichment.service.js.map +1 -0
  40. package/js/x-modules/recommendations/store/actions/fetch-and-save-recommendations-enrichment.action.js +30 -0
  41. package/js/x-modules/recommendations/store/actions/fetch-and-save-recommendations-enrichment.action.js.map +1 -0
  42. package/js/x-modules/recommendations/store/module.js +7 -0
  43. package/js/x-modules/recommendations/store/module.js.map +1 -1
  44. package/js/x-modules/recommendations/wiring.js +9 -0
  45. package/js/x-modules/recommendations/wiring.js.map +1 -1
  46. package/js/x-modules/search/store/actions/fetch-and-save-partial-results-enrichment.action.js +33 -0
  47. package/js/x-modules/search/store/actions/fetch-and-save-partial-results-enrichment.action.js.map +1 -0
  48. package/js/x-modules/search/store/actions/fetch-and-save-results-enrichment.action.js +28 -0
  49. package/js/x-modules/search/store/actions/fetch-and-save-results-enrichment.action.js.map +1 -0
  50. package/js/x-modules/search/store/emitters.js +1 -0
  51. package/js/x-modules/search/store/emitters.js.map +1 -1
  52. package/js/x-modules/search/store/module.js +15 -0
  53. package/js/x-modules/search/store/module.js.map +1 -1
  54. package/js/x-modules/search/wiring.js +17 -1
  55. package/js/x-modules/search/wiring.js.map +1 -1
  56. package/package.json +2 -2
  57. package/report/x-components.api.json +912 -5
  58. package/report/x-components.api.md +60 -6
  59. package/search/index.js +3 -1
  60. package/types/src/components/snippet-callbacks.vue.d.ts +1 -0
  61. package/types/src/components/snippet-callbacks.vue.d.ts.map +1 -1
  62. package/types/src/services/index.d.ts +1 -0
  63. package/types/src/services/index.d.ts.map +1 -1
  64. package/types/src/services/results-enrichment.service.d.ts +31 -0
  65. package/types/src/services/results-enrichment.service.d.ts.map +1 -0
  66. package/types/src/services/services.types.d.ts +21 -0
  67. package/types/src/services/services.types.d.ts.map +1 -1
  68. package/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts +1 -0
  69. package/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts.map +1 -1
  70. package/types/src/x-modules/facets/components/filters/simple-filter.vue.d.ts +1 -0
  71. package/types/src/x-modules/facets/components/filters/simple-filter.vue.d.ts.map +1 -1
  72. package/types/src/x-modules/recommendations/store/actions/fetch-and-save-recommendations-enrichment.action.d.ts +17 -0
  73. package/types/src/x-modules/recommendations/store/actions/fetch-and-save-recommendations-enrichment.action.d.ts.map +1 -0
  74. package/types/src/x-modules/recommendations/store/module.d.ts.map +1 -1
  75. package/types/src/x-modules/recommendations/store/types.d.ts +17 -0
  76. package/types/src/x-modules/recommendations/store/types.d.ts.map +1 -1
  77. package/types/src/x-modules/recommendations/wiring.d.ts +3 -0
  78. package/types/src/x-modules/recommendations/wiring.d.ts.map +1 -1
  79. package/types/src/x-modules/search/events.types.d.ts +6 -1
  80. package/types/src/x-modules/search/events.types.d.ts.map +1 -1
  81. package/types/src/x-modules/search/store/actions/fetch-and-save-partial-results-enrichment.action.d.ts +17 -0
  82. package/types/src/x-modules/search/store/actions/fetch-and-save-partial-results-enrichment.action.d.ts.map +1 -0
  83. package/types/src/x-modules/search/store/actions/fetch-and-save-results-enrichment.action.d.ts +17 -0
  84. package/types/src/x-modules/search/store/actions/fetch-and-save-results-enrichment.action.d.ts.map +1 -0
  85. package/types/src/x-modules/search/store/actions/index.d.ts +2 -0
  86. package/types/src/x-modules/search/store/actions/index.d.ts.map +1 -1
  87. package/types/src/x-modules/search/store/emitters.d.ts +1 -0
  88. package/types/src/x-modules/search/store/emitters.d.ts.map +1 -1
  89. package/types/src/x-modules/search/store/module.d.ts.map +1 -1
  90. package/types/src/x-modules/search/store/types.d.ts +24 -0
  91. package/types/src/x-modules/search/store/types.d.ts.map +1 -1
  92. package/types/src/x-modules/search/wiring.d.ts +16 -0
  93. package/types/src/x-modules/search/wiring.d.ts.map +1 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,13 @@
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
+ ## [6.0.0-alpha.233](https://github.com/empathyco/x/compare/@empathyco/x-components@6.0.0-alpha.232...@empathyco/x-components@6.0.0-alpha.233) (2026-04-02)
7
+
8
+ ### Features
9
+
10
+ * define result enrichment for Results, PartialResults and Recommendations (#2065)
11
+
12
+
6
13
  ## [6.0.0-alpha.232](https://github.com/empathyco/x/compare/@empathyco/x-components@6.0.0-alpha.231...@empathyco/x-components@6.0.0-alpha.232) (2026-04-01)
7
14
 
8
15
  ### Bug Fixes
package/core/index.js CHANGED
@@ -165,6 +165,7 @@ export { isSimpleSelector, registerStoreEmitters } from '../js/plugins/x-emitter
165
165
  export { XPlugin, xPlugin } from '../js/plugins/x-plugin.js';
166
166
  export { assertXPluginOptionsAreValid, getGetterPath } from '../js/plugins/x-plugin.utils.js';
167
167
  export { DirectionalFocusNavigationService } from '../js/services/directional-focus-navigation.service.js';
168
+ export { DefaultResultsEnrichmentService } from '../js/services/results-enrichment.service.js';
168
169
  export { mergeConfig, setConfig } from '../js/store/utils/config-store.utils.js';
169
170
  export { createFetchAndSaveActions } from '../js/store/utils/fetch-and-save-action.utils.js';
170
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,17 @@
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
+
@@ -0,0 +1,17 @@
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
+
@@ -0,0 +1,13 @@
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
+ ```
@@ -0,0 +1,52 @@
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
+
@@ -0,0 +1,13 @@
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
+ ```
@@ -0,0 +1,164 @@
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
+
@@ -0,0 +1,11 @@
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
+ ```
@@ -0,0 +1,66 @@
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
+
@@ -0,0 +1,66 @@
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
+
@@ -0,0 +1,13 @@
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
+ ```
@@ -0,0 +1,66 @@
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; [fetchAndSaveResultsEnrichment](./x-components.fetchandsaveresultsenrichment.md)
4
+
5
+ ## fetchAndSaveResultsEnrichment() function
6
+
7
+ Default implementation for [SearchActions.fetchAndSaveResultsEnrichment](./x-components.searchactions.fetchandsaveresultsenrichment.md) action.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ fetchAndSaveResultsEnrichment: (context: SearchActionContext, 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
+ [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
+ 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
+
@@ -0,0 +1,13 @@
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; [fetchAndSaveResultsEnrichmentWire](./x-components.fetchandsaveresultsenrichmentwire.md)
4
+
5
+ ## fetchAndSaveResultsEnrichmentWire variable
6
+
7
+ Requests and stores the enrichment results for the results.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ fetchAndSaveResultsEnrichmentWire: import("../../wiring").Wire<import("@empathyco/x-types").Result[]>
13
+ ```
@@ -150,6 +150,7 @@ _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
150
150
  UserTalked?: string | undefined;
151
151
  FacetsChanged?: import("@empathyco/x-types").Facet[] | undefined;
152
152
  PageChanged?: number | undefined;
153
+ PartialResultsChanged?: import("@empathyco/x-types").PartialResult[] | undefined;
153
154
  ReloadSearchRequested?: void | undefined;
154
155
  ResultsChanged?: import("@empathyco/x-types").Result[] | undefined;
155
156
  SearchRequestChanged?: import("../../../search").InternalSearchRequest | null | undefined;