@empathyco/x-components 8.15.1 → 9.1.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 (182) hide show
  1. package/CHANGELOG.md +18 -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-adapter-platform.facetschema.md +1 -1
  6. package/docs/API-reference/api/x-adapter-platform.md +11 -0
  7. package/docs/API-reference/api/x-adapter-platform.platformfacet.md +1 -1
  8. package/docs/API-reference/api/x-adapter-platform.platformfacet.values.md +1 -1
  9. package/docs/API-reference/api/x-adapter-platform.platformfacettype.md +1 -1
  10. package/docs/API-reference/api/x-adapter-platform.platformsliderfilter.max.md +11 -0
  11. package/docs/API-reference/api/x-adapter-platform.platformsliderfilter.md +90 -0
  12. package/docs/API-reference/api/x-adapter-platform.platformsliderfilter.min.md +11 -0
  13. package/docs/API-reference/api/x-adapter-platform.platformsliderfilter.unit.md +11 -0
  14. package/docs/API-reference/api/x-components.baseslider.md +2 -8
  15. package/docs/API-reference/api/x-components.browseactions.md +0 -19
  16. package/docs/API-reference/api/x-components.browsemutations.md +0 -19
  17. package/docs/API-reference/api/x-components.facetsxevents.md +19 -0
  18. package/docs/API-reference/api/x-components.facetsxevents.usermodifiedsliderfilter.md +13 -0
  19. package/docs/API-reference/api/x-components.gethashfromquerypreviewinfo.md +72 -0
  20. package/docs/API-reference/api/x-components.gethashfromquerypreviewitem.md +56 -0
  21. package/docs/API-reference/api/x-components.hierarchicalfilter.md +1 -0
  22. package/docs/API-reference/api/x-components.md +22 -121
  23. package/docs/API-reference/api/x-components.queriespreviewactions.md +0 -19
  24. package/docs/API-reference/api/x-components.queriespreviewmutations.md +0 -19
  25. package/docs/API-reference/api/x-components.recommendationsactions.md +0 -38
  26. package/docs/API-reference/api/x-components.recommendationsmutations.md +0 -19
  27. package/docs/API-reference/api/x-components.searchactions.md +0 -38
  28. package/docs/API-reference/api/x-components.searchmutations.md +0 -38
  29. package/docs/API-reference/api/x-components.simplefilter.md +1 -0
  30. package/docs/API-reference/api/x-components.snippetcallbacks.md +1 -0
  31. package/docs/API-reference/api/x-types.facetmodelname.md +1 -1
  32. package/docs/API-reference/api/x-types.filtermodelname.md +1 -1
  33. package/docs/API-reference/api/x-types.issliderfacet.md +56 -0
  34. package/docs/API-reference/api/x-types.issliderfilter.md +56 -0
  35. package/docs/API-reference/api/x-types.md +44 -0
  36. package/docs/API-reference/api/x-types.sliderfacet.filters.md +13 -0
  37. package/docs/API-reference/api/x-types.sliderfacet.md +78 -0
  38. package/docs/API-reference/api/x-types.sliderfacet.modelname.md +13 -0
  39. package/docs/API-reference/api/x-types.sliderfilter.md +116 -0
  40. package/docs/API-reference/api/x-types.sliderfilter.modelname.md +13 -0
  41. package/docs/API-reference/api/x-types.sliderfilter.range.md +16 -0
  42. package/docs/API-reference/api/x-types.sliderfilter.selectedrange.md +13 -0
  43. package/docs/API-reference/api/x-types.sliderfilter.unit.md +13 -0
  44. package/docs/API-reference/components/common/x-components.base-slider.md +1 -1
  45. package/docs/API-reference/components/facets/x-components.filters/slider-filter.md +33 -0
  46. package/facets/index.js +1 -0
  47. package/js/components/base-slider.vue.js +12 -3
  48. package/js/components/base-slider.vue.js.map +1 -1
  49. package/js/components/base-slider.vue2.js +1 -1
  50. package/js/components/base-slider.vue2.js.map +1 -1
  51. package/js/index.js +5 -7
  52. package/js/index.js.map +1 -1
  53. package/js/x-modules/browse/store/module.js +0 -6
  54. package/js/x-modules/browse/store/module.js.map +1 -1
  55. package/js/x-modules/browse/wiring.js +1 -8
  56. package/js/x-modules/browse/wiring.js.map +1 -1
  57. package/js/x-modules/facets/entities/filter-entity.factory.js +2 -0
  58. package/js/x-modules/facets/entities/filter-entity.factory.js.map +1 -1
  59. package/js/x-modules/facets/entities/slider-filter.entity.js +107 -0
  60. package/js/x-modules/facets/entities/slider-filter.entity.js.map +1 -0
  61. package/js/x-modules/facets/wiring.js +3 -0
  62. package/js/x-modules/facets/wiring.js.map +1 -1
  63. package/js/x-modules/queries-preview/store/module.js +0 -9
  64. package/js/x-modules/queries-preview/store/module.js.map +1 -1
  65. package/js/x-modules/queries-preview/wiring.js +2 -11
  66. package/js/x-modules/queries-preview/wiring.js.map +1 -1
  67. package/js/x-modules/recommendations/store/module.js +0 -7
  68. package/js/x-modules/recommendations/store/module.js.map +1 -1
  69. package/js/x-modules/recommendations/wiring.js +0 -9
  70. package/js/x-modules/recommendations/wiring.js.map +1 -1
  71. package/js/x-modules/search/store/module.js +2 -17
  72. package/js/x-modules/search/store/module.js.map +1 -1
  73. package/js/x-modules/search/wiring.js +2 -18
  74. package/js/x-modules/search/wiring.js.map +1 -1
  75. package/package.json +4 -4
  76. package/queries-preview/index.js +2 -1
  77. package/report/x-adapter-platform.api.json +130 -4
  78. package/report/x-components.api.json +222 -1163
  79. package/report/x-components.api.md +36 -82
  80. package/report/x-types.api.json +351 -2
  81. package/search/index.js +1 -3
  82. package/types/src/components/base-slider.vue.d.ts +3 -8
  83. package/types/src/components/base-slider.vue.d.ts.map +1 -1
  84. package/types/src/components/snippet-callbacks.vue.d.ts +1 -0
  85. package/types/src/components/snippet-callbacks.vue.d.ts.map +1 -1
  86. package/types/src/services/index.d.ts +0 -1
  87. package/types/src/services/index.d.ts.map +1 -1
  88. package/types/src/services/services.types.d.ts +0 -21
  89. package/types/src/services/services.types.d.ts.map +1 -1
  90. package/types/src/x-modules/browse/store/actions/index.d.ts +0 -1
  91. package/types/src/x-modules/browse/store/actions/index.d.ts.map +1 -1
  92. package/types/src/x-modules/browse/store/module.d.ts.map +1 -1
  93. package/types/src/x-modules/browse/store/types.d.ts +0 -12
  94. package/types/src/x-modules/browse/store/types.d.ts.map +1 -1
  95. package/types/src/x-modules/browse/wiring.d.ts +0 -7
  96. package/types/src/x-modules/browse/wiring.d.ts.map +1 -1
  97. package/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts +1 -0
  98. package/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts.map +1 -1
  99. package/types/src/x-modules/facets/components/filters/simple-filter.vue.d.ts +1 -0
  100. package/types/src/x-modules/facets/components/filters/simple-filter.vue.d.ts.map +1 -1
  101. package/types/src/x-modules/facets/entities/filter-entity.factory.d.ts.map +1 -1
  102. package/types/src/x-modules/facets/entities/index.d.ts +1 -0
  103. package/types/src/x-modules/facets/entities/index.d.ts.map +1 -1
  104. package/types/src/x-modules/facets/entities/slider-filter.entity.d.ts +65 -0
  105. package/types/src/x-modules/facets/entities/slider-filter.entity.d.ts.map +1 -0
  106. package/types/src/x-modules/facets/events.types.d.ts +6 -1
  107. package/types/src/x-modules/facets/events.types.d.ts.map +1 -1
  108. package/types/src/x-modules/facets/wiring.d.ts +3 -0
  109. package/types/src/x-modules/facets/wiring.d.ts.map +1 -1
  110. package/types/src/x-modules/queries-preview/index.d.ts +1 -0
  111. package/types/src/x-modules/queries-preview/index.d.ts.map +1 -1
  112. package/types/src/x-modules/queries-preview/store/module.d.ts.map +1 -1
  113. package/types/src/x-modules/queries-preview/store/types.d.ts +0 -17
  114. package/types/src/x-modules/queries-preview/store/types.d.ts.map +1 -1
  115. package/types/src/x-modules/queries-preview/wiring.d.ts +0 -9
  116. package/types/src/x-modules/queries-preview/wiring.d.ts.map +1 -1
  117. package/types/src/x-modules/recommendations/store/module.d.ts.map +1 -1
  118. package/types/src/x-modules/recommendations/store/types.d.ts +0 -17
  119. package/types/src/x-modules/recommendations/store/types.d.ts.map +1 -1
  120. package/types/src/x-modules/recommendations/wiring.d.ts +0 -3
  121. package/types/src/x-modules/recommendations/wiring.d.ts.map +1 -1
  122. package/types/src/x-modules/related-prompts/components/related-prompts-tag-list.vue.d.ts.map +1 -1
  123. package/types/src/x-modules/search/store/actions/index.d.ts +0 -2
  124. package/types/src/x-modules/search/store/actions/index.d.ts.map +1 -1
  125. package/types/src/x-modules/search/store/module.d.ts.map +1 -1
  126. package/types/src/x-modules/search/store/types.d.ts +0 -24
  127. package/types/src/x-modules/search/store/types.d.ts.map +1 -1
  128. package/types/src/x-modules/search/wiring.d.ts +0 -16
  129. package/types/src/x-modules/search/wiring.d.ts.map +1 -1
  130. package/docs/API-reference/api/x-components.browseactions.fetchandsaveresultsenrichment.md +0 -13
  131. package/docs/API-reference/api/x-components.browsemutations.updateresultsfromenrichment.md +0 -13
  132. package/docs/API-reference/api/x-components.cancelfetchandsavepartialresultsenrichment.md +0 -17
  133. package/docs/API-reference/api/x-components.cancelfetchandsaveresultsenrichment.md +0 -17
  134. package/docs/API-reference/api/x-components.defaultresultsenrichmentservice._constructor_.md +0 -13
  135. package/docs/API-reference/api/x-components.defaultresultsenrichmentservice.fetchresults.md +0 -52
  136. package/docs/API-reference/api/x-components.defaultresultsenrichmentservice.instance.md +0 -13
  137. package/docs/API-reference/api/x-components.defaultresultsenrichmentservice.md +0 -164
  138. package/docs/API-reference/api/x-components.defaultresultsenrichmentservice.store.md +0 -11
  139. package/docs/API-reference/api/x-components.defaultresultsenrichmentservice.updateresults.md +0 -66
  140. package/docs/API-reference/api/x-components.fetchandsavebrowseresultsenrichment.md +0 -66
  141. package/docs/API-reference/api/x-components.fetchandsavebrowseresultsenrichmentwire.md +0 -13
  142. package/docs/API-reference/api/x-components.fetchandsavepartialresultsenrichment.md +0 -66
  143. package/docs/API-reference/api/x-components.fetchandsavepartialresultsenrichmentwire.md +0 -13
  144. package/docs/API-reference/api/x-components.fetchandsavequerypreviewresultsenrichmentwire.md +0 -13
  145. package/docs/API-reference/api/x-components.fetchandsaveresultsenrichment.md +0 -66
  146. package/docs/API-reference/api/x-components.fetchandsaveresultsenrichmentwire.md +0 -13
  147. package/docs/API-reference/api/x-components.queriespreviewactions.fetchandsavequerypreviewresultsenrichment.md +0 -13
  148. package/docs/API-reference/api/x-components.queriespreviewmutations.updatequerypreviewresultsfromenrichment.md +0 -16
  149. package/docs/API-reference/api/x-components.recommendationsactions.cancelfetchandsaverecommendationsenrichment.md +0 -13
  150. package/docs/API-reference/api/x-components.recommendationsactions.fetchandsaverecommendationsenrichment.md +0 -13
  151. package/docs/API-reference/api/x-components.recommendationsmutations.updaterecommendationsfromenrichment.md +0 -13
  152. package/docs/API-reference/api/x-components.resultsenrichmentservice.fetchresults.md +0 -13
  153. package/docs/API-reference/api/x-components.resultsenrichmentservice.md +0 -77
  154. package/docs/API-reference/api/x-components.resultsenrichmentservice.updateresults.md +0 -13
  155. package/docs/API-reference/api/x-components.searchactions.fetchandsavepartialresultsenrichment.md +0 -13
  156. package/docs/API-reference/api/x-components.searchactions.fetchandsaveresultsenrichment.md +0 -13
  157. package/docs/API-reference/api/x-components.searchmutations.updatepartialresultsfromenrichment.md +0 -13
  158. package/docs/API-reference/api/x-components.searchmutations.updateresultsfromenrichment.md +0 -13
  159. package/js/services/results-enrichment.service.js +0 -37
  160. package/js/services/results-enrichment.service.js.map +0 -1
  161. package/js/x-modules/browse/store/actions/fetch-and-save-results-enrichment.action.js +0 -21
  162. package/js/x-modules/browse/store/actions/fetch-and-save-results-enrichment.action.js.map +0 -1
  163. package/js/x-modules/queries-preview/store/actions/fetch-and-save-query-preview-results-enrichment.action.js +0 -21
  164. package/js/x-modules/queries-preview/store/actions/fetch-and-save-query-preview-results-enrichment.action.js.map +0 -1
  165. package/js/x-modules/recommendations/store/actions/fetch-and-save-recommendations-enrichment.action.js +0 -30
  166. package/js/x-modules/recommendations/store/actions/fetch-and-save-recommendations-enrichment.action.js.map +0 -1
  167. package/js/x-modules/search/store/actions/fetch-and-save-partial-results-enrichment.action.js +0 -33
  168. package/js/x-modules/search/store/actions/fetch-and-save-partial-results-enrichment.action.js.map +0 -1
  169. package/js/x-modules/search/store/actions/fetch-and-save-results-enrichment.action.js +0 -28
  170. package/js/x-modules/search/store/actions/fetch-and-save-results-enrichment.action.js.map +0 -1
  171. package/types/src/services/results-enrichment.service.d.ts +0 -31
  172. package/types/src/services/results-enrichment.service.d.ts.map +0 -1
  173. package/types/src/x-modules/browse/store/actions/fetch-and-save-results-enrichment.action.d.ts +0 -17
  174. package/types/src/x-modules/browse/store/actions/fetch-and-save-results-enrichment.action.d.ts.map +0 -1
  175. package/types/src/x-modules/queries-preview/store/actions/fetch-and-save-query-preview-results-enrichment.action.d.ts +0 -3
  176. package/types/src/x-modules/queries-preview/store/actions/fetch-and-save-query-preview-results-enrichment.action.d.ts.map +0 -1
  177. package/types/src/x-modules/recommendations/store/actions/fetch-and-save-recommendations-enrichment.action.d.ts +0 -17
  178. package/types/src/x-modules/recommendations/store/actions/fetch-and-save-recommendations-enrichment.action.d.ts.map +0 -1
  179. package/types/src/x-modules/search/store/actions/fetch-and-save-partial-results-enrichment.action.d.ts +0 -17
  180. package/types/src/x-modules/search/store/actions/fetch-and-save-partial-results-enrichment.action.d.ts.map +0 -1
  181. package/types/src/x-modules/search/store/actions/fetch-and-save-results-enrichment.action.d.ts +0 -17
  182. package/types/src/x-modules/search/store/actions/fetch-and-save-results-enrichment.action.d.ts.map +0 -1
@@ -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
- ```
@@ -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; [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
-
@@ -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; [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
- ```
@@ -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; [QueriesPreviewActions](./x-components.queriespreviewactions.md) &gt; [fetchAndSaveQueryPreviewResultsEnrichment](./x-components.queriespreviewactions.fetchandsavequerypreviewresultsenrichment.md)
4
-
5
- ## QueriesPreviewActions.fetchAndSaveQueryPreviewResultsEnrichment property
6
-
7
- Requests and stores the enrichment results for the query preview results.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- fetchAndSaveQueryPreviewResultsEnrichment: (queryPreviewItem: QueryPreviewItem) => void;
13
- ```
@@ -1,16 +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; [QueriesPreviewMutations](./x-components.queriespreviewmutations.md) &gt; [updateQueryPreviewResultsFromEnrichment](./x-components.queriespreviewmutations.updatequerypreviewresultsfromenrichment.md)
4
-
5
- ## QueriesPreviewMutations.updateQueryPreviewResultsFromEnrichment property
6
-
7
- Updates the query preview results with the enrichment results.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- updateQueryPreviewResultsFromEnrichment: (enrichmentPayload: {
13
- queryPreviewItem: QueryPreviewItem;
14
- enrichmentResults: any[];
15
- }) => void;
16
- ```
@@ -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; [RecommendationsActions](./x-components.recommendationsactions.md) &gt; [cancelFetchAndSaveRecommendationsEnrichment](./x-components.recommendationsactions.cancelfetchandsaverecommendationsenrichment.md)
4
-
5
- ## RecommendationsActions.cancelFetchAndSaveRecommendationsEnrichment property
6
-
7
- Cancels / interrupt [RecommendationsActions.fetchAndSaveRecommendationsEnrichment](./x-components.recommendationsactions.fetchandsaverecommendationsenrichment.md) synchronous promise.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- cancelFetchAndSaveRecommendationsEnrichment: () => 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; [RecommendationsActions](./x-components.recommendationsactions.md) &gt; [fetchAndSaveRecommendationsEnrichment](./x-components.recommendationsactions.fetchandsaverecommendationsenrichment.md)
4
-
5
- ## RecommendationsActions.fetchAndSaveRecommendationsEnrichment property
6
-
7
- Requests and saves the enrichment results for the recommendations.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- fetchAndSaveRecommendationsEnrichment: (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; [RecommendationsMutations](./x-components.recommendationsmutations.md) &gt; [updateRecommendationsFromEnrichment](./x-components.recommendationsmutations.updaterecommendationsfromenrichment.md)
4
-
5
- ## RecommendationsMutations.updateRecommendationsFromEnrichment property
6
-
7
- Updates the recommendations with the enrichment results.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- updateRecommendationsFromEnrichment: (enrichmentResults: any[]) => 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; [ResultsEnrichmentService](./x-components.resultsenrichmentservice.md) &gt; [fetchResults](./x-components.resultsenrichmentservice.fetchresults.md)
4
-
5
- ## ResultsEnrichmentService.fetchResults property
6
-
7
- Fetches the enrichment results.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- fetchResults: (results: Result[]) => Promise<any[]>;
13
- ```
@@ -1,77 +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; [ResultsEnrichmentService](./x-components.resultsenrichmentservice.md)
4
-
5
- ## ResultsEnrichmentService interface
6
-
7
- Service to handle the enrichment of the results.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- export interface ResultsEnrichmentService
13
- ```
14
-
15
- ## Properties
16
-
17
- <table><thead><tr><th>
18
-
19
- Property
20
-
21
-
22
- </th><th>
23
-
24
- Modifiers
25
-
26
-
27
- </th><th>
28
-
29
- Type
30
-
31
-
32
- </th><th>
33
-
34
- Description
35
-
36
-
37
- </th></tr></thead>
38
- <tbody><tr><td>
39
-
40
- [fetchResults](./x-components.resultsenrichmentservice.fetchresults.md)
41
-
42
-
43
- </td><td>
44
-
45
-
46
- </td><td>
47
-
48
- (results: Result\[\]) =&gt; Promise&lt;any\[\]&gt;
49
-
50
-
51
- </td><td>
52
-
53
- Fetches the enrichment results.
54
-
55
-
56
- </td></tr>
57
- <tr><td>
58
-
59
- [updateResults](./x-components.resultsenrichmentservice.updateresults.md)
60
-
61
-
62
- </td><td>
63
-
64
-
65
- </td><td>
66
-
67
- (results: Result\[\], enrichmentResults: any\[\]) =&gt; void
68
-
69
-
70
- </td><td>
71
-
72
- Updates the results with the enrichment results. Updates via mutation.
73
-
74
-
75
- </td></tr>
76
- </tbody></table>
77
-
@@ -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; [ResultsEnrichmentService](./x-components.resultsenrichmentservice.md) &gt; [updateResults](./x-components.resultsenrichmentservice.updateresults.md)
4
-
5
- ## ResultsEnrichmentService.updateResults property
6
-
7
- Updates the results with the enrichment results. Updates via mutation.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- updateResults: (results: Result[], enrichmentResults: any[]) => 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; [SearchActions](./x-components.searchactions.md) &gt; [fetchAndSavePartialResultsEnrichment](./x-components.searchactions.fetchandsavepartialresultsenrichment.md)
4
-
5
- ## SearchActions.fetchAndSavePartialResultsEnrichment property
6
-
7
- Requests and stores the enrichment results for the partial results.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- fetchAndSavePartialResultsEnrichment: (partialResults: PartialResult[]) => void;
13
- ```