@empathyco/x-components 3.0.0-alpha.96 → 3.0.0-alpha.97

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 (42) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/docs/API-reference/api/x-components.internalsearchrequest.md +1 -1
  3. package/docs/API-reference/api/x-components.md +1 -1
  4. package/docs/API-reference/api/x-components.searchactions.md +1 -1
  5. package/docs/API-reference/api/x-components.searchactions.savesearchresponse.md +2 -2
  6. package/docs/API-reference/api/x-types.identifierresultsresponse.md +20 -0
  7. package/docs/API-reference/api/x-types.identifierresultsresponse.results.md +11 -0
  8. package/docs/API-reference/api/x-types.md +8 -0
  9. package/docs/API-reference/api/x-types.nextqueriesresponse.md +20 -0
  10. package/docs/API-reference/api/x-types.nextqueriesresponse.nextqueries.md +11 -0
  11. package/docs/API-reference/api/x-types.popularsearchesresponse.md +20 -0
  12. package/docs/API-reference/api/x-types.popularsearchesresponse.suggestions.md +11 -0
  13. package/docs/API-reference/api/x-types.querysuggestionsresponse.md +20 -0
  14. package/docs/API-reference/api/x-types.querysuggestionsresponse.suggestions.md +11 -0
  15. package/docs/API-reference/api/x-types.recommendationsresponse.md +20 -0
  16. package/docs/API-reference/api/x-types.recommendationsresponse.results.md +11 -0
  17. package/docs/API-reference/api/x-types.relatedtagsresponse.md +20 -0
  18. package/docs/API-reference/api/x-types.relatedtagsresponse.relatedtags.md +11 -0
  19. package/docs/API-reference/api/x-types.searchresponse.banners.md +11 -0
  20. package/docs/API-reference/api/x-types.searchresponse.facets.md +11 -0
  21. package/docs/API-reference/api/x-types.searchresponse.md +28 -0
  22. package/docs/API-reference/api/x-types.searchresponse.partialresults.md +11 -0
  23. package/docs/API-reference/api/x-types.searchresponse.promoteds.md +11 -0
  24. package/docs/API-reference/api/x-types.searchresponse.querytagging.md +11 -0
  25. package/docs/API-reference/api/x-types.searchresponse.redirections.md +11 -0
  26. package/docs/API-reference/api/x-types.searchresponse.results.md +11 -0
  27. package/docs/API-reference/api/x-types.searchresponse.spellcheck.md +11 -0
  28. package/docs/API-reference/api/x-types.searchresponse.totalresults.md +11 -0
  29. package/docs/API-reference/api/x-types.trackableshowresponse.md +20 -0
  30. package/docs/API-reference/api/x-types.trackableshowresponse.showtagging.md +11 -0
  31. package/js/x-modules/search/store/actions/fetch-and-save-search-response.action.js.map +1 -1
  32. package/js/x-modules/search/store/actions/save-search-response.action.js +1 -1
  33. package/js/x-modules/search/store/actions/save-search-response.action.js.map +1 -1
  34. package/package.json +6 -6
  35. package/report/x-components.api.json +3 -3
  36. package/report/x-types.api.json +621 -15
  37. package/types/adapter/mocked-adapter.d.ts.map +1 -1
  38. package/types/x-modules/search/store/actions/fetch-and-save-search-response.action.d.ts.map +1 -1
  39. package/types/x-modules/search/store/actions/save-search-response.action.d.ts +1 -1
  40. package/types/x-modules/search/store/types.d.ts +3 -4
  41. package/types/x-modules/search/store/types.d.ts.map +1 -1
  42. package/types/x-modules/search/types.d.ts +1 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,19 @@
3
3
  All notable changes to this project will be documented in this file. See
4
4
  [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.0.0-alpha.97](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.96...@empathyco/x-components@3.0.0-alpha.97) (2022-05-13)
7
+
8
+ ### Features
9
+
10
+ - move `response` types to `@empathyco/x-types`
11
+ ([77fb812](https://github.com/empathyco/x/commit/77fb812b77fe0c84462a4b5b2eb7f0439e2d8061)),
12
+ closes [EX-6092](https://searchbroker.atlassian.net/browse/EX-6092)
13
+
14
+ # Change Log
15
+
16
+ All notable changes to this project will be documented in this file. See
17
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
18
+
6
19
  ## [3.0.0-alpha.96](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.95...@empathyco/x-components@3.0.0-alpha.96) (2022-05-13)
7
20
 
8
21
  ### ⚠ BREAKING CHANGES
@@ -4,7 +4,7 @@
4
4
 
5
5
  ## InternalSearchRequest interface
6
6
 
7
- An internal search request containing the page used to calculate the start and rows properties of a [SearchRequest](./x-adapter.searchrequest.md)<!-- -->.
7
+ An internal search request containing the page used to calculate the start and rows properties of a [SearchRequest](./x-types.searchrequest.md)<!-- -->.
8
8
 
9
9
  <b>Signature:</b>
10
10
 
@@ -246,7 +246,7 @@ X-Components is a library usable everywhere not only for search experiences.
246
246
  | [InfiniteScroll](./x-components.infinitescroll.md) | Interface to be implemented by the component which uses the infinite scroll directive. If the component wants to trigger an action when the scroll is about to end it needs to implement the <code>onInfiniteScrollEnd</code> method. |
247
247
  | [InitWrapper](./x-components.initwrapper.md) | Interface for the returned type of the [XInstaller.init()](./x-components.xinstaller.init.md) function. |
248
248
  | [InstallXOptions](./x-components.installxoptions.md) | Interface for the parameter of the constructor of [XInstaller](./x-components.xinstaller.md) function. It is an extended version of [XPluginOptions](./x-components.xpluginoptions.md)<!-- -->. |
249
- | [InternalSearchRequest](./x-components.internalsearchrequest.md) | An internal search request containing the page used to calculate the start and rows properties of a [SearchRequest](./x-adapter.searchrequest.md)<!-- -->. |
249
+ | [InternalSearchRequest](./x-components.internalsearchrequest.md) | An internal search request containing the page used to calculate the start and rows properties of a [SearchRequest](./x-types.searchrequest.md)<!-- -->. |
250
250
  | [NamespacedWireCommit](./x-components.namespacedwirecommit.md) | Namespaced type for the [wireCommit()](./x-components.wirecommit.md) which creates a wire with its payload associated. Possible ways for creating a wire that commits a mutation. If a payload is passed, then the observable payload can be ignored, so the wire is applicable to any event. If no payload is passed, then the wire is only applicable to events with the same payload type than the mutation. |
251
251
  | [NamespacedWireDispatch](./x-components.namespacedwiredispatch.md) | Namespaced type for the [wireDispatch()](./x-components.wiredispatch.md) which creates a wire with its payload associated. Possible ways for creating a wire that dispatches an action. If a payload is passed, then the observable payload can be ignored, so the wire is applicable to any event. If no payload is passed, then the wire is only applicable to events with the same payload type than the action. |
252
252
  | [NextQueriesActions](./x-components.nextqueriesactions.md) | Next queries module actions. |
@@ -22,6 +22,6 @@ export interface SearchActions
22
22
  | [increasePageAppendingResults()](./x-components.searchactions.increasepageappendingresults.md) | Checks if there are more pages of results to load. If there are, then increases the page number in state and set to <code>true</code> the [SearchState.isAppendResults](./x-components.searchstate.isappendresults.md) flag. |
23
23
  | [resetState(watchedRequest)](./x-components.searchactions.resetstate.md) | Batches state resets in a single action after [SearchGetters.request](./x-components.searchgetters.request.md) parameters update. |
24
24
  | [saveOrigin(originInit)](./x-components.searchactions.saveorigin.md) | Creates a [QueryOrigin](./x-components.queryorigin.md) and saves it. |
25
- | [saveSearchResponse(response)](./x-components.searchactions.savesearchresponse.md) | Saves the [SearchResponse](./x-adapter.searchresponse.md)<!-- -->. |
25
+ | [saveSearchResponse(response)](./x-components.searchactions.savesearchresponse.md) | Saves the [SearchResponse](./x-types.searchresponse.md)<!-- -->. |
26
26
  | [setUrlParams(urlParams)](./x-components.searchactions.seturlparams.md) | Checks if the url has params on it and then updates the state with these values. |
27
27
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  ## SearchActions.saveSearchResponse() method
6
6
 
7
- Saves the [SearchResponse](./x-adapter.searchresponse.md)<!-- -->.
7
+ Saves the [SearchResponse](./x-types.searchresponse.md)<!-- -->.
8
8
 
9
9
  <b>Signature:</b>
10
10
 
@@ -16,7 +16,7 @@ saveSearchResponse(response: SearchResponse): void;
16
16
 
17
17
  | Parameter | Type | Description |
18
18
  | --- | --- | --- |
19
- | response | SearchResponse | The [SearchResponse](./x-adapter.searchresponse.md) to save. |
19
+ | response | SearchResponse | The [SearchResponse](./x-types.searchresponse.md) to save. |
20
20
 
21
21
  <b>Returns:</b>
22
22
 
@@ -0,0 +1,20 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-types](./x-types.md) &gt; [IdentifierResultsResponse](./x-types.identifierresultsresponse.md)
4
+
5
+ ## IdentifierResultsResponse interface
6
+
7
+ Response for the identifier results endpoint.
8
+
9
+ <b>Signature:</b>
10
+
11
+ ```typescript
12
+ export interface IdentifierResultsResponse
13
+ ```
14
+
15
+ ## Properties
16
+
17
+ | Property | Type | Description |
18
+ | --- | --- | --- |
19
+ | [results](./x-types.identifierresultsresponse.results.md) | [Result](./x-types.result.md)<!-- -->\[\] | |
20
+
@@ -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-types](./x-types.md) &gt; [IdentifierResultsResponse](./x-types.identifierresultsresponse.md) &gt; [results](./x-types.identifierresultsresponse.results.md)
4
+
5
+ ## IdentifierResultsResponse.results property
6
+
7
+ <b>Signature:</b>
8
+
9
+ ```typescript
10
+ results: Result[];
11
+ ```
@@ -44,30 +44,37 @@ Entry point to export search-type models and testing schemas in a unified api-ex
44
44
  | [HistoryQuery](./x-types.historyquery.md) | Represents a query that has been made by the user. |
45
45
  | [Identifiable](./x-types.identifiable.md) | Represents an Object with id property. |
46
46
  | [IdentifierResultsRequest](./x-types.identifierresultsrequest.md) | Request for Identifier Results endpoint. |
47
+ | [IdentifierResultsResponse](./x-types.identifierresultsresponse.md) | Response for the identifier results endpoint. |
47
48
  | [NamedModel](./x-types.namedmodel.md) | Common interface to ease the differentiate between different model types. |
48
49
  | [NextQueries](./x-types.nextqueries.md) | A group of next queries. |
49
50
  | [NextQueriesRequest](./x-types.nextqueriesrequest.md) | Request for Next Queries endpoint. |
51
+ | [NextQueriesResponse](./x-types.nextqueriesresponse.md) | Response for the next queries endpoint. |
50
52
  | [NextQuery](./x-types.nextquery.md) | A next query is a suggestion of a new query that the user may be interested after searching for an specific term. |
51
53
  | [NumberRangeFacet](./x-types.numberrangefacet.md) | Number Range Facet is a trait for filtering results. It extends from [Facet](./x-types.facet.md)<!-- -->, changes the modelName and uses [NumberRangeFilter](./x-types.numberrangefilter.md) as filters. |
52
54
  | [NumberRangeFilter](./x-types.numberrangefilter.md) | A type of filter used in [NumberRangeFacet](./x-types.numberrangefacet.md) and extends from [BooleanFilter](./x-types.booleanfilter.md)<!-- -->. This filter has the particularity that its range property is an object with a range of numbers. The difference with [EditableNumberRangeFilter](./x-types.editablenumberrangefilter.md) is that range's values are not editable. There are different NumberRangeFilters within the facet to cover different predefined range options. |
53
55
  | [PageableRequest](./x-types.pageablerequest.md) | Interface for any Request which supports pagination. |
54
56
  | [PartialResult](./x-types.partialresult.md) | A partial result represents a sub-query of a user search term which normally has not enough results (or not results at all). It includes a preview of these results and the number of total results that match against the sub-query. |
55
57
  | [PopularSearchesRequest](./x-types.popularsearchesrequest.md) | Request for Popular Searches endpoint. |
58
+ | [PopularSearchesResponse](./x-types.popularsearchesresponse.md) | Response for the popular searches endpoint. |
56
59
  | [Previewable](./x-types.previewable.md) | Represents an item that is searchable, and the results associated to it. |
57
60
  | [Promoted](./x-types.promoted.md) | A promoted is an image with a title, that when clicked redirect the user to an URL. Often it is represented taking up the same space than a normal result. |
58
61
  | [QueryableRequest](./x-types.queryablerequest.md) | Interface for any Request with a <code>query</code> parameter. |
59
62
  | [QuerySuggestionsRequest](./x-types.querysuggestionsrequest.md) | Request for Query Suggestions endpoint. |
63
+ | [QuerySuggestionsResponse](./x-types.querysuggestionsresponse.md) | Response for the query suggestions endpoint. |
60
64
  | [RangeValue](./x-types.rangevalue.md) | A numeric range filter value. |
61
65
  | [RawFilter](./x-types.rawfilter.md) | A filter which id is the value of the filter. It can be selected or not. |
62
66
  | [RecommendationsRequest](./x-types.recommendationsrequest.md) | Request for Recommendations endpoint. |
67
+ | [RecommendationsResponse](./x-types.recommendationsresponse.md) | Response for the recommendations endpoint. |
63
68
  | [Redirection](./x-types.redirection.md) | A redirection (AKA Direct Link) is simply a URL. Normally, the user is just redirected to it after making a query that matches the configuration of this URL. In other cases it is shown as a button that the user can click, and which will trigger the redirect action. |
64
69
  | [RelatedTag](./x-types.relatedtag.md) | A related tag is just a term that refines the current query. |
65
70
  | [RelatedTagsRequest](./x-types.relatedtagsrequest.md) | Request for Related Tags endpoint. |
71
+ | [RelatedTagsResponse](./x-types.relatedtagsresponse.md) | Response for the related tags endpoint. |
66
72
  | [Result](./x-types.result.md) | A search result. |
67
73
  | [ResultIdentifier](./x-types.resultidentifier.md) | The client result identifier (SKU, MOCACO, a simple ID...). |
68
74
  | [ResultPrice](./x-types.resultprice.md) | The result price. |
69
75
  | [ResultRating](./x-types.resultrating.md) | The result rating. |
70
76
  | [SearchRequest](./x-types.searchrequest.md) | The Request for the Search endpoint. |
77
+ | [SearchResponse](./x-types.searchresponse.md) | Response for the search endpoint. |
71
78
  | [SimpleFacet](./x-types.simplefacet.md) | Simple facet is a trait for filtering results. It extends from [Facet](./x-types.facet.md)<!-- -->, changes the modelName and uses [SimpleFilter](./x-types.simplefilter.md) as filters. |
72
79
  | [SimpleFilter](./x-types.simplefilter.md) | A type of filter used in [SimpleFacet](./x-types.simplefacet.md) and extends from [Filter](./x-types.filter.md)<!-- -->. It can be selected or not. |
73
80
  | [SortableRequest](./x-types.sortablerequest.md) | Interface for any Request with sorting. |
@@ -76,6 +83,7 @@ Entry point to export search-type models and testing schemas in a unified api-ex
76
83
  | [Tagging](./x-types.tagging.md) | The tagging user actions. |
77
84
  | [TaggingRequest](./x-types.taggingrequest.md) | The request for the tagging API. |
78
85
  | [TrackableRequest](./x-types.trackablerequest.md) | Interface for any Request with tagging. |
86
+ | [TrackableShowResponse](./x-types.trackableshowresponse.md) | Response to be implemented by all responses that contain a part to track the show event. |
79
87
  | [UserInfo](./x-types.userinfo.md) | The representation of the user. |
80
88
 
81
89
  ## Variables
@@ -0,0 +1,20 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-types](./x-types.md) &gt; [NextQueriesResponse](./x-types.nextqueriesresponse.md)
4
+
5
+ ## NextQueriesResponse interface
6
+
7
+ Response for the next queries endpoint.
8
+
9
+ <b>Signature:</b>
10
+
11
+ ```typescript
12
+ export interface NextQueriesResponse
13
+ ```
14
+
15
+ ## Properties
16
+
17
+ | Property | Type | Description |
18
+ | --- | --- | --- |
19
+ | [nextQueries](./x-types.nextqueriesresponse.nextqueries.md) | [NextQuery](./x-types.nextquery.md)<!-- -->\[\] | |
20
+
@@ -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-types](./x-types.md) &gt; [NextQueriesResponse](./x-types.nextqueriesresponse.md) &gt; [nextQueries](./x-types.nextqueriesresponse.nextqueries.md)
4
+
5
+ ## NextQueriesResponse.nextQueries property
6
+
7
+ <b>Signature:</b>
8
+
9
+ ```typescript
10
+ nextQueries: NextQuery[];
11
+ ```
@@ -0,0 +1,20 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-types](./x-types.md) &gt; [PopularSearchesResponse](./x-types.popularsearchesresponse.md)
4
+
5
+ ## PopularSearchesResponse interface
6
+
7
+ Response for the popular searches endpoint.
8
+
9
+ <b>Signature:</b>
10
+
11
+ ```typescript
12
+ export interface PopularSearchesResponse
13
+ ```
14
+
15
+ ## Properties
16
+
17
+ | Property | Type | Description |
18
+ | --- | --- | --- |
19
+ | [suggestions](./x-types.popularsearchesresponse.suggestions.md) | [Suggestion](./x-types.suggestion.md)<!-- -->\[\] | |
20
+
@@ -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-types](./x-types.md) &gt; [PopularSearchesResponse](./x-types.popularsearchesresponse.md) &gt; [suggestions](./x-types.popularsearchesresponse.suggestions.md)
4
+
5
+ ## PopularSearchesResponse.suggestions property
6
+
7
+ <b>Signature:</b>
8
+
9
+ ```typescript
10
+ suggestions: Suggestion[];
11
+ ```
@@ -0,0 +1,20 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-types](./x-types.md) &gt; [QuerySuggestionsResponse](./x-types.querysuggestionsresponse.md)
4
+
5
+ ## QuerySuggestionsResponse interface
6
+
7
+ Response for the query suggestions endpoint.
8
+
9
+ <b>Signature:</b>
10
+
11
+ ```typescript
12
+ export interface QuerySuggestionsResponse
13
+ ```
14
+
15
+ ## Properties
16
+
17
+ | Property | Type | Description |
18
+ | --- | --- | --- |
19
+ | [suggestions](./x-types.querysuggestionsresponse.suggestions.md) | [Suggestion](./x-types.suggestion.md)<!-- -->\[\] | |
20
+
@@ -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-types](./x-types.md) &gt; [QuerySuggestionsResponse](./x-types.querysuggestionsresponse.md) &gt; [suggestions](./x-types.querysuggestionsresponse.suggestions.md)
4
+
5
+ ## QuerySuggestionsResponse.suggestions property
6
+
7
+ <b>Signature:</b>
8
+
9
+ ```typescript
10
+ suggestions: Suggestion[];
11
+ ```
@@ -0,0 +1,20 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-types](./x-types.md) &gt; [RecommendationsResponse](./x-types.recommendationsresponse.md)
4
+
5
+ ## RecommendationsResponse interface
6
+
7
+ Response for the recommendations endpoint.
8
+
9
+ <b>Signature:</b>
10
+
11
+ ```typescript
12
+ export interface RecommendationsResponse
13
+ ```
14
+
15
+ ## Properties
16
+
17
+ | Property | Type | Description |
18
+ | --- | --- | --- |
19
+ | [results](./x-types.recommendationsresponse.results.md) | [Result](./x-types.result.md)<!-- -->\[\] | |
20
+
@@ -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-types](./x-types.md) &gt; [RecommendationsResponse](./x-types.recommendationsresponse.md) &gt; [results](./x-types.recommendationsresponse.results.md)
4
+
5
+ ## RecommendationsResponse.results property
6
+
7
+ <b>Signature:</b>
8
+
9
+ ```typescript
10
+ results: Result[];
11
+ ```
@@ -0,0 +1,20 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-types](./x-types.md) &gt; [RelatedTagsResponse](./x-types.relatedtagsresponse.md)
4
+
5
+ ## RelatedTagsResponse interface
6
+
7
+ Response for the related tags endpoint.
8
+
9
+ <b>Signature:</b>
10
+
11
+ ```typescript
12
+ export interface RelatedTagsResponse
13
+ ```
14
+
15
+ ## Properties
16
+
17
+ | Property | Type | Description |
18
+ | --- | --- | --- |
19
+ | [relatedTags](./x-types.relatedtagsresponse.relatedtags.md) | [RelatedTag](./x-types.relatedtag.md)<!-- -->\[\] | |
20
+
@@ -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-types](./x-types.md) &gt; [RelatedTagsResponse](./x-types.relatedtagsresponse.md) &gt; [relatedTags](./x-types.relatedtagsresponse.relatedtags.md)
4
+
5
+ ## RelatedTagsResponse.relatedTags property
6
+
7
+ <b>Signature:</b>
8
+
9
+ ```typescript
10
+ relatedTags: RelatedTag[];
11
+ ```
@@ -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-types](./x-types.md) &gt; [SearchResponse](./x-types.searchresponse.md) &gt; [banners](./x-types.searchresponse.banners.md)
4
+
5
+ ## SearchResponse.banners property
6
+
7
+ <b>Signature:</b>
8
+
9
+ ```typescript
10
+ banners?: Banner[];
11
+ ```
@@ -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-types](./x-types.md) &gt; [SearchResponse](./x-types.searchresponse.md) &gt; [facets](./x-types.searchresponse.facets.md)
4
+
5
+ ## SearchResponse.facets property
6
+
7
+ <b>Signature:</b>
8
+
9
+ ```typescript
10
+ facets?: Facet[];
11
+ ```
@@ -0,0 +1,28 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-types](./x-types.md) &gt; [SearchResponse](./x-types.searchresponse.md)
4
+
5
+ ## SearchResponse interface
6
+
7
+ Response for the search endpoint.
8
+
9
+ <b>Signature:</b>
10
+
11
+ ```typescript
12
+ export interface SearchResponse
13
+ ```
14
+
15
+ ## Properties
16
+
17
+ | Property | Type | Description |
18
+ | --- | --- | --- |
19
+ | [banners?](./x-types.searchresponse.banners.md) | [Banner](./x-types.banner.md)<!-- -->\[\] | <i>(Optional)</i> |
20
+ | [facets?](./x-types.searchresponse.facets.md) | [Facet](./x-types.facet.md)<!-- -->\[\] | <i>(Optional)</i> |
21
+ | [partialResults?](./x-types.searchresponse.partialresults.md) | [PartialResult](./x-types.partialresult.md)<!-- -->\[\] | <i>(Optional)</i> |
22
+ | [promoteds?](./x-types.searchresponse.promoteds.md) | [Promoted](./x-types.promoted.md)<!-- -->\[\] | <i>(Optional)</i> |
23
+ | [queryTagging](./x-types.searchresponse.querytagging.md) | [TaggingRequest](./x-types.taggingrequest.md) | |
24
+ | [redirections?](./x-types.searchresponse.redirections.md) | [Redirection](./x-types.redirection.md)<!-- -->\[\] | <i>(Optional)</i> |
25
+ | [results](./x-types.searchresponse.results.md) | [Result](./x-types.result.md)<!-- -->\[\] | |
26
+ | [spellcheck?](./x-types.searchresponse.spellcheck.md) | string | <i>(Optional)</i> |
27
+ | [totalResults](./x-types.searchresponse.totalresults.md) | number | |
28
+
@@ -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-types](./x-types.md) &gt; [SearchResponse](./x-types.searchresponse.md) &gt; [partialResults](./x-types.searchresponse.partialresults.md)
4
+
5
+ ## SearchResponse.partialResults property
6
+
7
+ <b>Signature:</b>
8
+
9
+ ```typescript
10
+ partialResults?: PartialResult[];
11
+ ```
@@ -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-types](./x-types.md) &gt; [SearchResponse](./x-types.searchresponse.md) &gt; [promoteds](./x-types.searchresponse.promoteds.md)
4
+
5
+ ## SearchResponse.promoteds property
6
+
7
+ <b>Signature:</b>
8
+
9
+ ```typescript
10
+ promoteds?: Promoted[];
11
+ ```
@@ -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-types](./x-types.md) &gt; [SearchResponse](./x-types.searchresponse.md) &gt; [queryTagging](./x-types.searchresponse.querytagging.md)
4
+
5
+ ## SearchResponse.queryTagging property
6
+
7
+ <b>Signature:</b>
8
+
9
+ ```typescript
10
+ queryTagging: TaggingRequest;
11
+ ```
@@ -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-types](./x-types.md) &gt; [SearchResponse](./x-types.searchresponse.md) &gt; [redirections](./x-types.searchresponse.redirections.md)
4
+
5
+ ## SearchResponse.redirections property
6
+
7
+ <b>Signature:</b>
8
+
9
+ ```typescript
10
+ redirections?: Redirection[];
11
+ ```
@@ -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-types](./x-types.md) &gt; [SearchResponse](./x-types.searchresponse.md) &gt; [results](./x-types.searchresponse.results.md)
4
+
5
+ ## SearchResponse.results property
6
+
7
+ <b>Signature:</b>
8
+
9
+ ```typescript
10
+ results: Result[];
11
+ ```
@@ -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-types](./x-types.md) &gt; [SearchResponse](./x-types.searchresponse.md) &gt; [spellcheck](./x-types.searchresponse.spellcheck.md)
4
+
5
+ ## SearchResponse.spellcheck property
6
+
7
+ <b>Signature:</b>
8
+
9
+ ```typescript
10
+ spellcheck?: string;
11
+ ```
@@ -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-types](./x-types.md) &gt; [SearchResponse](./x-types.searchresponse.md) &gt; [totalResults](./x-types.searchresponse.totalresults.md)
4
+
5
+ ## SearchResponse.totalResults property
6
+
7
+ <b>Signature:</b>
8
+
9
+ ```typescript
10
+ totalResults: number;
11
+ ```
@@ -0,0 +1,20 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-types](./x-types.md) &gt; [TrackableShowResponse](./x-types.trackableshowresponse.md)
4
+
5
+ ## TrackableShowResponse interface
6
+
7
+ Response to be implemented by all responses that contain a part to track the show event.
8
+
9
+ <b>Signature:</b>
10
+
11
+ ```typescript
12
+ export interface TrackableShowResponse
13
+ ```
14
+
15
+ ## Properties
16
+
17
+ | Property | Type | Description |
18
+ | --- | --- | --- |
19
+ | [showTagging](./x-types.trackableshowresponse.showtagging.md) | [TaggingRequest](./x-types.taggingrequest.md) | |
20
+
@@ -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-types](./x-types.md) &gt; [TrackableShowResponse](./x-types.trackableshowresponse.md) &gt; [showTagging](./x-types.trackableshowresponse.showtagging.md)
4
+
5
+ ## TrackableShowResponse.showTagging property
6
+
7
+ <b>Signature:</b>
8
+
9
+ ```typescript
10
+ showTagging: TaggingRequest;
11
+ ```
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-and-save-search-response.action.js","sources":["../../../../../../src/x-modules/search/store/actions/fetch-and-save-search-response.action.ts"],"sourcesContent":["import { SearchResponse } from '@empathyco/x-adapter';\nimport { SearchRequest } from '@empathyco/x-types';\nimport { createFetchAndSaveActions } from '../../../../store/utils/fetch-and-save-action.utils';\nimport { InternalSearchRequest } from '../../types';\nimport { SearchActionContext, SearchState } from '../types';\n\nconst { fetchAndSave, cancelPrevious } = createFetchAndSaveActions<\n SearchActionContext,\n InternalSearchRequest | null,\n SearchResponse\n>({\n fetch({ dispatch, state }, request) {\n return dispatch('fetchSearchResponse', request ? enrichRequest(request, state) : null);\n },\n onSuccess({ dispatch }, response) {\n dispatch('saveSearchResponse', response);\n }\n});\n\n/**\n * Enriches the {@link SearchRequest} object with the origin and page properties taken from the\n * {@link SearchState | search state}.\n *\n * @param request - The {@link InternalSearchRequest}.\n * @param state - {@link SearchState}.\n *\n * @returns The search request.\n * @internal\n */\nfunction enrichRequest(request: InternalSearchRequest, state: SearchState): SearchRequest {\n const { page, ...restRequest } = request;\n const {\n config: { pageSize },\n origin,\n results\n } = state;\n const start = page === 1 ? 0 : results.length;\n\n return {\n ...restRequest,\n // eslint-disable-next-line @typescript-eslint/no-extra-parens\n ...(origin && { origin }),\n start,\n rows: pageSize * page - start\n };\n}\n\n/**\n * Default implementation for {@link SearchActions.fetchAndSaveSearchResponse} action.\n *\n * @public\n */\nexport const fetchAndSaveSearchResponse = fetchAndSave;\n\n/**\n * Default implementation for {@link SearchActions.cancelFetchAndSaveSearchResponse} action.\n *\n * @public\n */\nexport const cancelFetchAndSaveSearchResponse = cancelPrevious;\n"],"names":[],"mappings":";;AAMA,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,GAAG,yBAAyB,CAIhE;IACA,KAAK,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,OAAO;QAChC,OAAO,QAAQ,CAAC,qBAAqB,EAAE,OAAO,GAAG,aAAa,CAAC,OAAO,EAAE,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;KACxF;IACD,SAAS,CAAC,EAAE,QAAQ,EAAE,EAAE,QAAQ;QAC9B,QAAQ,CAAC,oBAAoB,EAAE,QAAQ,CAAC,CAAC;KAC1C;CACF,CAAC,CAAC;AAEH;;;;;;;;;;AAUA,SAAS,aAAa,CAAC,OAA8B,EAAE,KAAkB;IACvE,MAAM,EAAE,IAAI,EAAE,GAAG,WAAW,EAAE,GAAG,OAAO,CAAC;IACzC,MAAM,EACJ,MAAM,EAAE,EAAE,QAAQ,EAAE,EACpB,MAAM,EACN,OAAO,EACR,GAAG,KAAK,CAAC;IACV,MAAM,KAAK,GAAG,IAAI,KAAK,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC;IAE9C,OAAO;QACL,GAAG,WAAW;;QAEd,IAAI,MAAM,IAAI,EAAE,MAAM,EAAE,CAAC;QACzB,KAAK;QACL,IAAI,EAAE,QAAQ,GAAG,IAAI,GAAG,KAAK;KAC9B,CAAC;AACJ,CAAC;AAED;;;;;MAKa,0BAA0B,GAAG,aAAa;AAEvD;;;;;MAKa,gCAAgC,GAAG;;;;"}
1
+ {"version":3,"file":"fetch-and-save-search-response.action.js","sources":["../../../../../../src/x-modules/search/store/actions/fetch-and-save-search-response.action.ts"],"sourcesContent":["import { SearchRequest, SearchResponse } from '@empathyco/x-types';\nimport { createFetchAndSaveActions } from '../../../../store/utils/fetch-and-save-action.utils';\nimport { InternalSearchRequest } from '../../types';\nimport { SearchActionContext, SearchState } from '../types';\n\nconst { fetchAndSave, cancelPrevious } = createFetchAndSaveActions<\n SearchActionContext,\n InternalSearchRequest | null,\n SearchResponse\n>({\n fetch({ dispatch, state }, request) {\n return dispatch('fetchSearchResponse', request ? enrichRequest(request, state) : null);\n },\n onSuccess({ dispatch }, response) {\n dispatch('saveSearchResponse', response);\n }\n});\n\n/**\n * Enriches the {@link SearchRequest} object with the origin and page properties taken from the\n * {@link SearchState | search state}.\n *\n * @param request - The {@link InternalSearchRequest}.\n * @param state - {@link SearchState}.\n *\n * @returns The search request.\n * @internal\n */\nfunction enrichRequest(request: InternalSearchRequest, state: SearchState): SearchRequest {\n const { page, ...restRequest } = request;\n const {\n config: { pageSize },\n origin,\n results\n } = state;\n const start = page === 1 ? 0 : results.length;\n\n return {\n ...restRequest,\n // eslint-disable-next-line @typescript-eslint/no-extra-parens\n ...(origin && { origin }),\n start,\n rows: pageSize * page - start\n };\n}\n\n/**\n * Default implementation for {@link SearchActions.fetchAndSaveSearchResponse} action.\n *\n * @public\n */\nexport const fetchAndSaveSearchResponse = fetchAndSave;\n\n/**\n * Default implementation for {@link SearchActions.cancelFetchAndSaveSearchResponse} action.\n *\n * @public\n */\nexport const cancelFetchAndSaveSearchResponse = cancelPrevious;\n"],"names":[],"mappings":";;AAKA,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,GAAG,yBAAyB,CAIhE;IACA,KAAK,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,OAAO;QAChC,OAAO,QAAQ,CAAC,qBAAqB,EAAE,OAAO,GAAG,aAAa,CAAC,OAAO,EAAE,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;KACxF;IACD,SAAS,CAAC,EAAE,QAAQ,EAAE,EAAE,QAAQ;QAC9B,QAAQ,CAAC,oBAAoB,EAAE,QAAQ,CAAC,CAAC;KAC1C;CACF,CAAC,CAAC;AAEH;;;;;;;;;;AAUA,SAAS,aAAa,CAAC,OAA8B,EAAE,KAAkB;IACvE,MAAM,EAAE,IAAI,EAAE,GAAG,WAAW,EAAE,GAAG,OAAO,CAAC;IACzC,MAAM,EACJ,MAAM,EAAE,EAAE,QAAQ,EAAE,EACpB,MAAM,EACN,OAAO,EACR,GAAG,KAAK,CAAC;IACV,MAAM,KAAK,GAAG,IAAI,KAAK,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC;IAE9C,OAAO;QACL,GAAG,WAAW;;QAEd,IAAI,MAAM,IAAI,EAAE,MAAM,EAAE,CAAC;QACzB,KAAK;QACL,IAAI,EAAE,QAAQ,GAAG,IAAI,GAAG,KAAK;KAC9B,CAAC;AACJ,CAAC;AAED;;;;;MAKa,0BAA0B,GAAG,aAAa;AAEvD;;;;;MAKa,gCAAgC,GAAG;;;;"}
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * @param context - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions,
5
5
  * provided by Vuex.
6
- * @param response - The {@link @empathyco/x-adapter#SearchResponse} to save.
6
+ * @param response - The {@link @empathyco/x-types#SearchResponse} to save.
7
7
  *
8
8
  * @public
9
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"save-search-response.action.js","sources":["../../../../../../src/x-modules/search/store/actions/save-search-response.action.ts"],"sourcesContent":["import { SearchXStoreModule } from '../types';\n\n/**\n * Default implementation for the {@link SearchActions.saveSearchResponse}.\n *\n * @param context - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions,\n * provided by Vuex.\n * @param response - The {@link @empathyco/x-adapter#SearchResponse} to save.\n *\n * @public\n */\nexport const saveSearchResponse: SearchXStoreModule['actions']['saveSearchResponse'] = (\n { commit, state },\n {\n results,\n partialResults,\n facets,\n banners,\n promoteds,\n totalResults,\n spellcheck,\n redirections,\n queryTagging\n }\n) => {\n if (state.isAppendResults) {\n commit('appendResults', results);\n } else {\n commit('setResults', results);\n commit('setBanners', banners ?? []);\n commit('setPromoteds', promoteds ?? []);\n commit('setRedirections', redirections ?? []);\n }\n\n commit('setPartialResults', partialResults ?? []);\n\n if (facets) {\n commit('setFacets', facets);\n }\n\n if (queryTagging) {\n commit('setQueryTagging', queryTagging);\n }\n commit('setTotalResults', totalResults);\n commit('setSpellcheck', spellcheck ?? '');\n};\n"],"names":[],"mappings":"AAEA;;;;;;;;;MASa,kBAAkB,GAAwD,CACrF,EAAE,MAAM,EAAE,KAAK,EAAE,EACjB,EACE,OAAO,EACP,cAAc,EACd,MAAM,EACN,OAAO,EACP,SAAS,EACT,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,YAAY,EACb;IAED,IAAI,KAAK,CAAC,eAAe,EAAE;QACzB,MAAM,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC;KAClC;SAAM;QACL,MAAM,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;QAC9B,MAAM,CAAC,YAAY,EAAE,OAAO,IAAI,EAAE,CAAC,CAAC;QACpC,MAAM,CAAC,cAAc,EAAE,SAAS,IAAI,EAAE,CAAC,CAAC;QACxC,MAAM,CAAC,iBAAiB,EAAE,YAAY,IAAI,EAAE,CAAC,CAAC;KAC/C;IAED,MAAM,CAAC,mBAAmB,EAAE,cAAc,IAAI,EAAE,CAAC,CAAC;IAElD,IAAI,MAAM,EAAE;QACV,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;KAC7B;IAED,IAAI,YAAY,EAAE;QAChB,MAAM,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC;KACzC;IACD,MAAM,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC;IACxC,MAAM,CAAC,eAAe,EAAE,UAAU,IAAI,EAAE,CAAC,CAAC;AAC5C;;;;"}
1
+ {"version":3,"file":"save-search-response.action.js","sources":["../../../../../../src/x-modules/search/store/actions/save-search-response.action.ts"],"sourcesContent":["import { SearchXStoreModule } from '../types';\n\n/**\n * Default implementation for the {@link SearchActions.saveSearchResponse}.\n *\n * @param context - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions,\n * provided by Vuex.\n * @param response - The {@link @empathyco/x-types#SearchResponse} to save.\n *\n * @public\n */\nexport const saveSearchResponse: SearchXStoreModule['actions']['saveSearchResponse'] = (\n { commit, state },\n {\n results,\n partialResults,\n facets,\n banners,\n promoteds,\n totalResults,\n spellcheck,\n redirections,\n queryTagging\n }\n) => {\n if (state.isAppendResults) {\n commit('appendResults', results);\n } else {\n commit('setResults', results);\n commit('setBanners', banners ?? []);\n commit('setPromoteds', promoteds ?? []);\n commit('setRedirections', redirections ?? []);\n }\n\n commit('setPartialResults', partialResults ?? []);\n\n if (facets) {\n commit('setFacets', facets);\n }\n\n if (queryTagging) {\n commit('setQueryTagging', queryTagging);\n }\n commit('setTotalResults', totalResults);\n commit('setSpellcheck', spellcheck ?? '');\n};\n"],"names":[],"mappings":"AAEA;;;;;;;;;MASa,kBAAkB,GAAwD,CACrF,EAAE,MAAM,EAAE,KAAK,EAAE,EACjB,EACE,OAAO,EACP,cAAc,EACd,MAAM,EACN,OAAO,EACP,SAAS,EACT,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,YAAY,EACb;IAED,IAAI,KAAK,CAAC,eAAe,EAAE;QACzB,MAAM,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC;KAClC;SAAM;QACL,MAAM,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;QAC9B,MAAM,CAAC,YAAY,EAAE,OAAO,IAAI,EAAE,CAAC,CAAC;QACpC,MAAM,CAAC,cAAc,EAAE,SAAS,IAAI,EAAE,CAAC,CAAC;QACxC,MAAM,CAAC,iBAAiB,EAAE,YAAY,IAAI,EAAE,CAAC,CAAC;KAC/C;IAED,MAAM,CAAC,mBAAmB,EAAE,cAAc,IAAI,EAAE,CAAC,CAAC;IAElD,IAAI,MAAM,EAAE;QACV,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;KAC7B;IAED,IAAI,YAAY,EAAE;QAChB,MAAM,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC;KACzC;IACD,MAAM,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC;IACxC,MAAM,CAAC,eAAe,EAAE,UAAU,IAAI,EAAE,CAAC,CAAC;AAC5C;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empathyco/x-components",
3
- "version": "3.0.0-alpha.96",
3
+ "version": "3.0.0-alpha.97",
4
4
  "description": "Empathy X Components",
5
5
  "author": "Empathy Systems Corporation S.L.",
6
6
  "license": "Apache-2.0",
@@ -59,12 +59,12 @@
59
59
  "cypress:open:component": "cypress open-ct"
60
60
  },
61
61
  "dependencies": {
62
- "@empathyco/x-adapter": "^7.0.0-alpha.29",
63
- "@empathyco/x-deep-merge": "^1.3.0-alpha.14",
62
+ "@empathyco/x-adapter": "^7.0.0-alpha.30",
63
+ "@empathyco/x-deep-merge": "^1.3.0-alpha.15",
64
64
  "@empathyco/x-logger": "^1.2.0-alpha.3",
65
65
  "@empathyco/x-storage-service": "^2.0.0-alpha.2",
66
- "@empathyco/x-types": "^10.0.0-alpha.22",
67
- "@empathyco/x-utils": "^1.0.0-alpha.0",
66
+ "@empathyco/x-types": "^10.0.0-alpha.23",
67
+ "@empathyco/x-utils": "^1.0.0-alpha.1",
68
68
  "@types/resize-observer-browser": "~0.1.5",
69
69
  "reflect-metadata": "~0.1.13",
70
70
  "rxjs": "~7.4.0",
@@ -125,5 +125,5 @@
125
125
  "access": "public",
126
126
  "directory": "dist"
127
127
  },
128
- "gitHead": "493d82efa77d1c84e7806e6ad8b47cbe99d663d4"
128
+ "gitHead": "bba3b1ec059a5f45e743ae51aa49d8de5e4ec271"
129
129
  }
@@ -22118,7 +22118,7 @@
22118
22118
  {
22119
22119
  "kind": "Interface",
22120
22120
  "canonicalReference": "@empathyco/x-components!InternalSearchRequest:interface",
22121
- "docComment": "/**\n * An internal search request containing the page used to calculate the start and rows properties of a {@link @empathyco/x-adapter#SearchRequest}.\n *\n * @public\n */\n",
22121
+ "docComment": "/**\n * An internal search request containing the page used to calculate the start and rows properties of a {@link @empathyco/x-types#SearchRequest}.\n *\n * @public\n */\n",
22122
22122
  "excerptTokens": [
22123
22123
  {
22124
22124
  "kind": "Content",
@@ -34362,7 +34362,7 @@
34362
34362
  {
34363
34363
  "kind": "Variable",
34364
34364
  "canonicalReference": "@empathyco/x-components!saveSearchResponse:var",
34365
- "docComment": "/**\n * Default implementation for the {@link SearchActions.saveSearchResponse}.\n *\n * @param context - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions, provided by Vuex.\n *\n * @param response - The {@link @empathyco/x-adapter#SearchResponse} to save.\n *\n * @public\n */\n",
34365
+ "docComment": "/**\n * Default implementation for the {@link SearchActions.saveSearchResponse}.\n *\n * @param context - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions, provided by Vuex.\n *\n * @param response - The {@link @empathyco/x-types#SearchResponse} to save.\n *\n * @public\n */\n",
34366
34366
  "excerptTokens": [
34367
34367
  {
34368
34368
  "kind": "Content",
@@ -36001,7 +36001,7 @@
36001
36001
  {
36002
36002
  "kind": "MethodSignature",
36003
36003
  "canonicalReference": "@empathyco/x-components!SearchActions#saveSearchResponse:member(1)",
36004
- "docComment": "/**\n * Saves the {@link @empathyco/x-adapter#SearchResponse}.\n *\n * @param response - The {@link @empathyco/x-adapter#SearchResponse} to save.\n */\n",
36004
+ "docComment": "/**\n * Saves the {@link @empathyco/x-types#SearchResponse}.\n *\n * @param response - The {@link @empathyco/x-types#SearchResponse} to save.\n */\n",
36005
36005
  "excerptTokens": [
36006
36006
  {
36007
36007
  "kind": "Content",