@empathyco/x-components 8.15.0 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/browse/index.js +1 -2
  3. package/core/index.js +0 -1
  4. package/core/index.js.map +1 -1
  5. package/docs/API-reference/api/x-components.browseactions.md +0 -19
  6. package/docs/API-reference/api/x-components.browsemutations.md +0 -19
  7. package/docs/API-reference/api/x-components.gethashfromquerypreviewinfo.md +72 -0
  8. package/docs/API-reference/api/x-components.gethashfromquerypreviewitem.md +56 -0
  9. package/docs/API-reference/api/x-components.md +22 -121
  10. package/docs/API-reference/api/x-components.queriespreviewactions.md +0 -19
  11. package/docs/API-reference/api/x-components.queriespreviewmutations.md +0 -19
  12. package/docs/API-reference/api/x-components.recommendationsactions.md +0 -38
  13. package/docs/API-reference/api/x-components.recommendationsmutations.md +0 -19
  14. package/docs/API-reference/api/x-components.searchactions.md +0 -38
  15. package/docs/API-reference/api/x-components.searchmutations.md +0 -38
  16. package/js/index.js +4 -7
  17. package/js/index.js.map +1 -1
  18. package/js/x-modules/browse/store/module.js +0 -6
  19. package/js/x-modules/browse/store/module.js.map +1 -1
  20. package/js/x-modules/browse/wiring.js +1 -8
  21. package/js/x-modules/browse/wiring.js.map +1 -1
  22. package/js/x-modules/facets/wiring.js +1 -0
  23. package/js/x-modules/facets/wiring.js.map +1 -1
  24. package/js/x-modules/queries-preview/store/module.js +0 -9
  25. package/js/x-modules/queries-preview/store/module.js.map +1 -1
  26. package/js/x-modules/queries-preview/wiring.js +2 -11
  27. package/js/x-modules/queries-preview/wiring.js.map +1 -1
  28. package/js/x-modules/recommendations/store/module.js +0 -7
  29. package/js/x-modules/recommendations/store/module.js.map +1 -1
  30. package/js/x-modules/recommendations/wiring.js +0 -9
  31. package/js/x-modules/recommendations/wiring.js.map +1 -1
  32. package/js/x-modules/search/store/module.js +2 -17
  33. package/js/x-modules/search/store/module.js.map +1 -1
  34. package/js/x-modules/search/wiring.js +2 -18
  35. package/js/x-modules/search/wiring.js.map +1 -1
  36. package/package.json +2 -2
  37. package/queries-preview/index.js +2 -1
  38. package/report/x-components.api.json +143 -1166
  39. package/report/x-components.api.md +8 -70
  40. package/search/index.js +1 -3
  41. package/types/src/services/index.d.ts +0 -1
  42. package/types/src/services/index.d.ts.map +1 -1
  43. package/types/src/services/services.types.d.ts +0 -21
  44. package/types/src/services/services.types.d.ts.map +1 -1
  45. package/types/src/x-modules/browse/store/actions/index.d.ts +0 -1
  46. package/types/src/x-modules/browse/store/actions/index.d.ts.map +1 -1
  47. package/types/src/x-modules/browse/store/module.d.ts.map +1 -1
  48. package/types/src/x-modules/browse/store/types.d.ts +0 -12
  49. package/types/src/x-modules/browse/store/types.d.ts.map +1 -1
  50. package/types/src/x-modules/browse/wiring.d.ts +0 -7
  51. package/types/src/x-modules/browse/wiring.d.ts.map +1 -1
  52. package/types/src/x-modules/facets/wiring.d.ts +1 -0
  53. package/types/src/x-modules/facets/wiring.d.ts.map +1 -1
  54. package/types/src/x-modules/queries-preview/index.d.ts +1 -0
  55. package/types/src/x-modules/queries-preview/index.d.ts.map +1 -1
  56. package/types/src/x-modules/queries-preview/store/module.d.ts.map +1 -1
  57. package/types/src/x-modules/queries-preview/store/types.d.ts +0 -17
  58. package/types/src/x-modules/queries-preview/store/types.d.ts.map +1 -1
  59. package/types/src/x-modules/queries-preview/wiring.d.ts +0 -9
  60. package/types/src/x-modules/queries-preview/wiring.d.ts.map +1 -1
  61. package/types/src/x-modules/recommendations/store/module.d.ts.map +1 -1
  62. package/types/src/x-modules/recommendations/store/types.d.ts +0 -17
  63. package/types/src/x-modules/recommendations/store/types.d.ts.map +1 -1
  64. package/types/src/x-modules/recommendations/wiring.d.ts +0 -3
  65. package/types/src/x-modules/recommendations/wiring.d.ts.map +1 -1
  66. package/types/src/x-modules/search/store/actions/index.d.ts +0 -2
  67. package/types/src/x-modules/search/store/actions/index.d.ts.map +1 -1
  68. package/types/src/x-modules/search/store/module.d.ts.map +1 -1
  69. package/types/src/x-modules/search/store/types.d.ts +0 -24
  70. package/types/src/x-modules/search/store/types.d.ts.map +1 -1
  71. package/types/src/x-modules/search/wiring.d.ts +0 -16
  72. package/types/src/x-modules/search/wiring.d.ts.map +1 -1
  73. package/docs/API-reference/api/x-components.browseactions.fetchandsaveresultsenrichment.md +0 -13
  74. package/docs/API-reference/api/x-components.browsemutations.updateresultsfromenrichment.md +0 -13
  75. package/docs/API-reference/api/x-components.cancelfetchandsavepartialresultsenrichment.md +0 -17
  76. package/docs/API-reference/api/x-components.cancelfetchandsaveresultsenrichment.md +0 -17
  77. package/docs/API-reference/api/x-components.defaultresultsenrichmentservice._constructor_.md +0 -13
  78. package/docs/API-reference/api/x-components.defaultresultsenrichmentservice.fetchresults.md +0 -52
  79. package/docs/API-reference/api/x-components.defaultresultsenrichmentservice.instance.md +0 -13
  80. package/docs/API-reference/api/x-components.defaultresultsenrichmentservice.md +0 -164
  81. package/docs/API-reference/api/x-components.defaultresultsenrichmentservice.store.md +0 -11
  82. package/docs/API-reference/api/x-components.defaultresultsenrichmentservice.updateresults.md +0 -66
  83. package/docs/API-reference/api/x-components.fetchandsavebrowseresultsenrichment.md +0 -66
  84. package/docs/API-reference/api/x-components.fetchandsavebrowseresultsenrichmentwire.md +0 -13
  85. package/docs/API-reference/api/x-components.fetchandsavepartialresultsenrichment.md +0 -66
  86. package/docs/API-reference/api/x-components.fetchandsavepartialresultsenrichmentwire.md +0 -13
  87. package/docs/API-reference/api/x-components.fetchandsavequerypreviewresultsenrichmentwire.md +0 -13
  88. package/docs/API-reference/api/x-components.fetchandsaveresultsenrichment.md +0 -66
  89. package/docs/API-reference/api/x-components.fetchandsaveresultsenrichmentwire.md +0 -13
  90. package/docs/API-reference/api/x-components.queriespreviewactions.fetchandsavequerypreviewresultsenrichment.md +0 -13
  91. package/docs/API-reference/api/x-components.queriespreviewmutations.updatequerypreviewresultsfromenrichment.md +0 -16
  92. package/docs/API-reference/api/x-components.recommendationsactions.cancelfetchandsaverecommendationsenrichment.md +0 -13
  93. package/docs/API-reference/api/x-components.recommendationsactions.fetchandsaverecommendationsenrichment.md +0 -13
  94. package/docs/API-reference/api/x-components.recommendationsmutations.updaterecommendationsfromenrichment.md +0 -13
  95. package/docs/API-reference/api/x-components.resultsenrichmentservice.fetchresults.md +0 -13
  96. package/docs/API-reference/api/x-components.resultsenrichmentservice.md +0 -77
  97. package/docs/API-reference/api/x-components.resultsenrichmentservice.updateresults.md +0 -13
  98. package/docs/API-reference/api/x-components.searchactions.fetchandsavepartialresultsenrichment.md +0 -13
  99. package/docs/API-reference/api/x-components.searchactions.fetchandsaveresultsenrichment.md +0 -13
  100. package/docs/API-reference/api/x-components.searchmutations.updatepartialresultsfromenrichment.md +0 -13
  101. package/docs/API-reference/api/x-components.searchmutations.updateresultsfromenrichment.md +0 -13
  102. package/js/services/results-enrichment.service.js +0 -37
  103. package/js/services/results-enrichment.service.js.map +0 -1
  104. package/js/x-modules/browse/store/actions/fetch-and-save-results-enrichment.action.js +0 -21
  105. package/js/x-modules/browse/store/actions/fetch-and-save-results-enrichment.action.js.map +0 -1
  106. package/js/x-modules/queries-preview/store/actions/fetch-and-save-query-preview-results-enrichment.action.js +0 -21
  107. package/js/x-modules/queries-preview/store/actions/fetch-and-save-query-preview-results-enrichment.action.js.map +0 -1
  108. package/js/x-modules/recommendations/store/actions/fetch-and-save-recommendations-enrichment.action.js +0 -30
  109. package/js/x-modules/recommendations/store/actions/fetch-and-save-recommendations-enrichment.action.js.map +0 -1
  110. package/js/x-modules/search/store/actions/fetch-and-save-partial-results-enrichment.action.js +0 -33
  111. package/js/x-modules/search/store/actions/fetch-and-save-partial-results-enrichment.action.js.map +0 -1
  112. package/js/x-modules/search/store/actions/fetch-and-save-results-enrichment.action.js +0 -28
  113. package/js/x-modules/search/store/actions/fetch-and-save-results-enrichment.action.js.map +0 -1
  114. package/types/src/services/results-enrichment.service.d.ts +0 -31
  115. package/types/src/services/results-enrichment.service.d.ts.map +0 -1
  116. package/types/src/x-modules/browse/store/actions/fetch-and-save-results-enrichment.action.d.ts +0 -17
  117. package/types/src/x-modules/browse/store/actions/fetch-and-save-results-enrichment.action.d.ts.map +0 -1
  118. package/types/src/x-modules/queries-preview/store/actions/fetch-and-save-query-preview-results-enrichment.action.d.ts +0 -3
  119. package/types/src/x-modules/queries-preview/store/actions/fetch-and-save-query-preview-results-enrichment.action.d.ts.map +0 -1
  120. package/types/src/x-modules/recommendations/store/actions/fetch-and-save-recommendations-enrichment.action.d.ts +0 -17
  121. package/types/src/x-modules/recommendations/store/actions/fetch-and-save-recommendations-enrichment.action.d.ts.map +0 -1
  122. package/types/src/x-modules/search/store/actions/fetch-and-save-partial-results-enrichment.action.d.ts +0 -17
  123. package/types/src/x-modules/search/store/actions/fetch-and-save-partial-results-enrichment.action.d.ts.map +0 -1
  124. package/types/src/x-modules/search/store/actions/fetch-and-save-results-enrichment.action.d.ts +0 -17
  125. package/types/src/x-modules/search/store/actions/fetch-and-save-results-enrichment.action.d.ts.map +0 -1
@@ -15194,42 +15194,6 @@
15194
15194
  "endIndex": 4
15195
15195
  }
15196
15196
  },
15197
- {
15198
- "kind": "PropertySignature",
15199
- "canonicalReference": "@empathyco/x-components!BrowseActions#fetchAndSaveResultsEnrichment:member",
15200
- "docComment": "/**\n * Requests and stores the enrichment results for the results.\n *\n * @param results - The results.\n */\n",
15201
- "excerptTokens": [
15202
- {
15203
- "kind": "Content",
15204
- "text": "fetchAndSaveResultsEnrichment: "
15205
- },
15206
- {
15207
- "kind": "Content",
15208
- "text": "(results: "
15209
- },
15210
- {
15211
- "kind": "Reference",
15212
- "text": "Result",
15213
- "canonicalReference": "@empathyco/x-components!Result:interface"
15214
- },
15215
- {
15216
- "kind": "Content",
15217
- "text": "[]) => void"
15218
- },
15219
- {
15220
- "kind": "Content",
15221
- "text": ";"
15222
- }
15223
- ],
15224
- "isReadonly": false,
15225
- "isOptional": false,
15226
- "releaseTag": "Public",
15227
- "name": "fetchAndSaveResultsEnrichment",
15228
- "propertyTypeTokenRange": {
15229
- "startIndex": 1,
15230
- "endIndex": 4
15231
- }
15232
- },
15233
15197
  {
15234
15198
  "kind": "PropertySignature",
15235
15199
  "canonicalReference": "@empathyco/x-components!BrowseActions#fetchBrowseResponse:member",
@@ -16333,33 +16297,6 @@
16333
16297
  "startIndex": 1,
16334
16298
  "endIndex": 10
16335
16299
  }
16336
- },
16337
- {
16338
- "kind": "PropertySignature",
16339
- "canonicalReference": "@empathyco/x-components!BrowseMutations#updateResultsFromEnrichment:member",
16340
- "docComment": "/**\n * Updates the results with the enrichment results.\n *\n * @param enrichmentResults - The enrichment results.\n */\n",
16341
- "excerptTokens": [
16342
- {
16343
- "kind": "Content",
16344
- "text": "updateResultsFromEnrichment: "
16345
- },
16346
- {
16347
- "kind": "Content",
16348
- "text": "(enrichmentResults: any[]) => void"
16349
- },
16350
- {
16351
- "kind": "Content",
16352
- "text": ";"
16353
- }
16354
- ],
16355
- "isReadonly": false,
16356
- "isOptional": false,
16357
- "releaseTag": "Public",
16358
- "name": "updateResultsFromEnrichment",
16359
- "propertyTypeTokenRange": {
16360
- "startIndex": 1,
16361
- "endIndex": 2
16362
- }
16363
16300
  }
16364
16301
  ],
16365
16302
  "extendsTokenRanges": [
@@ -17723,30 +17660,6 @@
17723
17660
  "parameters": [],
17724
17661
  "name": "cancelFetchAndSaveNextQueries"
17725
17662
  },
17726
- {
17727
- "kind": "Function",
17728
- "canonicalReference": "@empathyco/x-components!cancelFetchAndSavePartialResultsEnrichment:function(1)",
17729
- "docComment": "/**\n * Default implementation for {@link SearchActions.cancelFetchAndSavePartialResultsEnrichment} action.\n *\n * @public\n */\n",
17730
- "excerptTokens": [
17731
- {
17732
- "kind": "Content",
17733
- "text": "cancelFetchAndSavePartialResultsEnrichment: () => "
17734
- },
17735
- {
17736
- "kind": "Content",
17737
- "text": "void"
17738
- }
17739
- ],
17740
- "fileUrlPath": "src/x-modules/search/store/actions/fetch-and-save-partial-results-enrichment.action.ts",
17741
- "returnTypeTokenRange": {
17742
- "startIndex": 1,
17743
- "endIndex": 2
17744
- },
17745
- "releaseTag": "Public",
17746
- "overloadIndex": 1,
17747
- "parameters": [],
17748
- "name": "cancelFetchAndSavePartialResultsEnrichment"
17749
- },
17750
17663
  {
17751
17664
  "kind": "Function",
17752
17665
  "canonicalReference": "@empathyco/x-components!cancelFetchAndSavePopularSearches:function(1)",
@@ -17895,30 +17808,6 @@
17895
17808
  "endIndex": 3
17896
17809
  }
17897
17810
  },
17898
- {
17899
- "kind": "Function",
17900
- "canonicalReference": "@empathyco/x-components!cancelFetchAndSaveResultsEnrichment:function(1)",
17901
- "docComment": "/**\n * Default implementation for {@link SearchActions.cancelFetchAndSaveResultsEnrichment} action.\n *\n * @public\n */\n",
17902
- "excerptTokens": [
17903
- {
17904
- "kind": "Content",
17905
- "text": "cancelFetchAndSaveResultsEnrichment: () => "
17906
- },
17907
- {
17908
- "kind": "Content",
17909
- "text": "void"
17910
- }
17911
- ],
17912
- "fileUrlPath": "src/x-modules/search/store/actions/fetch-and-save-results-enrichment.action.ts",
17913
- "returnTypeTokenRange": {
17914
- "startIndex": 1,
17915
- "endIndex": 2
17916
- },
17917
- "releaseTag": "Public",
17918
- "overloadIndex": 1,
17919
- "parameters": [],
17920
- "name": "cancelFetchAndSaveResultsEnrichment"
17921
- },
17922
17811
  {
17923
17812
  "kind": "Function",
17924
17813
  "canonicalReference": "@empathyco/x-components!cancelFetchAndSaveSearchResponse:function(1)",
@@ -22658,256 +22547,6 @@
22658
22547
  }
22659
22548
  ]
22660
22549
  },
22661
- {
22662
- "kind": "Class",
22663
- "canonicalReference": "@empathyco/x-components!DefaultResultsEnrichmentService:class",
22664
- "docComment": "/**\n * Default implementation for the {@link ResultsEnrichmentService}.\n *\n * @public\n */\n",
22665
- "excerptTokens": [
22666
- {
22667
- "kind": "Content",
22668
- "text": "export declare class DefaultResultsEnrichmentService implements "
22669
- },
22670
- {
22671
- "kind": "Reference",
22672
- "text": "ResultsEnrichmentService",
22673
- "canonicalReference": "@empathyco/x-components!ResultsEnrichmentService:interface"
22674
- },
22675
- {
22676
- "kind": "Content",
22677
- "text": " "
22678
- }
22679
- ],
22680
- "fileUrlPath": "src/services/results-enrichment.service.ts",
22681
- "releaseTag": "Public",
22682
- "isAbstract": false,
22683
- "name": "DefaultResultsEnrichmentService",
22684
- "preserveMemberOrder": false,
22685
- "members": [
22686
- {
22687
- "kind": "Constructor",
22688
- "canonicalReference": "@empathyco/x-components!DefaultResultsEnrichmentService:constructor(1)",
22689
- "docComment": "/**\n * Constructs a new instance of the `DefaultResultsEnrichmentService` class\n */\n",
22690
- "excerptTokens": [
22691
- {
22692
- "kind": "Content",
22693
- "text": "constructor();"
22694
- }
22695
- ],
22696
- "releaseTag": "Public",
22697
- "isProtected": false,
22698
- "overloadIndex": 1,
22699
- "parameters": []
22700
- },
22701
- {
22702
- "kind": "Method",
22703
- "canonicalReference": "@empathyco/x-components!DefaultResultsEnrichmentService#fetchResults:member(1)",
22704
- "docComment": "/**\n * Fetches the enrichment results.\n *\n * @param results - The results to fetch the enrichment results for.\n */\n",
22705
- "excerptTokens": [
22706
- {
22707
- "kind": "Content",
22708
- "text": "fetchResults(_: "
22709
- },
22710
- {
22711
- "kind": "Reference",
22712
- "text": "Result",
22713
- "canonicalReference": "@empathyco/x-components!Result:interface"
22714
- },
22715
- {
22716
- "kind": "Content",
22717
- "text": "[]"
22718
- },
22719
- {
22720
- "kind": "Content",
22721
- "text": "): "
22722
- },
22723
- {
22724
- "kind": "Reference",
22725
- "text": "Promise",
22726
- "canonicalReference": "!Promise:interface"
22727
- },
22728
- {
22729
- "kind": "Content",
22730
- "text": "<any[]>"
22731
- },
22732
- {
22733
- "kind": "Content",
22734
- "text": ";"
22735
- }
22736
- ],
22737
- "isStatic": false,
22738
- "returnTypeTokenRange": {
22739
- "startIndex": 4,
22740
- "endIndex": 6
22741
- },
22742
- "releaseTag": "Public",
22743
- "isProtected": false,
22744
- "overloadIndex": 1,
22745
- "parameters": [
22746
- {
22747
- "parameterName": "_",
22748
- "parameterTypeTokenRange": {
22749
- "startIndex": 1,
22750
- "endIndex": 3
22751
- },
22752
- "isOptional": false
22753
- }
22754
- ],
22755
- "isOptional": false,
22756
- "isAbstract": false,
22757
- "name": "fetchResults"
22758
- },
22759
- {
22760
- "kind": "Property",
22761
- "canonicalReference": "@empathyco/x-components!DefaultResultsEnrichmentService.instance:member",
22762
- "docComment": "/**\n * Global instance of the {@link ResultsEnrichmentService}.\n */\n",
22763
- "excerptTokens": [
22764
- {
22765
- "kind": "Content",
22766
- "text": "static instance: "
22767
- },
22768
- {
22769
- "kind": "Reference",
22770
- "text": "ResultsEnrichmentService",
22771
- "canonicalReference": "@empathyco/x-components!ResultsEnrichmentService:interface"
22772
- },
22773
- {
22774
- "kind": "Content",
22775
- "text": ";"
22776
- }
22777
- ],
22778
- "isReadonly": false,
22779
- "isOptional": false,
22780
- "releaseTag": "Public",
22781
- "name": "instance",
22782
- "propertyTypeTokenRange": {
22783
- "startIndex": 1,
22784
- "endIndex": 2
22785
- },
22786
- "isStatic": true,
22787
- "isProtected": false,
22788
- "isAbstract": false
22789
- },
22790
- {
22791
- "kind": "Property",
22792
- "canonicalReference": "@empathyco/x-components!DefaultResultsEnrichmentService#store:member",
22793
- "docComment": "",
22794
- "excerptTokens": [
22795
- {
22796
- "kind": "Content",
22797
- "text": "protected get store(): "
22798
- },
22799
- {
22800
- "kind": "Reference",
22801
- "text": "Store",
22802
- "canonicalReference": "vuex!Store:class"
22803
- },
22804
- {
22805
- "kind": "Content",
22806
- "text": "<"
22807
- },
22808
- {
22809
- "kind": "Reference",
22810
- "text": "RootXStoreState",
22811
- "canonicalReference": "@empathyco/x-components!RootXStoreState:interface"
22812
- },
22813
- {
22814
- "kind": "Content",
22815
- "text": ">"
22816
- },
22817
- {
22818
- "kind": "Content",
22819
- "text": ";"
22820
- }
22821
- ],
22822
- "isReadonly": true,
22823
- "isOptional": false,
22824
- "releaseTag": "Public",
22825
- "name": "store",
22826
- "propertyTypeTokenRange": {
22827
- "startIndex": 1,
22828
- "endIndex": 5
22829
- },
22830
- "isStatic": false,
22831
- "isProtected": true,
22832
- "isAbstract": false
22833
- },
22834
- {
22835
- "kind": "Method",
22836
- "canonicalReference": "@empathyco/x-components!DefaultResultsEnrichmentService#updateResults:member(1)",
22837
- "docComment": "/**\n * Updates the results with the enrichment results. Updates via mutation.\n *\n * @param results - The results to update.\n *\n * @param enrichmentResults - The enrichment results to update the results with.\n */\n",
22838
- "excerptTokens": [
22839
- {
22840
- "kind": "Content",
22841
- "text": "updateResults(_: "
22842
- },
22843
- {
22844
- "kind": "Reference",
22845
- "text": "Result",
22846
- "canonicalReference": "@empathyco/x-components!Result:interface"
22847
- },
22848
- {
22849
- "kind": "Content",
22850
- "text": "[]"
22851
- },
22852
- {
22853
- "kind": "Content",
22854
- "text": ", __: "
22855
- },
22856
- {
22857
- "kind": "Content",
22858
- "text": "any[]"
22859
- },
22860
- {
22861
- "kind": "Content",
22862
- "text": "): "
22863
- },
22864
- {
22865
- "kind": "Content",
22866
- "text": "void"
22867
- },
22868
- {
22869
- "kind": "Content",
22870
- "text": ";"
22871
- }
22872
- ],
22873
- "isStatic": false,
22874
- "returnTypeTokenRange": {
22875
- "startIndex": 6,
22876
- "endIndex": 7
22877
- },
22878
- "releaseTag": "Public",
22879
- "isProtected": false,
22880
- "overloadIndex": 1,
22881
- "parameters": [
22882
- {
22883
- "parameterName": "_",
22884
- "parameterTypeTokenRange": {
22885
- "startIndex": 1,
22886
- "endIndex": 3
22887
- },
22888
- "isOptional": false
22889
- },
22890
- {
22891
- "parameterName": "__",
22892
- "parameterTypeTokenRange": {
22893
- "startIndex": 4,
22894
- "endIndex": 5
22895
- },
22896
- "isOptional": false
22897
- }
22898
- ],
22899
- "isOptional": false,
22900
- "isAbstract": false,
22901
- "name": "updateResults"
22902
- }
22903
- ],
22904
- "implementsTokenRanges": [
22905
- {
22906
- "startIndex": 1,
22907
- "endIndex": 2
22908
- }
22909
- ]
22910
- },
22911
22550
  {
22912
22551
  "kind": "Interface",
22913
22552
  "canonicalReference": "@empathyco/x-components!DeviceActions:interface",
@@ -32027,119 +31666,6 @@
32027
31666
  "endIndex": 6
32028
31667
  }
32029
31668
  },
32030
- {
32031
- "kind": "Function",
32032
- "canonicalReference": "@empathyco/x-components!fetchAndSaveBrowseResultsEnrichment:function(1)",
32033
- "docComment": "/**\n * Default implementation for {@link BrowseActions.fetchAndSaveResultsEnrichment} action.\n *\n * @public\n */\n",
32034
- "excerptTokens": [
32035
- {
32036
- "kind": "Content",
32037
- "text": "fetchAndSaveResultsEnrichment: (context: "
32038
- },
32039
- {
32040
- "kind": "Reference",
32041
- "text": "BrowseActionContext",
32042
- "canonicalReference": "@empathyco/x-components!BrowseActionContext:type"
32043
- },
32044
- {
32045
- "kind": "Content",
32046
- "text": ", request: "
32047
- },
32048
- {
32049
- "kind": "Reference",
32050
- "text": "Result",
32051
- "canonicalReference": "@empathyco/x-components!Result:interface"
32052
- },
32053
- {
32054
- "kind": "Content",
32055
- "text": "[]"
32056
- },
32057
- {
32058
- "kind": "Content",
32059
- "text": ") => "
32060
- },
32061
- {
32062
- "kind": "Content",
32063
- "text": "void | "
32064
- },
32065
- {
32066
- "kind": "Reference",
32067
- "text": "Promise",
32068
- "canonicalReference": "!Promise:interface"
32069
- },
32070
- {
32071
- "kind": "Content",
32072
- "text": "<void>"
32073
- }
32074
- ],
32075
- "fileUrlPath": "src/x-modules/browse/store/actions/fetch-and-save-results-enrichment.action.ts",
32076
- "returnTypeTokenRange": {
32077
- "startIndex": 6,
32078
- "endIndex": 9
32079
- },
32080
- "releaseTag": "Public",
32081
- "overloadIndex": 1,
32082
- "parameters": [
32083
- {
32084
- "parameterName": "context",
32085
- "parameterTypeTokenRange": {
32086
- "startIndex": 1,
32087
- "endIndex": 2
32088
- },
32089
- "isOptional": false
32090
- },
32091
- {
32092
- "parameterName": "request",
32093
- "parameterTypeTokenRange": {
32094
- "startIndex": 3,
32095
- "endIndex": 5
32096
- },
32097
- "isOptional": false
32098
- }
32099
- ],
32100
- "name": "fetchAndSaveBrowseResultsEnrichment"
32101
- },
32102
- {
32103
- "kind": "Variable",
32104
- "canonicalReference": "@empathyco/x-components!fetchAndSaveBrowseResultsEnrichmentWire:var",
32105
- "docComment": "/**\n * Requests and stores the enrichment results for the results.\n *\n * @public\n */\n",
32106
- "excerptTokens": [
32107
- {
32108
- "kind": "Content",
32109
- "text": "fetchAndSaveBrowseResultsEnrichmentWire: "
32110
- },
32111
- {
32112
- "kind": "Content",
32113
- "text": "import(\"../../wiring\")."
32114
- },
32115
- {
32116
- "kind": "Reference",
32117
- "text": "Wire",
32118
- "canonicalReference": "@empathyco/x-components!Wire:type"
32119
- },
32120
- {
32121
- "kind": "Content",
32122
- "text": "<import(\"@empathyco/x-types\")."
32123
- },
32124
- {
32125
- "kind": "Reference",
32126
- "text": "Result",
32127
- "canonicalReference": "@empathyco/x-components!Result:interface"
32128
- },
32129
- {
32130
- "kind": "Content",
32131
- "text": "[]>"
32132
- }
32133
- ],
32134
- "fileUrlPath": "src/x-modules/browse/wiring.ts",
32135
- "isReadonly": true,
32136
- "releaseTag": "Public",
32137
- "name": "fetchAndSaveBrowseResultsEnrichmentWire",
32138
- "variableTypeTokenRange": {
32139
- "startIndex": 1,
32140
- "endIndex": 6
32141
- }
32142
- },
32143
31669
  {
32144
31670
  "kind": "Function",
32145
31671
  "canonicalReference": "@empathyco/x-components!fetchAndSaveExperienceControlsResponse:function(1)",
@@ -32708,119 +32234,6 @@
32708
32234
  "endIndex": 3
32709
32235
  }
32710
32236
  },
32711
- {
32712
- "kind": "Function",
32713
- "canonicalReference": "@empathyco/x-components!fetchAndSavePartialResultsEnrichment:function(1)",
32714
- "docComment": "/**\n * Default implementation for {@link SearchActions.fetchAndSavePartialResultsEnrichment} action.\n *\n * @public\n */\n",
32715
- "excerptTokens": [
32716
- {
32717
- "kind": "Content",
32718
- "text": "fetchAndSavePartialResultsEnrichment: (context: "
32719
- },
32720
- {
32721
- "kind": "Reference",
32722
- "text": "SearchActionContext",
32723
- "canonicalReference": "@empathyco/x-components!SearchActionContext:type"
32724
- },
32725
- {
32726
- "kind": "Content",
32727
- "text": ", request: "
32728
- },
32729
- {
32730
- "kind": "Reference",
32731
- "text": "PartialResult",
32732
- "canonicalReference": "@empathyco/x-components!PartialResult:interface"
32733
- },
32734
- {
32735
- "kind": "Content",
32736
- "text": "[]"
32737
- },
32738
- {
32739
- "kind": "Content",
32740
- "text": ") => "
32741
- },
32742
- {
32743
- "kind": "Content",
32744
- "text": "void | "
32745
- },
32746
- {
32747
- "kind": "Reference",
32748
- "text": "Promise",
32749
- "canonicalReference": "!Promise:interface"
32750
- },
32751
- {
32752
- "kind": "Content",
32753
- "text": "<void>"
32754
- }
32755
- ],
32756
- "fileUrlPath": "src/x-modules/search/store/actions/fetch-and-save-partial-results-enrichment.action.ts",
32757
- "returnTypeTokenRange": {
32758
- "startIndex": 6,
32759
- "endIndex": 9
32760
- },
32761
- "releaseTag": "Public",
32762
- "overloadIndex": 1,
32763
- "parameters": [
32764
- {
32765
- "parameterName": "context",
32766
- "parameterTypeTokenRange": {
32767
- "startIndex": 1,
32768
- "endIndex": 2
32769
- },
32770
- "isOptional": false
32771
- },
32772
- {
32773
- "parameterName": "request",
32774
- "parameterTypeTokenRange": {
32775
- "startIndex": 3,
32776
- "endIndex": 5
32777
- },
32778
- "isOptional": false
32779
- }
32780
- ],
32781
- "name": "fetchAndSavePartialResultsEnrichment"
32782
- },
32783
- {
32784
- "kind": "Variable",
32785
- "canonicalReference": "@empathyco/x-components!fetchAndSavePartialResultsEnrichmentWire:var",
32786
- "docComment": "/**\n * Requests and stores the enrichment results for the partial results.\n *\n * @public\n */\n",
32787
- "excerptTokens": [
32788
- {
32789
- "kind": "Content",
32790
- "text": "fetchAndSavePartialResultsEnrichmentWire: "
32791
- },
32792
- {
32793
- "kind": "Content",
32794
- "text": "import(\"../../wiring\")."
32795
- },
32796
- {
32797
- "kind": "Reference",
32798
- "text": "Wire",
32799
- "canonicalReference": "@empathyco/x-components!Wire:type"
32800
- },
32801
- {
32802
- "kind": "Content",
32803
- "text": "<import(\"@empathyco/x-types\")."
32804
- },
32805
- {
32806
- "kind": "Reference",
32807
- "text": "PartialResult",
32808
- "canonicalReference": "@empathyco/x-components!PartialResult:interface"
32809
- },
32810
- {
32811
- "kind": "Content",
32812
- "text": "[]>"
32813
- }
32814
- ],
32815
- "fileUrlPath": "src/x-modules/search/wiring.ts",
32816
- "isReadonly": true,
32817
- "releaseTag": "Public",
32818
- "name": "fetchAndSavePartialResultsEnrichmentWire",
32819
- "variableTypeTokenRange": {
32820
- "startIndex": 1,
32821
- "endIndex": 6
32822
- }
32823
- },
32824
32237
  {
32825
32238
  "kind": "Function",
32826
32239
  "canonicalReference": "@empathyco/x-components!fetchAndSavePopularSearches:function(1)",
@@ -32917,47 +32330,6 @@
32917
32330
  "endIndex": 3
32918
32331
  }
32919
32332
  },
32920
- {
32921
- "kind": "Variable",
32922
- "canonicalReference": "@empathyco/x-components!fetchAndSaveQueryPreviewResultsEnrichmentWire:var",
32923
- "docComment": "/**\n * Requests and stores the enrichment results for the query preview results.\n *\n * @public\n */\n",
32924
- "excerptTokens": [
32925
- {
32926
- "kind": "Content",
32927
- "text": "fetchAndSaveQueryPreviewResultsEnrichmentWire: "
32928
- },
32929
- {
32930
- "kind": "Content",
32931
- "text": "import(\"../..\")."
32932
- },
32933
- {
32934
- "kind": "Reference",
32935
- "text": "Wire",
32936
- "canonicalReference": "@empathyco/x-components!Wire:type"
32937
- },
32938
- {
32939
- "kind": "Content",
32940
- "text": "<import(\"./store\")."
32941
- },
32942
- {
32943
- "kind": "Reference",
32944
- "text": "QueryPreviewItem",
32945
- "canonicalReference": "@empathyco/x-components!QueryPreviewItem:interface"
32946
- },
32947
- {
32948
- "kind": "Content",
32949
- "text": ">"
32950
- }
32951
- ],
32952
- "fileUrlPath": "src/x-modules/queries-preview/wiring.ts",
32953
- "isReadonly": true,
32954
- "releaseTag": "Public",
32955
- "name": "fetchAndSaveQueryPreviewResultsEnrichmentWire",
32956
- "variableTypeTokenRange": {
32957
- "startIndex": 1,
32958
- "endIndex": 6
32959
- }
32960
- },
32961
32333
  {
32962
32334
  "kind": "Variable",
32963
32335
  "canonicalReference": "@empathyco/x-components!fetchAndSaveQueryPreviewWire:var",
@@ -33069,93 +32441,21 @@
33069
32441
  "isOptional": false
33070
32442
  }
33071
32443
  ],
33072
- "name": "fetchAndSaveQuerySuggestions"
33073
- },
33074
- {
33075
- "kind": "Function",
33076
- "canonicalReference": "@empathyco/x-components!fetchAndSaveRecommendations:function(1)",
33077
- "docComment": "/**\n * Default implementation for {@link RecommendationsActions.fetchAndSaveRecommendations} action.\n *\n * @public\n */\n",
33078
- "excerptTokens": [
33079
- {
33080
- "kind": "Content",
33081
- "text": "fetchAndSaveRecommendations: (context: "
33082
- },
33083
- {
33084
- "kind": "Reference",
33085
- "text": "RecommendationsActionContext",
33086
- "canonicalReference": "@empathyco/x-components!RecommendationsActionContext:type"
33087
- },
33088
- {
33089
- "kind": "Content",
33090
- "text": ", request: "
33091
- },
33092
- {
33093
- "kind": "Reference",
33094
- "text": "RecommendationsRequest",
33095
- "canonicalReference": "@empathyco/x-components!RecommendationsRequest:interface"
33096
- },
33097
- {
33098
- "kind": "Content",
33099
- "text": " | null"
33100
- },
33101
- {
33102
- "kind": "Content",
33103
- "text": ") => "
33104
- },
33105
- {
33106
- "kind": "Content",
33107
- "text": "void | "
33108
- },
33109
- {
33110
- "kind": "Reference",
33111
- "text": "Promise",
33112
- "canonicalReference": "!Promise:interface"
33113
- },
33114
- {
33115
- "kind": "Content",
33116
- "text": "<void>"
33117
- }
33118
- ],
33119
- "fileUrlPath": "src/x-modules/recommendations/store/actions/fetch-and-save-recommendations.action.ts",
33120
- "returnTypeTokenRange": {
33121
- "startIndex": 6,
33122
- "endIndex": 9
33123
- },
33124
- "releaseTag": "Public",
33125
- "overloadIndex": 1,
33126
- "parameters": [
33127
- {
33128
- "parameterName": "context",
33129
- "parameterTypeTokenRange": {
33130
- "startIndex": 1,
33131
- "endIndex": 2
33132
- },
33133
- "isOptional": false
33134
- },
33135
- {
33136
- "parameterName": "request",
33137
- "parameterTypeTokenRange": {
33138
- "startIndex": 3,
33139
- "endIndex": 5
33140
- },
33141
- "isOptional": false
33142
- }
33143
- ],
33144
- "name": "fetchAndSaveRecommendations"
32444
+ "name": "fetchAndSaveQuerySuggestions"
33145
32445
  },
33146
32446
  {
33147
32447
  "kind": "Function",
33148
- "canonicalReference": "@empathyco/x-components!fetchAndSaveRelatedPrompts:function(1)",
33149
- "docComment": "/**\n * Default implementation for {@link RelatedPromptsActions.fetchAndSaveRelatedPrompts} action.\n *\n * @public\n */\n",
32448
+ "canonicalReference": "@empathyco/x-components!fetchAndSaveRecommendations:function(1)",
32449
+ "docComment": "/**\n * Default implementation for {@link RecommendationsActions.fetchAndSaveRecommendations} action.\n *\n * @public\n */\n",
33150
32450
  "excerptTokens": [
33151
32451
  {
33152
32452
  "kind": "Content",
33153
- "text": "fetchAndSaveRelatedPrompts: (context: "
32453
+ "text": "fetchAndSaveRecommendations: (context: "
33154
32454
  },
33155
32455
  {
33156
32456
  "kind": "Reference",
33157
- "text": "RelatedPromptsActionContext",
33158
- "canonicalReference": "@empathyco/x-components!RelatedPromptsActionContext:type"
32457
+ "text": "RecommendationsActionContext",
32458
+ "canonicalReference": "@empathyco/x-components!RecommendationsActionContext:type"
33159
32459
  },
33160
32460
  {
33161
32461
  "kind": "Content",
@@ -33163,8 +32463,8 @@
33163
32463
  },
33164
32464
  {
33165
32465
  "kind": "Reference",
33166
- "text": "RelatedPromptsRequest",
33167
- "canonicalReference": "@empathyco/x-components!RelatedPromptsRequest:interface"
32466
+ "text": "RecommendationsRequest",
32467
+ "canonicalReference": "@empathyco/x-components!RecommendationsRequest:interface"
33168
32468
  },
33169
32469
  {
33170
32470
  "kind": "Content",
@@ -33188,7 +32488,7 @@
33188
32488
  "text": "<void>"
33189
32489
  }
33190
32490
  ],
33191
- "fileUrlPath": "src/x-modules/related-prompts/store/actions/fetch-and-save-related-prompts.action.ts",
32491
+ "fileUrlPath": "src/x-modules/recommendations/store/actions/fetch-and-save-recommendations.action.ts",
33192
32492
  "returnTypeTokenRange": {
33193
32493
  "startIndex": 6,
33194
32494
  "endIndex": 9
@@ -33213,21 +32513,21 @@
33213
32513
  "isOptional": false
33214
32514
  }
33215
32515
  ],
33216
- "name": "fetchAndSaveRelatedPrompts"
32516
+ "name": "fetchAndSaveRecommendations"
33217
32517
  },
33218
32518
  {
33219
32519
  "kind": "Function",
33220
- "canonicalReference": "@empathyco/x-components!fetchAndSaveRelatedTags:function(1)",
33221
- "docComment": "/**\n * Default implementation for {@link RelatedTagsActions.fetchAndSaveRelatedTags} action.\n *\n * @public\n */\n",
32520
+ "canonicalReference": "@empathyco/x-components!fetchAndSaveRelatedPrompts:function(1)",
32521
+ "docComment": "/**\n * Default implementation for {@link RelatedPromptsActions.fetchAndSaveRelatedPrompts} action.\n *\n * @public\n */\n",
33222
32522
  "excerptTokens": [
33223
32523
  {
33224
32524
  "kind": "Content",
33225
- "text": "fetchAndSaveRelatedTags: (context: "
32525
+ "text": "fetchAndSaveRelatedPrompts: (context: "
33226
32526
  },
33227
32527
  {
33228
32528
  "kind": "Reference",
33229
- "text": "RelatedTagsActionContext",
33230
- "canonicalReference": "@empathyco/x-components!RelatedTagsActionContext:type"
32529
+ "text": "RelatedPromptsActionContext",
32530
+ "canonicalReference": "@empathyco/x-components!RelatedPromptsActionContext:type"
33231
32531
  },
33232
32532
  {
33233
32533
  "kind": "Content",
@@ -33235,8 +32535,8 @@
33235
32535
  },
33236
32536
  {
33237
32537
  "kind": "Reference",
33238
- "text": "RelatedTagsRequest",
33239
- "canonicalReference": "@empathyco/x-components!RelatedTagsRequest:interface"
32538
+ "text": "RelatedPromptsRequest",
32539
+ "canonicalReference": "@empathyco/x-components!RelatedPromptsRequest:interface"
33240
32540
  },
33241
32541
  {
33242
32542
  "kind": "Content",
@@ -33260,7 +32560,7 @@
33260
32560
  "text": "<void>"
33261
32561
  }
33262
32562
  ],
33263
- "fileUrlPath": "src/x-modules/related-tags/store/actions/fetch-and-save-related-tags.action.ts",
32563
+ "fileUrlPath": "src/x-modules/related-prompts/store/actions/fetch-and-save-related-prompts.action.ts",
33264
32564
  "returnTypeTokenRange": {
33265
32565
  "startIndex": 6,
33266
32566
  "endIndex": 9
@@ -33285,62 +32585,21 @@
33285
32585
  "isOptional": false
33286
32586
  }
33287
32587
  ],
33288
- "name": "fetchAndSaveRelatedTags"
33289
- },
33290
- {
33291
- "kind": "Variable",
33292
- "canonicalReference": "@empathyco/x-components!fetchAndSaveRelatedTagsWire:var",
33293
- "docComment": "/**\n * Requests and stores the related tags.\n *\n * @public\n */\n",
33294
- "excerptTokens": [
33295
- {
33296
- "kind": "Content",
33297
- "text": "fetchAndSaveRelatedTagsWire: "
33298
- },
33299
- {
33300
- "kind": "Content",
33301
- "text": "import(\"../..\")."
33302
- },
33303
- {
33304
- "kind": "Reference",
33305
- "text": "Wire",
33306
- "canonicalReference": "@empathyco/x-components!Wire:type"
33307
- },
33308
- {
33309
- "kind": "Content",
33310
- "text": "<import(\"@empathyco/x-types\")."
33311
- },
33312
- {
33313
- "kind": "Reference",
33314
- "text": "RelatedTagsRequest",
33315
- "canonicalReference": "@empathyco/x-components!RelatedTagsRequest:interface"
33316
- },
33317
- {
33318
- "kind": "Content",
33319
- "text": " | null>"
33320
- }
33321
- ],
33322
- "fileUrlPath": "src/x-modules/related-tags/wiring.ts",
33323
- "isReadonly": true,
33324
- "releaseTag": "Public",
33325
- "name": "fetchAndSaveRelatedTagsWire",
33326
- "variableTypeTokenRange": {
33327
- "startIndex": 1,
33328
- "endIndex": 6
33329
- }
32588
+ "name": "fetchAndSaveRelatedPrompts"
33330
32589
  },
33331
32590
  {
33332
32591
  "kind": "Function",
33333
- "canonicalReference": "@empathyco/x-components!fetchAndSaveResultsEnrichment:function(1)",
33334
- "docComment": "/**\n * Default implementation for {@link SearchActions.fetchAndSaveResultsEnrichment} action.\n *\n * @public\n */\n",
32592
+ "canonicalReference": "@empathyco/x-components!fetchAndSaveRelatedTags:function(1)",
32593
+ "docComment": "/**\n * Default implementation for {@link RelatedTagsActions.fetchAndSaveRelatedTags} action.\n *\n * @public\n */\n",
33335
32594
  "excerptTokens": [
33336
32595
  {
33337
32596
  "kind": "Content",
33338
- "text": "fetchAndSaveResultsEnrichment: (context: "
32597
+ "text": "fetchAndSaveRelatedTags: (context: "
33339
32598
  },
33340
32599
  {
33341
32600
  "kind": "Reference",
33342
- "text": "SearchActionContext",
33343
- "canonicalReference": "@empathyco/x-components!SearchActionContext:type"
32601
+ "text": "RelatedTagsActionContext",
32602
+ "canonicalReference": "@empathyco/x-components!RelatedTagsActionContext:type"
33344
32603
  },
33345
32604
  {
33346
32605
  "kind": "Content",
@@ -33348,12 +32607,12 @@
33348
32607
  },
33349
32608
  {
33350
32609
  "kind": "Reference",
33351
- "text": "Result",
33352
- "canonicalReference": "@empathyco/x-components!Result:interface"
32610
+ "text": "RelatedTagsRequest",
32611
+ "canonicalReference": "@empathyco/x-components!RelatedTagsRequest:interface"
33353
32612
  },
33354
32613
  {
33355
32614
  "kind": "Content",
33356
- "text": "[]"
32615
+ "text": " | null"
33357
32616
  },
33358
32617
  {
33359
32618
  "kind": "Content",
@@ -33373,7 +32632,7 @@
33373
32632
  "text": "<void>"
33374
32633
  }
33375
32634
  ],
33376
- "fileUrlPath": "src/x-modules/search/store/actions/fetch-and-save-results-enrichment.action.ts",
32635
+ "fileUrlPath": "src/x-modules/related-tags/store/actions/fetch-and-save-related-tags.action.ts",
33377
32636
  "returnTypeTokenRange": {
33378
32637
  "startIndex": 6,
33379
32638
  "endIndex": 9
@@ -33398,20 +32657,20 @@
33398
32657
  "isOptional": false
33399
32658
  }
33400
32659
  ],
33401
- "name": "fetchAndSaveResultsEnrichment"
32660
+ "name": "fetchAndSaveRelatedTags"
33402
32661
  },
33403
32662
  {
33404
32663
  "kind": "Variable",
33405
- "canonicalReference": "@empathyco/x-components!fetchAndSaveResultsEnrichmentWire:var",
33406
- "docComment": "/**\n * Requests and stores the enrichment results for the results.\n *\n * @public\n */\n",
32664
+ "canonicalReference": "@empathyco/x-components!fetchAndSaveRelatedTagsWire:var",
32665
+ "docComment": "/**\n * Requests and stores the related tags.\n *\n * @public\n */\n",
33407
32666
  "excerptTokens": [
33408
32667
  {
33409
32668
  "kind": "Content",
33410
- "text": "fetchAndSaveResultsEnrichmentWire: "
32669
+ "text": "fetchAndSaveRelatedTagsWire: "
33411
32670
  },
33412
32671
  {
33413
32672
  "kind": "Content",
33414
- "text": "import(\"../../wiring\")."
32673
+ "text": "import(\"../..\")."
33415
32674
  },
33416
32675
  {
33417
32676
  "kind": "Reference",
@@ -33424,18 +32683,18 @@
33424
32683
  },
33425
32684
  {
33426
32685
  "kind": "Reference",
33427
- "text": "Result",
33428
- "canonicalReference": "@empathyco/x-components!Result:interface"
32686
+ "text": "RelatedTagsRequest",
32687
+ "canonicalReference": "@empathyco/x-components!RelatedTagsRequest:interface"
33429
32688
  },
33430
32689
  {
33431
32690
  "kind": "Content",
33432
- "text": "[]>"
32691
+ "text": " | null>"
33433
32692
  }
33434
32693
  ],
33435
- "fileUrlPath": "src/x-modules/search/wiring.ts",
32694
+ "fileUrlPath": "src/x-modules/related-tags/wiring.ts",
33436
32695
  "isReadonly": true,
33437
32696
  "releaseTag": "Public",
33438
- "name": "fetchAndSaveResultsEnrichmentWire",
32697
+ "name": "fetchAndSaveRelatedTagsWire",
33439
32698
  "variableTypeTokenRange": {
33440
32699
  "startIndex": 1,
33441
32700
  "endIndex": 6
@@ -35428,6 +34687,111 @@
35428
34687
  ],
35429
34688
  "name": "getGetterPath"
35430
34689
  },
34690
+ {
34691
+ "kind": "Function",
34692
+ "canonicalReference": "@empathyco/x-components!getHashFromQueryPreviewInfo:function(1)",
34693
+ "docComment": "/**\n * Creates a query hash to check if a QueryPreview has already been saved in the state.\n *\n * @param queryPreviewInfo - The {@link QueryPreviewInfo | QueryPreviewInfo} of a QueryPreview.\n *\n * @param extraParams - The extra params used in the request.\n *\n * @returns A unique id that will be used as a key to check the QueryPreview in the state.\n */\n",
34694
+ "excerptTokens": [
34695
+ {
34696
+ "kind": "Content",
34697
+ "text": "getHashFromQueryPreviewInfo: (queryPreviewInfo: "
34698
+ },
34699
+ {
34700
+ "kind": "Reference",
34701
+ "text": "QueryPreviewInfo",
34702
+ "canonicalReference": "@empathyco/x-components!QueryPreviewInfo:interface"
34703
+ },
34704
+ {
34705
+ "kind": "Content",
34706
+ "text": ", extraParams: "
34707
+ },
34708
+ {
34709
+ "kind": "Reference",
34710
+ "text": "Dictionary",
34711
+ "canonicalReference": "@empathyco/x-utils!Dictionary:type"
34712
+ },
34713
+ {
34714
+ "kind": "Content",
34715
+ "text": "<unknown>"
34716
+ },
34717
+ {
34718
+ "kind": "Content",
34719
+ "text": ") => "
34720
+ },
34721
+ {
34722
+ "kind": "Content",
34723
+ "text": "string"
34724
+ }
34725
+ ],
34726
+ "fileUrlPath": "src/x-modules/queries-preview/utils/get-hash-from-query-preview.ts",
34727
+ "returnTypeTokenRange": {
34728
+ "startIndex": 6,
34729
+ "endIndex": 7
34730
+ },
34731
+ "releaseTag": "Public",
34732
+ "overloadIndex": 1,
34733
+ "parameters": [
34734
+ {
34735
+ "parameterName": "queryPreviewInfo",
34736
+ "parameterTypeTokenRange": {
34737
+ "startIndex": 1,
34738
+ "endIndex": 2
34739
+ },
34740
+ "isOptional": false
34741
+ },
34742
+ {
34743
+ "parameterName": "extraParams",
34744
+ "parameterTypeTokenRange": {
34745
+ "startIndex": 3,
34746
+ "endIndex": 5
34747
+ },
34748
+ "isOptional": false
34749
+ }
34750
+ ],
34751
+ "name": "getHashFromQueryPreviewInfo"
34752
+ },
34753
+ {
34754
+ "kind": "Function",
34755
+ "canonicalReference": "@empathyco/x-components!getHashFromQueryPreviewItem:function(1)",
34756
+ "docComment": "/**\n * Creates a query hash to store a QueryPreview, so the same query with different filters and extra params can be saved more than once in the state.\n *\n * @param queryPreview - The {@link QueryPreviewItem | QueryPreviewItem} used in the request.\n *\n * @returns A unique id that will be used as a key to store the QueryPreviewItem in the state.\n */\n",
34757
+ "excerptTokens": [
34758
+ {
34759
+ "kind": "Content",
34760
+ "text": "getHashFromQueryPreviewItem: (queryPreview: "
34761
+ },
34762
+ {
34763
+ "kind": "Reference",
34764
+ "text": "QueryPreviewItem",
34765
+ "canonicalReference": "@empathyco/x-components!QueryPreviewItem:interface"
34766
+ },
34767
+ {
34768
+ "kind": "Content",
34769
+ "text": ") => "
34770
+ },
34771
+ {
34772
+ "kind": "Content",
34773
+ "text": "string"
34774
+ }
34775
+ ],
34776
+ "fileUrlPath": "src/x-modules/queries-preview/utils/get-hash-from-query-preview.ts",
34777
+ "returnTypeTokenRange": {
34778
+ "startIndex": 3,
34779
+ "endIndex": 4
34780
+ },
34781
+ "releaseTag": "Public",
34782
+ "overloadIndex": 1,
34783
+ "parameters": [
34784
+ {
34785
+ "parameterName": "queryPreview",
34786
+ "parameterTypeTokenRange": {
34787
+ "startIndex": 1,
34788
+ "endIndex": 2
34789
+ },
34790
+ "isOptional": false
34791
+ }
34792
+ ],
34793
+ "name": "getHashFromQueryPreviewItem"
34794
+ },
35431
34795
  {
35432
34796
  "kind": "Function",
35433
34797
  "canonicalReference": "@empathyco/x-components!getRootXComponent:function(1)",
@@ -52650,42 +52014,6 @@
52650
52014
  "endIndex": 4
52651
52015
  }
52652
52016
  },
52653
- {
52654
- "kind": "PropertySignature",
52655
- "canonicalReference": "@empathyco/x-components!QueriesPreviewActions#fetchAndSaveQueryPreviewResultsEnrichment:member",
52656
- "docComment": "/**\n * Requests and stores the enrichment results for the query preview results.\n *\n * @param queryPreviewItem - The query preview item containing results.\n */\n",
52657
- "excerptTokens": [
52658
- {
52659
- "kind": "Content",
52660
- "text": "fetchAndSaveQueryPreviewResultsEnrichment: "
52661
- },
52662
- {
52663
- "kind": "Content",
52664
- "text": "(queryPreviewItem: "
52665
- },
52666
- {
52667
- "kind": "Reference",
52668
- "text": "QueryPreviewItem",
52669
- "canonicalReference": "@empathyco/x-components!QueryPreviewItem:interface"
52670
- },
52671
- {
52672
- "kind": "Content",
52673
- "text": ") => void"
52674
- },
52675
- {
52676
- "kind": "Content",
52677
- "text": ";"
52678
- }
52679
- ],
52680
- "isReadonly": false,
52681
- "isOptional": false,
52682
- "releaseTag": "Public",
52683
- "name": "fetchAndSaveQueryPreviewResultsEnrichment",
52684
- "propertyTypeTokenRange": {
52685
- "startIndex": 1,
52686
- "endIndex": 4
52687
- }
52688
- },
52689
52017
  {
52690
52018
  "kind": "PropertySignature",
52691
52019
  "canonicalReference": "@empathyco/x-components!QueriesPreviewActions#fetchQueryPreview:member",
@@ -53135,42 +52463,6 @@
53135
52463
  "startIndex": 1,
53136
52464
  "endIndex": 4
53137
52465
  }
53138
- },
53139
- {
53140
- "kind": "PropertySignature",
53141
- "canonicalReference": "@empathyco/x-components!QueriesPreviewMutations#updateQueryPreviewResultsFromEnrichment:member",
53142
- "docComment": "/**\n * Updates the query preview results with the enrichment results.\n *\n * @param payload - Object containing the query preview item and the enrichment results.\n *\n * @param - payload.queryPreviewItem - The query preview item.\n *\n * @param - payload.enrichmentResults - The enrichment results.\n */\n",
53143
- "excerptTokens": [
53144
- {
53145
- "kind": "Content",
53146
- "text": "updateQueryPreviewResultsFromEnrichment: "
53147
- },
53148
- {
53149
- "kind": "Content",
53150
- "text": "(enrichmentPayload: {\n queryPreviewItem: "
53151
- },
53152
- {
53153
- "kind": "Reference",
53154
- "text": "QueryPreviewItem",
53155
- "canonicalReference": "@empathyco/x-components!QueryPreviewItem:interface"
53156
- },
53157
- {
53158
- "kind": "Content",
53159
- "text": ";\n enrichmentResults: any[];\n }) => void"
53160
- },
53161
- {
53162
- "kind": "Content",
53163
- "text": ";"
53164
- }
53165
- ],
53166
- "isReadonly": false,
53167
- "isOptional": false,
53168
- "releaseTag": "Public",
53169
- "name": "updateQueryPreviewResultsFromEnrichment",
53170
- "propertyTypeTokenRange": {
53171
- "startIndex": 1,
53172
- "endIndex": 4
53173
- }
53174
52466
  }
53175
52467
  ],
53176
52468
  "extendsTokenRanges": [
@@ -57228,33 +56520,6 @@
57228
56520
  "endIndex": 2
57229
56521
  }
57230
56522
  },
57231
- {
57232
- "kind": "PropertySignature",
57233
- "canonicalReference": "@empathyco/x-components!RecommendationsActions#cancelFetchAndSaveRecommendationsEnrichment:member",
57234
- "docComment": "/**\n * Cancels / interrupt {@link RecommendationsActions.fetchAndSaveRecommendationsEnrichment} synchronous promise.\n */\n",
57235
- "excerptTokens": [
57236
- {
57237
- "kind": "Content",
57238
- "text": "cancelFetchAndSaveRecommendationsEnrichment: "
57239
- },
57240
- {
57241
- "kind": "Content",
57242
- "text": "() => void"
57243
- },
57244
- {
57245
- "kind": "Content",
57246
- "text": ";"
57247
- }
57248
- ],
57249
- "isReadonly": false,
57250
- "isOptional": false,
57251
- "releaseTag": "Public",
57252
- "name": "cancelFetchAndSaveRecommendationsEnrichment",
57253
- "propertyTypeTokenRange": {
57254
- "startIndex": 1,
57255
- "endIndex": 2
57256
- }
57257
- },
57258
56523
  {
57259
56524
  "kind": "PropertySignature",
57260
56525
  "canonicalReference": "@empathyco/x-components!RecommendationsActions#fetchAndSaveRecommendations:member",
@@ -57291,42 +56556,6 @@
57291
56556
  "endIndex": 4
57292
56557
  }
57293
56558
  },
57294
- {
57295
- "kind": "PropertySignature",
57296
- "canonicalReference": "@empathyco/x-components!RecommendationsActions#fetchAndSaveRecommendationsEnrichment:member",
57297
- "docComment": "/**\n * Requests and saves the enrichment results for the recommendations.\n *\n * @param results - The recommendations.\n */\n",
57298
- "excerptTokens": [
57299
- {
57300
- "kind": "Content",
57301
- "text": "fetchAndSaveRecommendationsEnrichment: "
57302
- },
57303
- {
57304
- "kind": "Content",
57305
- "text": "(results: "
57306
- },
57307
- {
57308
- "kind": "Reference",
57309
- "text": "Result",
57310
- "canonicalReference": "@empathyco/x-components!Result:interface"
57311
- },
57312
- {
57313
- "kind": "Content",
57314
- "text": "[]) => void"
57315
- },
57316
- {
57317
- "kind": "Content",
57318
- "text": ";"
57319
- }
57320
- ],
57321
- "isReadonly": false,
57322
- "isOptional": false,
57323
- "releaseTag": "Public",
57324
- "name": "fetchAndSaveRecommendationsEnrichment",
57325
- "propertyTypeTokenRange": {
57326
- "startIndex": 1,
57327
- "endIndex": 4
57328
- }
57329
- },
57330
56559
  {
57331
56560
  "kind": "PropertySignature",
57332
56561
  "canonicalReference": "@empathyco/x-components!RecommendationsActions#fetchRecommendations:member",
@@ -57646,33 +56875,6 @@
57646
56875
  "startIndex": 1,
57647
56876
  "endIndex": 10
57648
56877
  }
57649
- },
57650
- {
57651
- "kind": "PropertySignature",
57652
- "canonicalReference": "@empathyco/x-components!RecommendationsMutations#updateRecommendationsFromEnrichment:member",
57653
- "docComment": "/**\n * Updates the recommendations with the enrichment results.\n *\n * @param enrichmentResults - The enrichment results.\n */\n",
57654
- "excerptTokens": [
57655
- {
57656
- "kind": "Content",
57657
- "text": "updateRecommendationsFromEnrichment: "
57658
- },
57659
- {
57660
- "kind": "Content",
57661
- "text": "(enrichmentResults: any[]) => void"
57662
- },
57663
- {
57664
- "kind": "Content",
57665
- "text": ";"
57666
- }
57667
- ],
57668
- "isReadonly": false,
57669
- "isOptional": false,
57670
- "releaseTag": "Public",
57671
- "name": "updateRecommendationsFromEnrichment",
57672
- "propertyTypeTokenRange": {
57673
- "startIndex": 1,
57674
- "endIndex": 2
57675
- }
57676
56878
  }
57677
56879
  ],
57678
56880
  "extendsTokenRanges": [
@@ -63570,105 +62772,6 @@
63570
62772
  "endIndex": 6
63571
62773
  }
63572
62774
  },
63573
- {
63574
- "kind": "Interface",
63575
- "canonicalReference": "@empathyco/x-components!ResultsEnrichmentService:interface",
63576
- "docComment": "/**\n * Service to handle the enrichment of the results.\n *\n * @public\n */\n",
63577
- "excerptTokens": [
63578
- {
63579
- "kind": "Content",
63580
- "text": "export interface ResultsEnrichmentService "
63581
- }
63582
- ],
63583
- "fileUrlPath": "src/services/services.types.ts",
63584
- "releaseTag": "Public",
63585
- "name": "ResultsEnrichmentService",
63586
- "preserveMemberOrder": false,
63587
- "members": [
63588
- {
63589
- "kind": "PropertySignature",
63590
- "canonicalReference": "@empathyco/x-components!ResultsEnrichmentService#fetchResults:member",
63591
- "docComment": "/**\n * Fetches the enrichment results.\n *\n * @param results - The results to fetch the enrichment results for.\n */\n",
63592
- "excerptTokens": [
63593
- {
63594
- "kind": "Content",
63595
- "text": "fetchResults: "
63596
- },
63597
- {
63598
- "kind": "Content",
63599
- "text": "(results: "
63600
- },
63601
- {
63602
- "kind": "Reference",
63603
- "text": "Result",
63604
- "canonicalReference": "@empathyco/x-components!Result:interface"
63605
- },
63606
- {
63607
- "kind": "Content",
63608
- "text": "[]) => "
63609
- },
63610
- {
63611
- "kind": "Reference",
63612
- "text": "Promise",
63613
- "canonicalReference": "!Promise:interface"
63614
- },
63615
- {
63616
- "kind": "Content",
63617
- "text": "<any[]>"
63618
- },
63619
- {
63620
- "kind": "Content",
63621
- "text": ";"
63622
- }
63623
- ],
63624
- "isReadonly": false,
63625
- "isOptional": false,
63626
- "releaseTag": "Public",
63627
- "name": "fetchResults",
63628
- "propertyTypeTokenRange": {
63629
- "startIndex": 1,
63630
- "endIndex": 6
63631
- }
63632
- },
63633
- {
63634
- "kind": "PropertySignature",
63635
- "canonicalReference": "@empathyco/x-components!ResultsEnrichmentService#updateResults:member",
63636
- "docComment": "/**\n * Updates the results with the enrichment results. Updates via mutation.\n *\n * @param results - The results to update.\n *\n * @param enrichmentResults - The enrichment results to update the results with.\n */\n",
63637
- "excerptTokens": [
63638
- {
63639
- "kind": "Content",
63640
- "text": "updateResults: "
63641
- },
63642
- {
63643
- "kind": "Content",
63644
- "text": "(results: "
63645
- },
63646
- {
63647
- "kind": "Reference",
63648
- "text": "Result",
63649
- "canonicalReference": "@empathyco/x-components!Result:interface"
63650
- },
63651
- {
63652
- "kind": "Content",
63653
- "text": "[], enrichmentResults: any[]) => void"
63654
- },
63655
- {
63656
- "kind": "Content",
63657
- "text": ";"
63658
- }
63659
- ],
63660
- "isReadonly": false,
63661
- "isOptional": false,
63662
- "releaseTag": "Public",
63663
- "name": "updateResults",
63664
- "propertyTypeTokenRange": {
63665
- "startIndex": 1,
63666
- "endIndex": 4
63667
- }
63668
- }
63669
- ],
63670
- "extendsTokenRanges": []
63671
- },
63672
62775
  {
63673
62776
  "kind": "Variable",
63674
62777
  "canonicalReference": "@empathyco/x-components!ResultsList:var",
@@ -66219,78 +65322,6 @@
66219
65322
  "endIndex": 2
66220
65323
  }
66221
65324
  },
66222
- {
66223
- "kind": "PropertySignature",
66224
- "canonicalReference": "@empathyco/x-components!SearchActions#fetchAndSavePartialResultsEnrichment:member",
66225
- "docComment": "/**\n * Requests and stores the enrichment results for the partial results.\n *\n * @param partialResults - The partial results.\n */\n",
66226
- "excerptTokens": [
66227
- {
66228
- "kind": "Content",
66229
- "text": "fetchAndSavePartialResultsEnrichment: "
66230
- },
66231
- {
66232
- "kind": "Content",
66233
- "text": "(partialResults: "
66234
- },
66235
- {
66236
- "kind": "Reference",
66237
- "text": "PartialResult",
66238
- "canonicalReference": "@empathyco/x-components!PartialResult:interface"
66239
- },
66240
- {
66241
- "kind": "Content",
66242
- "text": "[]) => void"
66243
- },
66244
- {
66245
- "kind": "Content",
66246
- "text": ";"
66247
- }
66248
- ],
66249
- "isReadonly": false,
66250
- "isOptional": false,
66251
- "releaseTag": "Public",
66252
- "name": "fetchAndSavePartialResultsEnrichment",
66253
- "propertyTypeTokenRange": {
66254
- "startIndex": 1,
66255
- "endIndex": 4
66256
- }
66257
- },
66258
- {
66259
- "kind": "PropertySignature",
66260
- "canonicalReference": "@empathyco/x-components!SearchActions#fetchAndSaveResultsEnrichment:member",
66261
- "docComment": "/**\n * Requests and stores the enrichment results for the results.\n *\n * @param results - The results.\n */\n",
66262
- "excerptTokens": [
66263
- {
66264
- "kind": "Content",
66265
- "text": "fetchAndSaveResultsEnrichment: "
66266
- },
66267
- {
66268
- "kind": "Content",
66269
- "text": "(results: "
66270
- },
66271
- {
66272
- "kind": "Reference",
66273
- "text": "Result",
66274
- "canonicalReference": "@empathyco/x-components!Result:interface"
66275
- },
66276
- {
66277
- "kind": "Content",
66278
- "text": "[]) => void"
66279
- },
66280
- {
66281
- "kind": "Content",
66282
- "text": ";"
66283
- }
66284
- ],
66285
- "isReadonly": false,
66286
- "isOptional": false,
66287
- "releaseTag": "Public",
66288
- "name": "fetchAndSaveResultsEnrichment",
66289
- "propertyTypeTokenRange": {
66290
- "startIndex": 1,
66291
- "endIndex": 4
66292
- }
66293
- },
66294
65325
  {
66295
65326
  "kind": "PropertySignature",
66296
65327
  "canonicalReference": "@empathyco/x-components!SearchActions#fetchAndSaveSearchResponse:member",
@@ -68901,33 +67932,6 @@
68901
67932
  "endIndex": 2
68902
67933
  }
68903
67934
  },
68904
- {
68905
- "kind": "PropertySignature",
68906
- "canonicalReference": "@empathyco/x-components!SearchMutations#updatePartialResultsFromEnrichment:member",
68907
- "docComment": "/**\n * Updates the partial results with the enrichment results.\n *\n * @param enrichmentResults - The enrichment results.\n */\n",
68908
- "excerptTokens": [
68909
- {
68910
- "kind": "Content",
68911
- "text": "updatePartialResultsFromEnrichment: "
68912
- },
68913
- {
68914
- "kind": "Content",
68915
- "text": "(enrichmentResults: any[]) => void"
68916
- },
68917
- {
68918
- "kind": "Content",
68919
- "text": ";"
68920
- }
68921
- ],
68922
- "isReadonly": false,
68923
- "isOptional": false,
68924
- "releaseTag": "Public",
68925
- "name": "updatePartialResultsFromEnrichment",
68926
- "propertyTypeTokenRange": {
68927
- "startIndex": 1,
68928
- "endIndex": 2
68929
- }
68930
- },
68931
67935
  {
68932
67936
  "kind": "PropertySignature",
68933
67937
  "canonicalReference": "@empathyco/x-components!SearchMutations#updateResult:member",
@@ -68990,33 +67994,6 @@
68990
67994
  "startIndex": 1,
68991
67995
  "endIndex": 10
68992
67996
  }
68993
- },
68994
- {
68995
- "kind": "PropertySignature",
68996
- "canonicalReference": "@empathyco/x-components!SearchMutations#updateResultsFromEnrichment:member",
68997
- "docComment": "/**\n * Updates the results with the enrichment results.\n *\n * @param enrichmentResults - The enrichment results.\n */\n",
68998
- "excerptTokens": [
68999
- {
69000
- "kind": "Content",
69001
- "text": "updateResultsFromEnrichment: "
69002
- },
69003
- {
69004
- "kind": "Content",
69005
- "text": "(enrichmentResults: any[]) => void"
69006
- },
69007
- {
69008
- "kind": "Content",
69009
- "text": ";"
69010
- }
69011
- ],
69012
- "isReadonly": false,
69013
- "isOptional": false,
69014
- "releaseTag": "Public",
69015
- "name": "updateResultsFromEnrichment",
69016
- "propertyTypeTokenRange": {
69017
- "startIndex": 1,
69018
- "endIndex": 2
69019
- }
69020
67997
  }
69021
67998
  ],
69022
67999
  "extendsTokenRanges": [