@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.
- package/CHANGELOG.md +18 -0
- package/browse/index.js +1 -2
- package/core/index.js +0 -1
- package/core/index.js.map +1 -1
- package/docs/API-reference/api/x-adapter-platform.facetschema.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformfacet.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.platformfacet.values.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.platformfacettype.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.platformsliderfilter.max.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformsliderfilter.md +90 -0
- package/docs/API-reference/api/x-adapter-platform.platformsliderfilter.min.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformsliderfilter.unit.md +11 -0
- package/docs/API-reference/api/x-components.baseslider.md +2 -8
- package/docs/API-reference/api/x-components.browseactions.md +0 -19
- package/docs/API-reference/api/x-components.browsemutations.md +0 -19
- package/docs/API-reference/api/x-components.facetsxevents.md +19 -0
- package/docs/API-reference/api/x-components.facetsxevents.usermodifiedsliderfilter.md +13 -0
- package/docs/API-reference/api/x-components.gethashfromquerypreviewinfo.md +72 -0
- package/docs/API-reference/api/x-components.gethashfromquerypreviewitem.md +56 -0
- package/docs/API-reference/api/x-components.hierarchicalfilter.md +1 -0
- package/docs/API-reference/api/x-components.md +22 -121
- package/docs/API-reference/api/x-components.queriespreviewactions.md +0 -19
- package/docs/API-reference/api/x-components.queriespreviewmutations.md +0 -19
- package/docs/API-reference/api/x-components.recommendationsactions.md +0 -38
- package/docs/API-reference/api/x-components.recommendationsmutations.md +0 -19
- package/docs/API-reference/api/x-components.searchactions.md +0 -38
- package/docs/API-reference/api/x-components.searchmutations.md +0 -38
- package/docs/API-reference/api/x-components.simplefilter.md +1 -0
- package/docs/API-reference/api/x-components.snippetcallbacks.md +1 -0
- package/docs/API-reference/api/x-types.facetmodelname.md +1 -1
- package/docs/API-reference/api/x-types.filtermodelname.md +1 -1
- package/docs/API-reference/api/x-types.issliderfacet.md +56 -0
- package/docs/API-reference/api/x-types.issliderfilter.md +56 -0
- package/docs/API-reference/api/x-types.md +44 -0
- package/docs/API-reference/api/x-types.sliderfacet.filters.md +13 -0
- package/docs/API-reference/api/x-types.sliderfacet.md +78 -0
- package/docs/API-reference/api/x-types.sliderfacet.modelname.md +13 -0
- package/docs/API-reference/api/x-types.sliderfilter.md +116 -0
- package/docs/API-reference/api/x-types.sliderfilter.modelname.md +13 -0
- package/docs/API-reference/api/x-types.sliderfilter.range.md +16 -0
- package/docs/API-reference/api/x-types.sliderfilter.selectedrange.md +13 -0
- package/docs/API-reference/api/x-types.sliderfilter.unit.md +13 -0
- package/docs/API-reference/components/common/x-components.base-slider.md +1 -1
- package/docs/API-reference/components/facets/x-components.filters/slider-filter.md +33 -0
- package/facets/index.js +1 -0
- package/js/components/base-slider.vue.js +12 -3
- package/js/components/base-slider.vue.js.map +1 -1
- package/js/components/base-slider.vue2.js +1 -1
- package/js/components/base-slider.vue2.js.map +1 -1
- package/js/index.js +5 -7
- package/js/index.js.map +1 -1
- package/js/x-modules/browse/store/module.js +0 -6
- package/js/x-modules/browse/store/module.js.map +1 -1
- package/js/x-modules/browse/wiring.js +1 -8
- package/js/x-modules/browse/wiring.js.map +1 -1
- package/js/x-modules/facets/entities/filter-entity.factory.js +2 -0
- package/js/x-modules/facets/entities/filter-entity.factory.js.map +1 -1
- package/js/x-modules/facets/entities/slider-filter.entity.js +107 -0
- package/js/x-modules/facets/entities/slider-filter.entity.js.map +1 -0
- package/js/x-modules/facets/wiring.js +3 -0
- package/js/x-modules/facets/wiring.js.map +1 -1
- package/js/x-modules/queries-preview/store/module.js +0 -9
- package/js/x-modules/queries-preview/store/module.js.map +1 -1
- package/js/x-modules/queries-preview/wiring.js +2 -11
- package/js/x-modules/queries-preview/wiring.js.map +1 -1
- package/js/x-modules/recommendations/store/module.js +0 -7
- package/js/x-modules/recommendations/store/module.js.map +1 -1
- package/js/x-modules/recommendations/wiring.js +0 -9
- package/js/x-modules/recommendations/wiring.js.map +1 -1
- package/js/x-modules/search/store/module.js +2 -17
- package/js/x-modules/search/store/module.js.map +1 -1
- package/js/x-modules/search/wiring.js +2 -18
- package/js/x-modules/search/wiring.js.map +1 -1
- package/package.json +4 -4
- package/queries-preview/index.js +2 -1
- package/report/x-adapter-platform.api.json +130 -4
- package/report/x-components.api.json +222 -1163
- package/report/x-components.api.md +36 -82
- package/report/x-types.api.json +351 -2
- package/search/index.js +1 -3
- package/types/src/components/base-slider.vue.d.ts +3 -8
- package/types/src/components/base-slider.vue.d.ts.map +1 -1
- package/types/src/components/snippet-callbacks.vue.d.ts +1 -0
- package/types/src/components/snippet-callbacks.vue.d.ts.map +1 -1
- package/types/src/services/index.d.ts +0 -1
- package/types/src/services/index.d.ts.map +1 -1
- package/types/src/services/services.types.d.ts +0 -21
- package/types/src/services/services.types.d.ts.map +1 -1
- package/types/src/x-modules/browse/store/actions/index.d.ts +0 -1
- package/types/src/x-modules/browse/store/actions/index.d.ts.map +1 -1
- package/types/src/x-modules/browse/store/module.d.ts.map +1 -1
- package/types/src/x-modules/browse/store/types.d.ts +0 -12
- package/types/src/x-modules/browse/store/types.d.ts.map +1 -1
- package/types/src/x-modules/browse/wiring.d.ts +0 -7
- package/types/src/x-modules/browse/wiring.d.ts.map +1 -1
- package/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts +1 -0
- package/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts.map +1 -1
- package/types/src/x-modules/facets/components/filters/simple-filter.vue.d.ts +1 -0
- package/types/src/x-modules/facets/components/filters/simple-filter.vue.d.ts.map +1 -1
- package/types/src/x-modules/facets/entities/filter-entity.factory.d.ts.map +1 -1
- package/types/src/x-modules/facets/entities/index.d.ts +1 -0
- package/types/src/x-modules/facets/entities/index.d.ts.map +1 -1
- package/types/src/x-modules/facets/entities/slider-filter.entity.d.ts +65 -0
- package/types/src/x-modules/facets/entities/slider-filter.entity.d.ts.map +1 -0
- package/types/src/x-modules/facets/events.types.d.ts +6 -1
- package/types/src/x-modules/facets/events.types.d.ts.map +1 -1
- package/types/src/x-modules/facets/wiring.d.ts +3 -0
- package/types/src/x-modules/facets/wiring.d.ts.map +1 -1
- package/types/src/x-modules/queries-preview/index.d.ts +1 -0
- package/types/src/x-modules/queries-preview/index.d.ts.map +1 -1
- package/types/src/x-modules/queries-preview/store/module.d.ts.map +1 -1
- package/types/src/x-modules/queries-preview/store/types.d.ts +0 -17
- package/types/src/x-modules/queries-preview/store/types.d.ts.map +1 -1
- package/types/src/x-modules/queries-preview/wiring.d.ts +0 -9
- package/types/src/x-modules/queries-preview/wiring.d.ts.map +1 -1
- package/types/src/x-modules/recommendations/store/module.d.ts.map +1 -1
- package/types/src/x-modules/recommendations/store/types.d.ts +0 -17
- package/types/src/x-modules/recommendations/store/types.d.ts.map +1 -1
- package/types/src/x-modules/recommendations/wiring.d.ts +0 -3
- package/types/src/x-modules/recommendations/wiring.d.ts.map +1 -1
- package/types/src/x-modules/related-prompts/components/related-prompts-tag-list.vue.d.ts.map +1 -1
- package/types/src/x-modules/search/store/actions/index.d.ts +0 -2
- package/types/src/x-modules/search/store/actions/index.d.ts.map +1 -1
- package/types/src/x-modules/search/store/module.d.ts.map +1 -1
- package/types/src/x-modules/search/store/types.d.ts +0 -24
- package/types/src/x-modules/search/store/types.d.ts.map +1 -1
- package/types/src/x-modules/search/wiring.d.ts +0 -16
- package/types/src/x-modules/search/wiring.d.ts.map +1 -1
- package/docs/API-reference/api/x-components.browseactions.fetchandsaveresultsenrichment.md +0 -13
- package/docs/API-reference/api/x-components.browsemutations.updateresultsfromenrichment.md +0 -13
- package/docs/API-reference/api/x-components.cancelfetchandsavepartialresultsenrichment.md +0 -17
- package/docs/API-reference/api/x-components.cancelfetchandsaveresultsenrichment.md +0 -17
- package/docs/API-reference/api/x-components.defaultresultsenrichmentservice._constructor_.md +0 -13
- package/docs/API-reference/api/x-components.defaultresultsenrichmentservice.fetchresults.md +0 -52
- package/docs/API-reference/api/x-components.defaultresultsenrichmentservice.instance.md +0 -13
- package/docs/API-reference/api/x-components.defaultresultsenrichmentservice.md +0 -164
- package/docs/API-reference/api/x-components.defaultresultsenrichmentservice.store.md +0 -11
- package/docs/API-reference/api/x-components.defaultresultsenrichmentservice.updateresults.md +0 -66
- package/docs/API-reference/api/x-components.fetchandsavebrowseresultsenrichment.md +0 -66
- package/docs/API-reference/api/x-components.fetchandsavebrowseresultsenrichmentwire.md +0 -13
- package/docs/API-reference/api/x-components.fetchandsavepartialresultsenrichment.md +0 -66
- package/docs/API-reference/api/x-components.fetchandsavepartialresultsenrichmentwire.md +0 -13
- package/docs/API-reference/api/x-components.fetchandsavequerypreviewresultsenrichmentwire.md +0 -13
- package/docs/API-reference/api/x-components.fetchandsaveresultsenrichment.md +0 -66
- package/docs/API-reference/api/x-components.fetchandsaveresultsenrichmentwire.md +0 -13
- package/docs/API-reference/api/x-components.queriespreviewactions.fetchandsavequerypreviewresultsenrichment.md +0 -13
- package/docs/API-reference/api/x-components.queriespreviewmutations.updatequerypreviewresultsfromenrichment.md +0 -16
- package/docs/API-reference/api/x-components.recommendationsactions.cancelfetchandsaverecommendationsenrichment.md +0 -13
- package/docs/API-reference/api/x-components.recommendationsactions.fetchandsaverecommendationsenrichment.md +0 -13
- package/docs/API-reference/api/x-components.recommendationsmutations.updaterecommendationsfromenrichment.md +0 -13
- package/docs/API-reference/api/x-components.resultsenrichmentservice.fetchresults.md +0 -13
- package/docs/API-reference/api/x-components.resultsenrichmentservice.md +0 -77
- package/docs/API-reference/api/x-components.resultsenrichmentservice.updateresults.md +0 -13
- package/docs/API-reference/api/x-components.searchactions.fetchandsavepartialresultsenrichment.md +0 -13
- package/docs/API-reference/api/x-components.searchactions.fetchandsaveresultsenrichment.md +0 -13
- package/docs/API-reference/api/x-components.searchmutations.updatepartialresultsfromenrichment.md +0 -13
- package/docs/API-reference/api/x-components.searchmutations.updateresultsfromenrichment.md +0 -13
- package/js/services/results-enrichment.service.js +0 -37
- package/js/services/results-enrichment.service.js.map +0 -1
- package/js/x-modules/browse/store/actions/fetch-and-save-results-enrichment.action.js +0 -21
- package/js/x-modules/browse/store/actions/fetch-and-save-results-enrichment.action.js.map +0 -1
- package/js/x-modules/queries-preview/store/actions/fetch-and-save-query-preview-results-enrichment.action.js +0 -21
- package/js/x-modules/queries-preview/store/actions/fetch-and-save-query-preview-results-enrichment.action.js.map +0 -1
- package/js/x-modules/recommendations/store/actions/fetch-and-save-recommendations-enrichment.action.js +0 -30
- package/js/x-modules/recommendations/store/actions/fetch-and-save-recommendations-enrichment.action.js.map +0 -1
- package/js/x-modules/search/store/actions/fetch-and-save-partial-results-enrichment.action.js +0 -33
- package/js/x-modules/search/store/actions/fetch-and-save-partial-results-enrichment.action.js.map +0 -1
- package/js/x-modules/search/store/actions/fetch-and-save-results-enrichment.action.js +0 -28
- package/js/x-modules/search/store/actions/fetch-and-save-results-enrichment.action.js.map +0 -1
- package/types/src/services/results-enrichment.service.d.ts +0 -31
- package/types/src/services/results-enrichment.service.d.ts.map +0 -1
- package/types/src/x-modules/browse/store/actions/fetch-and-save-results-enrichment.action.d.ts +0 -17
- package/types/src/x-modules/browse/store/actions/fetch-and-save-results-enrichment.action.d.ts.map +0 -1
- package/types/src/x-modules/queries-preview/store/actions/fetch-and-save-query-preview-results-enrichment.action.d.ts +0 -3
- package/types/src/x-modules/queries-preview/store/actions/fetch-and-save-query-preview-results-enrichment.action.d.ts.map +0 -1
- package/types/src/x-modules/recommendations/store/actions/fetch-and-save-recommendations-enrichment.action.d.ts +0 -17
- package/types/src/x-modules/recommendations/store/actions/fetch-and-save-recommendations-enrichment.action.d.ts.map +0 -1
- package/types/src/x-modules/search/store/actions/fetch-and-save-partial-results-enrichment.action.d.ts +0 -17
- package/types/src/x-modules/search/store/actions/fetch-and-save-partial-results-enrichment.action.d.ts.map +0 -1
- package/types/src/x-modules/search/store/actions/fetch-and-save-results-enrichment.action.d.ts +0 -17
- 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) > [@empathyco/x-components](./x-components.md) > [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<[RootXStoreState](./x-components.rootxstorestate.md)<!-- -->>
|
|
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) > [@empathyco/x-components](./x-components.md) > [DefaultResultsEnrichmentService](./x-components.defaultresultsenrichmentservice.md) > [store](./x-components.defaultresultsenrichmentservice.store.md)
|
|
4
|
-
|
|
5
|
-
## DefaultResultsEnrichmentService.store property
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
protected get store(): Store<RootXStoreState>;
|
|
11
|
-
```
|
package/docs/API-reference/api/x-components.defaultresultsenrichmentservice.updateresults.md
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [DefaultResultsEnrichmentService](./x-components.defaultresultsenrichmentservice.md) > [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) > [@empathyco/x-components](./x-components.md) > [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<void>
|
|
66
|
-
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [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) > [@empathyco/x-components](./x-components.md) > [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<void>
|
|
66
|
-
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [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
|
-
```
|
package/docs/API-reference/api/x-components.fetchandsavequerypreviewresultsenrichmentwire.md
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [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) > [@empathyco/x-components](./x-components.md) > [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<void>
|
|
66
|
-
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [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) > [@empathyco/x-components](./x-components.md) > [QueriesPreviewActions](./x-components.queriespreviewactions.md) > [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) > [@empathyco/x-components](./x-components.md) > [QueriesPreviewMutations](./x-components.queriespreviewmutations.md) > [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) > [@empathyco/x-components](./x-components.md) > [RecommendationsActions](./x-components.recommendationsactions.md) > [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) > [@empathyco/x-components](./x-components.md) > [RecommendationsActions](./x-components.recommendationsactions.md) > [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) > [@empathyco/x-components](./x-components.md) > [RecommendationsMutations](./x-components.recommendationsmutations.md) > [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) > [@empathyco/x-components](./x-components.md) > [ResultsEnrichmentService](./x-components.resultsenrichmentservice.md) > [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) > [@empathyco/x-components](./x-components.md) > [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\[\]) => Promise<any\[\]>
|
|
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\[\]) => 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) > [@empathyco/x-components](./x-components.md) > [ResultsEnrichmentService](./x-components.resultsenrichmentservice.md) > [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
|
-
```
|
package/docs/API-reference/api/x-components.searchactions.fetchandsavepartialresultsenrichment.md
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [SearchActions](./x-components.searchactions.md) > [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
|
-
```
|