@coveo/quantic 3.32.0 → 3.33.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -15
- package/docs/out/quantic-docs.json +1 -1
- package/force-app/main/default/lwc/quanticAriaLive/__tests__/quanticAriaLive.test.js +106 -0
- package/force-app/main/default/lwc/quanticBreadcrumbManager/__tests__/quanticBreadcrumbManager.test.js +752 -0
- package/force-app/main/default/lwc/quanticBreadcrumbManager/e2e/fixture.ts +76 -0
- package/force-app/main/default/lwc/quanticBreadcrumbManager/e2e/pageObject.ts +282 -0
- package/force-app/main/default/lwc/quanticBreadcrumbManager/e2e/quanticBreadcrumbManager.e2e.ts +167 -0
- package/force-app/main/default/lwc/quanticCarousel/__tests__/quanticCarousel.test.js +262 -0
- package/force-app/main/default/lwc/quanticCaseClassification/__tests__/quanticCaseClassification.test.js +819 -0
- package/force-app/main/default/lwc/quanticCaseClassification/e2e/data.ts +23 -0
- package/force-app/main/default/lwc/quanticCaseClassification/e2e/fixture.ts +51 -0
- package/force-app/main/default/lwc/quanticCaseClassification/e2e/pageObject.ts +152 -0
- package/force-app/main/default/lwc/quanticCaseClassification/e2e/quanticCaseClassification.e2e.ts +269 -0
- package/force-app/main/default/lwc/quanticCategoryFacet/__tests__/quanticCategoryFacet.test.js +1183 -0
- package/force-app/main/default/lwc/quanticCategoryFacet/e2e/data.ts +27 -0
- package/force-app/main/default/lwc/quanticCategoryFacet/e2e/fixture.ts +75 -0
- package/force-app/main/default/lwc/quanticCategoryFacet/e2e/pageObject.ts +55 -0
- package/force-app/main/default/lwc/quanticCategoryFacet/e2e/quanticCategoryFacet.e2e.ts +199 -0
- package/force-app/main/default/lwc/quanticCitation/__tests__/quanticCitation.test.js +371 -0
- package/force-app/main/default/lwc/quanticColoredResultBadge/__tests__/quanticColoredResultBadge.test.js +212 -0
- package/force-app/main/default/lwc/quanticDateFacet/__tests__/quanticDateFacet.test.js +688 -0
- package/force-app/main/default/lwc/quanticDateFacet/e2e/data.ts +24 -0
- package/force-app/main/default/lwc/quanticDateFacet/e2e/fixture.ts +68 -0
- package/force-app/main/default/lwc/quanticDateFacet/e2e/pageObject.ts +27 -0
- package/force-app/main/default/lwc/quanticDateFacet/e2e/quanticDateFacet.e2e.ts +145 -0
- package/force-app/main/default/lwc/quanticDidYouMean/__tests__/quanticDidYouMean.test.js +348 -0
- package/force-app/main/default/lwc/quanticDidYouMean/e2e/data.ts +48 -0
- package/force-app/main/default/lwc/quanticDidYouMean/e2e/fixture.ts +80 -0
- package/force-app/main/default/lwc/quanticDidYouMean/e2e/pageObject.ts +173 -0
- package/force-app/main/default/lwc/quanticDidYouMean/e2e/quanticDidYouMean.e2e.ts +219 -0
- package/force-app/main/default/lwc/quanticDocumentSuggestion/__tests__/quanticDocumentSuggestion.test.js +404 -0
- package/force-app/main/default/lwc/quanticDocumentSuggestion/e2e/fixture.ts +38 -0
- package/force-app/main/default/lwc/quanticDocumentSuggestion/e2e/pageObject.ts +52 -0
- package/force-app/main/default/lwc/quanticDocumentSuggestion/e2e/quanticDocumentSuggestion.e2e.ts +102 -0
- package/force-app/main/default/lwc/quanticFacet/__tests__/quanticFacet.test.js +1105 -0
- package/force-app/main/default/lwc/quanticFacet/e2e/data.ts +21 -0
- package/force-app/main/default/lwc/quanticFacet/e2e/fixture.ts +73 -0
- package/force-app/main/default/lwc/quanticFacet/e2e/pageObject.ts +67 -0
- package/force-app/main/default/lwc/quanticFacet/e2e/quanticFacet.e2e.ts +208 -0
- package/force-app/main/default/lwc/quanticFacetCaption/__tests__/quanticFacetCaption.test.js +28 -0
- package/force-app/main/default/lwc/quanticFacetManager/__tests__/quanticFacetManager.test.js +178 -0
- package/force-app/main/default/lwc/quanticFacetManager/e2e/fixture.ts +64 -0
- package/force-app/main/default/lwc/quanticFacetManager/e2e/pageObject.ts +23 -0
- package/force-app/main/default/lwc/quanticFacetManager/e2e/quanticFacetManager.e2e.ts +82 -0
- package/force-app/main/default/lwc/quanticFeedback/__tests__/quanticFeedback.test.js +392 -0
- package/force-app/main/default/lwc/quanticFeedbackModal/__tests__/quanticFeedbackModal.test.js +448 -0
- package/force-app/main/default/lwc/quanticFeedbackModalQna/__tests__/quanticFeedbackModalQna.test.js +298 -0
- package/force-app/main/default/lwc/quanticFoldedResultList/__tests__/quanticFoldedResultList.test.js +323 -0
- package/force-app/main/default/lwc/quanticFoldedResultList/e2e/fixture.ts +70 -0
- package/force-app/main/default/lwc/quanticFoldedResultList/e2e/pageObject.ts +81 -0
- package/force-app/main/default/lwc/quanticFoldedResultList/e2e/quanticFoldedResultList.e2e.ts +69 -0
- package/force-app/main/default/lwc/quanticGeneratedAnswer/__tests__/quanticGeneratedAnswer.test.js +1158 -0
- package/force-app/main/default/lwc/quanticGeneratedAnswer/e2e/data.ts +56 -0
- package/force-app/main/default/lwc/quanticGeneratedAnswer/e2e/fixture.ts +185 -0
- package/force-app/main/default/lwc/quanticGeneratedAnswer/e2e/pageObject.ts +451 -0
- package/force-app/main/default/lwc/quanticGeneratedAnswer/e2e/quanticGeneratedAnswer.e2e.ts +337 -0
- package/force-app/main/default/lwc/quanticGeneratedAnswerContent/__tests__/quanticGeneratedAnswerContent.test.js +151 -0
- package/force-app/main/default/lwc/quanticHeading/__tests__/quanticHeading.test.js +71 -0
- package/force-app/main/default/lwc/quanticHeadlessLoader/__tests__/quanticHeadlessLoader.test.js +651 -0
- package/force-app/main/default/lwc/quanticInsightInterface/__tests__/quanticInsightInterface.test.js +194 -0
- package/force-app/main/default/lwc/quanticInsightInterface/quanticInsightInterface.js +1 -1
- package/force-app/main/default/lwc/quanticInsightSummary/__tests__/quanticInsightSummary.test.js +230 -0
- package/force-app/main/default/lwc/quanticModal/__tests__/quanticModal.test.js +205 -0
- package/force-app/main/default/lwc/quanticNotifications/__tests__/quanticNotifications.test.js +309 -0
- package/force-app/main/default/lwc/quanticNotifications/e2e/fixture.ts +58 -0
- package/force-app/main/default/lwc/quanticNotifications/e2e/pageObject.ts +55 -0
- package/force-app/main/default/lwc/quanticNotifications/e2e/quanticNotifications.e2e.ts +47 -0
- package/force-app/main/default/lwc/quanticNumericFacet/__tests__/quanticNumericFacet.test.js +953 -0
- package/force-app/main/default/lwc/quanticNumericFacet/e2e/data.ts +28 -0
- package/force-app/main/default/lwc/quanticNumericFacet/e2e/fixture.ts +71 -0
- package/force-app/main/default/lwc/quanticNumericFacet/e2e/pageObject.ts +59 -0
- package/force-app/main/default/lwc/quanticNumericFacet/e2e/quanticNumericFacet.e2e.ts +164 -0
- package/force-app/main/default/lwc/quanticPager/__tests__/quanticPager.test.js +430 -0
- package/force-app/main/default/lwc/quanticPager/e2e/fixture.ts +65 -0
- package/force-app/main/default/lwc/quanticPager/e2e/pageObject.ts +69 -0
- package/force-app/main/default/lwc/quanticPager/e2e/quanticPager.e2e.ts +106 -0
- package/force-app/main/default/lwc/quanticPlaceholder/__tests__/quanticPlaceholder.test.js +47 -0
- package/force-app/main/default/lwc/quanticQuickviewContent/__tests__/data/defaultTestCase.json +13 -0
- package/force-app/main/default/lwc/quanticQuickviewContent/__tests__/data/youtubeTestCase.json +14 -0
- package/force-app/main/default/lwc/quanticQuickviewContent/__tests__/quanticQuickviewContent.test.js +82 -0
- package/force-app/main/default/lwc/quanticRadioButtonsGroup/__tests__/quanticRadioButtonsGroup.test.js +273 -0
- package/force-app/main/default/lwc/quanticRecentQueriesList/__tests__/quanticRecentQueriesList.test.js +448 -0
- package/force-app/main/default/lwc/quanticRecentQueriesList/e2e/fixture.ts +42 -0
- package/force-app/main/default/lwc/quanticRecentQueriesList/e2e/pageObject.ts +55 -0
- package/force-app/main/default/lwc/quanticRecentQueriesList/e2e/quanticRecentQueriesList.e2e.ts +93 -0
- package/force-app/main/default/lwc/quanticRecentResultsList/__tests__/quanticRecentResultsList.test.js +516 -0
- package/force-app/main/default/lwc/quanticRecentResultsList/e2e/fixture.ts +42 -0
- package/force-app/main/default/lwc/quanticRecentResultsList/e2e/pageObject.ts +61 -0
- package/force-app/main/default/lwc/quanticRecentResultsList/e2e/quanticRecentResultsList.e2e.ts +48 -0
- package/force-app/main/default/lwc/quanticRecommendationList/__tests__/quanticRecommendationList.test.js +491 -0
- package/force-app/main/default/lwc/quanticRecommendationList/e2e/fixture.ts +35 -0
- package/force-app/main/default/lwc/quanticRecommendationList/e2e/pageObject.ts +52 -0
- package/force-app/main/default/lwc/quanticRecommendationList/e2e/quanticRecommendationList.e2e.ts +53 -0
- package/force-app/main/default/lwc/quanticRefineModalContent/__tests__/quanticRefineModalContent.test.js +747 -0
- package/force-app/main/default/lwc/quanticRefineToggle/__tests__/quanticRefineToggle.test.js +542 -0
- package/force-app/main/default/lwc/quanticResultAction/__tests__/quanticResultAction.test.js +262 -0
- package/force-app/main/default/lwc/quanticResultActionBar/__tests__/quanticResultActionBar.test.js +141 -0
- package/force-app/main/default/lwc/quanticResultChildren/__tests__/quanticResultChildren.test.js +340 -0
- package/force-app/main/default/lwc/quanticResultCopyToClipboard/__tests__/quanticResultCopyToClipboard.test.js +300 -0
- package/force-app/main/default/lwc/quanticResultCopyToClipboard/e2e/fixture.ts +46 -0
- package/force-app/main/default/lwc/quanticResultCopyToClipboard/e2e/pageObject.ts +49 -0
- package/force-app/main/default/lwc/quanticResultCopyToClipboard/e2e/quanticResultCopyToClipboard.e2e.ts +40 -0
- package/force-app/main/default/lwc/quanticResultDate/__tests__/quanticResultDate.test.js +144 -0
- package/force-app/main/default/lwc/quanticResultField/__tests__/quanticResultField.test.js +120 -0
- package/force-app/main/default/lwc/quanticResultHighlightedTextField/__tests__/quanticResultHighlightedTextField.test.js +209 -0
- package/force-app/main/default/lwc/quanticResultLink/__tests__/quanticResultLink.test.js +261 -0
- package/force-app/main/default/lwc/quanticResultList/__tests__/quanticResultList.test.js +342 -0
- package/force-app/main/default/lwc/quanticResultList/e2e/fixture.ts +66 -0
- package/force-app/main/default/lwc/quanticResultList/e2e/pageObject.ts +81 -0
- package/force-app/main/default/lwc/quanticResultList/e2e/quanticResultList.e2e.ts +69 -0
- package/force-app/main/default/lwc/quanticResultMultiValueText/__tests__/quanticResultMultiValueText.test.js +235 -0
- package/force-app/main/default/lwc/quanticResultNumber/__tests__/quanticResultNumber.test.js +144 -0
- package/force-app/main/default/lwc/quanticResultPrintableUri/__tests__/quanticResultPrintableUri.test.js +324 -0
- package/force-app/main/default/lwc/quanticResultQuickview/__tests__/quanticResultQuickview.test.js +301 -0
- package/force-app/main/default/lwc/quanticResultQuickview/e2e/fixture.ts +81 -0
- package/force-app/main/default/lwc/quanticResultQuickview/e2e/pageObject.ts +38 -0
- package/force-app/main/default/lwc/quanticResultQuickview/e2e/quanticResultQuickView.e2e.ts +66 -0
- package/force-app/main/default/lwc/quanticResultTemplate/__tests__/quanticResultTemplate.test.js +90 -0
- package/force-app/main/default/lwc/quanticResultText/__tests__/quanticResultText.test.js +155 -0
- package/force-app/main/default/lwc/quanticResultsPerPage/__tests__/quanticResultsPerPage.test.js +464 -0
- package/force-app/main/default/lwc/quanticResultsPerPage/e2e/fixture.ts +74 -0
- package/force-app/main/default/lwc/quanticResultsPerPage/e2e/pageObject.ts +85 -0
- package/force-app/main/default/lwc/quanticResultsPerPage/e2e/quanticResultsPerPage.e2e.ts +97 -0
- package/force-app/main/default/lwc/quanticSearchBox/__tests__/quanticSearchBox.test.js +487 -0
- package/force-app/main/default/lwc/quanticSearchBox/e2e/fixture.ts +84 -0
- package/force-app/main/default/lwc/quanticSearchBox/e2e/pageObject.ts +45 -0
- package/force-app/main/default/lwc/quanticSearchBox/e2e/quanticSearchBox.e2e.ts +159 -0
- package/force-app/main/default/lwc/quanticSearchBoxInput/__tests__/quanticSearchBoxInput.test.js +743 -0
- package/force-app/main/default/lwc/quanticSearchBoxSuggestionsList/__tests__/quanticSearchBoxSuggestionsList.test.js +571 -0
- package/force-app/main/default/lwc/quanticSearchBoxSuggestionsList/e2e/fixture.ts +110 -0
- package/force-app/main/default/lwc/quanticSearchBoxSuggestionsList/e2e/pageObject.ts +113 -0
- package/force-app/main/default/lwc/quanticSearchBoxSuggestionsList/e2e/quanticSearchBoxSuggestionsList.e2e.ts +299 -0
- package/force-app/main/default/lwc/quanticSmartSnippet/__tests__/quanticSmartSnippet.test.js +341 -0
- package/force-app/main/default/lwc/quanticSmartSnippet/e2e/data.ts +21 -0
- package/force-app/main/default/lwc/quanticSmartSnippet/e2e/fixture.ts +91 -0
- package/force-app/main/default/lwc/quanticSmartSnippet/e2e/pageObject.ts +196 -0
- package/force-app/main/default/lwc/quanticSmartSnippet/e2e/quanticSmartSnippet.e2e.ts +192 -0
- package/force-app/main/default/lwc/quanticSmartSnippetAnswer/__tests__/quanticSmartSnippetAnswer.test.js +126 -0
- package/force-app/main/default/lwc/quanticSmartSnippetSource/__tests__/quanticSmartSnippetSource.test.js +290 -0
- package/force-app/main/default/lwc/quanticSmartSnippetSuggestions/__tests__/quanticSmartSnippetSuggestions.test.js +329 -0
- package/force-app/main/default/lwc/quanticSmartSnippetSuggestions/e2e/data.ts +31 -0
- package/force-app/main/default/lwc/quanticSmartSnippetSuggestions/e2e/fixture.ts +93 -0
- package/force-app/main/default/lwc/quanticSmartSnippetSuggestions/e2e/pageObject.ts +160 -0
- package/force-app/main/default/lwc/quanticSmartSnippetSuggestions/e2e/quanticSmartSnippetSuggestions.e2e.ts +127 -0
- package/force-app/main/default/lwc/quanticSort/__tests__/quanticSort.test.js +416 -0
- package/force-app/main/default/lwc/quanticSort/e2e/fixture.ts +61 -0
- package/force-app/main/default/lwc/quanticSort/e2e/pageObject.ts +89 -0
- package/force-app/main/default/lwc/quanticSort/e2e/quanticSort.e2e.ts +91 -0
- package/force-app/main/default/lwc/quanticSourceCitations/__tests__/quanticSourceCitations.test.js +136 -0
- package/force-app/main/default/lwc/quanticStandaloneSearchBox/__tests__/quanticStandaloneSearchBox.test.js +387 -0
- package/force-app/main/default/lwc/quanticStandaloneSearchBox/e2e/fixture.ts +53 -0
- package/force-app/main/default/lwc/quanticStandaloneSearchBox/e2e/pageObject.ts +54 -0
- package/force-app/main/default/lwc/quanticStandaloneSearchBox/e2e/quanticStandaloneSearchBox.e2e.ts +72 -0
- package/force-app/main/default/lwc/quanticStatefulButton/__tests__/quanticStatefulButton.test.js +222 -0
- package/force-app/main/default/lwc/quanticSummary/__tests__/quanticSummary.test.js +244 -0
- package/force-app/main/default/lwc/quanticTab/__tests__/quanticTab.test.js +333 -0
- package/force-app/main/default/lwc/quanticTab/e2e/fixture.ts +56 -0
- package/force-app/main/default/lwc/quanticTab/e2e/pageObject.ts +68 -0
- package/force-app/main/default/lwc/quanticTab/e2e/quanticTab.e2e.ts +72 -0
- package/force-app/main/default/lwc/quanticTabBar/__tests__/quanticTabBar.test.js +331 -0
- package/force-app/main/default/lwc/quanticTabBar/e2e/fixture.ts +61 -0
- package/force-app/main/default/lwc/quanticTabBar/e2e/pageObject.ts +80 -0
- package/force-app/main/default/lwc/quanticTabBar/e2e/quanticTabBar.e2e.ts +171 -0
- package/force-app/main/default/lwc/quanticTimeframeFacet/__tests__/quanticTimeframeFacet.test.js +1037 -0
- package/force-app/main/default/lwc/quanticTimeframeFacet/e2e/fixture.ts +58 -0
- package/force-app/main/default/lwc/quanticTimeframeFacet/e2e/pageObject.ts +43 -0
- package/force-app/main/default/lwc/quanticTimeframeFacet/e2e/quanticTimeframeFacet.e2e.ts +160 -0
- package/force-app/main/default/lwc/quanticTooltip/__tests__/quanticTooltip.test.js +107 -0
- package/force-app/main/default/lwc/quanticUserAction/__tests__/quanticUserAction.test.js +427 -0
- package/force-app/main/default/lwc/quanticUserActionsSession/__tests__/quanticUserActionsSession.test.js +269 -0
- package/force-app/main/default/lwc/quanticUserActionsTimeline/__tests__/data/userActionsState.json +89 -0
- package/force-app/main/default/lwc/quanticUserActionsTimeline/__tests__/quanticUserActionsTimeline.test.js +511 -0
- package/force-app/main/default/lwc/quanticUserActionsToggle/__tests__/quanticUserActionsToggle.test.js +229 -0
- package/force-app/main/default/lwc/quanticUserActionsToggle/e2e/data.ts +32 -0
- package/force-app/main/default/lwc/quanticUserActionsToggle/e2e/fixture.ts +32 -0
- package/force-app/main/default/lwc/quanticUserActionsToggle/e2e/pageObject.ts +71 -0
- package/force-app/main/default/lwc/quanticUserActionsToggle/e2e/quanticUserActionsToggle.e2e.ts +39 -0
- package/force-app/main/default/lwc/quanticUtils/__tests__/citationAnchoringUtils.test.js +84 -0
- package/force-app/main/default/lwc/quanticUtils/__tests__/facetDependenciesUtils.test.js +92 -0
- package/force-app/main/default/lwc/quanticUtils/__tests__/markdownUtils.test.js +71 -0
- package/force-app/main/default/lwc/quanticUtils/__tests__/quanticUtils.test.js +223 -0
- package/force-app/main/default/lwc/quanticUtils/recentQueriesUtils.js +20 -12
- package/force-app/main/default/lwc/quanticViewedByCustomerBadge/__tests__/quanticViewedByCustomerBadge.test.js +131 -0
- package/force-app/main/default/staticresources/coveoheadless/case-assist/headless.js +3 -3
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/case-assist-engine/case-assist-engine.d.ts +3 -3
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-engine/commerce-engine.d.ts +16 -16
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/common-reducers.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/insight-engine/insight-engine.d.ts +5 -5
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/recommendation-engine/recommendation-engine.d.ts +4 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/search-engine/search-engine.d.ts +4 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/store.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/facets/headless-core-commerce-facet.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/headless-core-range-facet.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/recent-queries-list/headless-core-recent-queries-list.d.ts +91 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/attach-to-case/headless-attach-to-case.d.ts +2 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/attached-results/headless-attached-results.d.ts +68 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/recent-queries-list/headless-insight-recent-queries-list.d.ts +14 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/recent-queries-list/headless-recent-queries-list.d.ts +2 -79
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/actions-history/ipx-actions-history-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/advanced-search-queries/advanced-search-queries-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/analytics/search-action-cause.d.ts +9 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/attached-results/attached-results-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/attached-results/attached-results-state.d.ts +1 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/case-assist-configuration/case-assist-configuration-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/case-context/case-context-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/case-field/case-field-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/case-field/case-field-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/case-input/case-input-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/configuration/configuration-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/context/cart/cart-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/context/cart/cart-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/context/context-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/did-you-mean/did-you-mean-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/facet-search-set/commerce-facet-search-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/facet-set/facet-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/field-suggestions-order/field-suggestions-order-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/numeric-facet/manual-numeric-facet-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/instant-products/instant-products-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/pagination/pagination-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/parameters/parameters-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/product/product-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/product-listing/product-listing-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/product-listing/product-listing-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/query/query-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/query-suggest/query-suggest-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/recent-queries/recent-queries-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/recommendations/recommendations-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/recommendations/recommendations-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/search/search-actions.d.ts +4 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/search/search-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/sort/sort-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/standalone-search-box-set/standalone-search-box-set-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/standalone-search-box-set/standalone-search-box-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/triggers/triggers-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/configuration/configuration-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/context/context-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/debug/debug-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/debug/version-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/dictionary-field-context/dictionary-field-context-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/did-you-mean/did-you-mean-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/document-suggestion/document-suggestion-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/document-suggestion/document-suggestion-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/excerpt-length/excerpt-length-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facet-options/facet-options-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/automatic-facet-set/automatic-facet-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/category-facet-set/category-facet-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-order/facet-order-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-search-set/category/category-facet-search-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-search-set/generic/generic-facet-search-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-search-set/specific/specific-facet-search-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-set/facet-set-controller-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-set/facet-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/date-facet-set/date-facet-controller-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/date-facet-set/date-facet-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/numeric-facet-set/numeric-facet-controller-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/numeric-facet-set/numeric-facet-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/fields/fields-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/fields/fields-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/folding/folding-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/folding/folding-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/folding/insight-folding-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/history/history-actions.d.ts +3 -3
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/history/history-slice.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-configuration/insight-configuration-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-interface/insight-interface-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-interface/insight-interface-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-search/insight-search-actions.d.ts +5 -5
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-search/legacy/insight-search-actions.d.ts +4 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-user-actions/insight-user-actions-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-user-actions/insight-user-actions-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/instant-results/instant-results-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/pagination/pagination-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/pipeline/pipeline-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/query/query-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/query-set/query-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/query-suggest/query-suggest-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/query-suggest/query-suggest-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/question-answering/question-answering-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/recent-queries/recent-queries-insight-analytics-actions.d.ts +3 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/recent-queries/recent-queries-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/recent-results/recent-results-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/recommendation/recommendation-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/recommendation/recommendation-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/result-preview/result-preview-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/result-preview/result-preview-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/legacy/search-actions.d.ts +5 -5
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/search-actions.d.ts +6 -6
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/search-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/search-hub/search-hub-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/sort-criteria/sort-criteria-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/standalone-search-box-set/standalone-search-box-set-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/standalone-search-box-set/standalone-search-box-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/static-filter-set/static-filter-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/tab-set/tab-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/triggers/triggers-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/insight.index.d.ts +4 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/factories/build-factory.d.ts +6 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/types/fetch-static-state.d.ts +3 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/types/from-build-result.d.ts +6 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/types/hydrate-static-state.d.ts +3 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/common/access-token-manager.d.ts +19 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/common/augment-preprocess-request.d.ts +7 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/common/types/fetch-static-state.d.ts +3 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/common/types/hydrate-static-state.d.ts +3 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/types/engine.d.ts +4 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/common/access-token-manager.d.ts +19 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/common/augment-preprocess-request.d.ts +7 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/search/engine/search-engine.ssr.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/state/insight-app-state.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/test/mock-ssr-controller-definitions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/headless.js +10 -10
- package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +9 -9
- package/force-app/main/default/staticresources/coveoheadless/recommendation/headless.js +3 -3
- package/package.json +46 -44
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const insightInterfaceReducer: import("
|
|
1
|
+
export declare const insightInterfaceReducer: import("@reduxjs/toolkit").Reducer<import("./insight-interface-state.js").InsightInterfaceState> & {
|
|
2
2
|
getInitialState: () => import("./insight-interface-state.js").InsightInterfaceState;
|
|
3
3
|
};
|
|
@@ -21,7 +21,7 @@ export declare const executeSearch: import("@reduxjs/toolkit").AsyncThunk<Execut
|
|
|
21
21
|
rejectValue: import("../../api/service/insight/insight-api-client.js").InsightAPIErrorStatusResponse;
|
|
22
22
|
state: StateNeededByExecuteSearch;
|
|
23
23
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<InsightAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
24
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
24
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
25
25
|
serializedErrorType?: unknown;
|
|
26
26
|
pendingMeta?: unknown;
|
|
27
27
|
fulfilledMeta?: unknown;
|
|
@@ -31,7 +31,7 @@ export declare const fetchPage: import("@reduxjs/toolkit").AsyncThunk<ExecuteSea
|
|
|
31
31
|
rejectValue: import("../../api/service/insight/insight-api-client.js").InsightAPIErrorStatusResponse;
|
|
32
32
|
state: StateNeededByExecuteSearch;
|
|
33
33
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<InsightAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
34
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
34
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
35
35
|
serializedErrorType?: unknown;
|
|
36
36
|
pendingMeta?: unknown;
|
|
37
37
|
fulfilledMeta?: unknown;
|
|
@@ -41,7 +41,7 @@ export declare const fetchMoreResults: import("@reduxjs/toolkit").AsyncThunk<Exe
|
|
|
41
41
|
rejectValue: import("../../api/service/insight/insight-api-client.js").InsightAPIErrorStatusResponse;
|
|
42
42
|
state: StateNeededByExecuteSearch;
|
|
43
43
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<InsightAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
44
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
44
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
45
45
|
serializedErrorType?: unknown;
|
|
46
46
|
pendingMeta?: unknown;
|
|
47
47
|
fulfilledMeta?: unknown;
|
|
@@ -51,7 +51,7 @@ export declare const fetchFacetValues: import("@reduxjs/toolkit").AsyncThunk<Exe
|
|
|
51
51
|
rejectValue: import("../../api/service/insight/insight-api-client.js").InsightAPIErrorStatusResponse;
|
|
52
52
|
state: StateNeededByExecuteSearch;
|
|
53
53
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<InsightAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
54
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
54
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
55
55
|
serializedErrorType?: unknown;
|
|
56
56
|
pendingMeta?: unknown;
|
|
57
57
|
fulfilledMeta?: unknown;
|
|
@@ -62,7 +62,7 @@ export declare const fetchQuerySuggestions: import("@reduxjs/toolkit").AsyncThun
|
|
|
62
62
|
rejectValue: import("../../api/service/insight/insight-api-client.js").InsightAPIErrorStatusResponse;
|
|
63
63
|
state: StateNeededByQuerySuggest;
|
|
64
64
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<InsightAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
65
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
65
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
66
66
|
serializedErrorType?: unknown;
|
|
67
67
|
pendingMeta?: unknown;
|
|
68
68
|
fulfilledMeta?: unknown;
|
|
@@ -9,7 +9,7 @@ export declare const executeSearch: import("@reduxjs/toolkit").AsyncThunk<Execut
|
|
|
9
9
|
rejectValue: import("../../../api/service/insight/insight-api-client.js").InsightAPIErrorStatusResponse;
|
|
10
10
|
state: StateNeededByExecuteSearch;
|
|
11
11
|
extra: import("../../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../../api/service/insight/insight-api-client.js").InsightAPIClient, import("../../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
12
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
12
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
13
13
|
serializedErrorType?: unknown;
|
|
14
14
|
pendingMeta?: unknown;
|
|
15
15
|
fulfilledMeta?: unknown;
|
|
@@ -19,7 +19,7 @@ export declare const fetchPage: import("@reduxjs/toolkit").AsyncThunk<ExecuteSea
|
|
|
19
19
|
rejectValue: import("../../../api/service/insight/insight-api-client.js").InsightAPIErrorStatusResponse;
|
|
20
20
|
state: StateNeededByExecuteSearch;
|
|
21
21
|
extra: import("../../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../../api/service/insight/insight-api-client.js").InsightAPIClient, import("../../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
22
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
22
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
23
23
|
serializedErrorType?: unknown;
|
|
24
24
|
pendingMeta?: unknown;
|
|
25
25
|
fulfilledMeta?: unknown;
|
|
@@ -29,7 +29,7 @@ export declare const fetchMoreResults: import("@reduxjs/toolkit").AsyncThunk<Exe
|
|
|
29
29
|
rejectValue: import("../../../api/service/insight/insight-api-client.js").InsightAPIErrorStatusResponse;
|
|
30
30
|
state: StateNeededByExecuteSearch;
|
|
31
31
|
extra: import("../../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../../api/service/insight/insight-api-client.js").InsightAPIClient, import("../../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
32
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
32
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
33
33
|
serializedErrorType?: unknown;
|
|
34
34
|
pendingMeta?: unknown;
|
|
35
35
|
fulfilledMeta?: unknown;
|
|
@@ -39,7 +39,7 @@ export declare const fetchFacetValues: import("@reduxjs/toolkit").AsyncThunk<Exe
|
|
|
39
39
|
rejectValue: import("../../../api/service/insight/insight-api-client.js").InsightAPIErrorStatusResponse;
|
|
40
40
|
state: StateNeededByExecuteSearch;
|
|
41
41
|
extra: import("../../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../../api/service/insight/insight-api-client.js").InsightAPIClient, import("../../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
42
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
42
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
43
43
|
serializedErrorType?: unknown;
|
|
44
44
|
pendingMeta?: unknown;
|
|
45
45
|
fulfilledMeta?: unknown;
|
|
@@ -14,7 +14,7 @@ export declare const fetchUserActions: import("@reduxjs/toolkit").AsyncThunk<Fet
|
|
|
14
14
|
rejectValue: import("../../api/service/insight/insight-api-client.js").InsightAPIErrorStatusResponse;
|
|
15
15
|
state: StateNeededByFetchUserActions;
|
|
16
16
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../api/service/insight/insight-api-client.js").InsightAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
17
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
17
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
18
18
|
serializedErrorType?: unknown;
|
|
19
19
|
pendingMeta?: unknown;
|
|
20
20
|
fulfilledMeta?: unknown;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const insightUserActionsReducer: import("
|
|
1
|
+
export declare const insightUserActionsReducer: import("@reduxjs/toolkit").Reducer<import("./insight-user-actions-state.js").UserActionsState> & {
|
|
2
2
|
getInitialState: () => import("./insight-user-actions-state.js").UserActionsState;
|
|
3
3
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const instantResultsReducer: import("
|
|
1
|
+
export declare const instantResultsReducer: import("@reduxjs/toolkit").Reducer<import("./instant-results-state.js").InstantResultsState> & {
|
|
2
2
|
getInitialState: () => import("./instant-results-state.js").InstantResultsState;
|
|
3
3
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PaginationState } from './pagination-state.js';
|
|
2
|
-
export declare const paginationReducer: import("
|
|
2
|
+
export declare const paginationReducer: import("@reduxjs/toolkit").Reducer<PaginationState> & {
|
|
3
3
|
getInitialState: () => PaginationState;
|
|
4
4
|
};
|
|
5
5
|
export declare function calculateFirstResult(page: number, numberOfResults: number): number;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const queryReducer: import("
|
|
1
|
+
export declare const queryReducer: import("@reduxjs/toolkit").Reducer<import("./query-state.js").QueryState> & {
|
|
2
2
|
getInitialState: () => import("./query-state.js").QueryState;
|
|
3
3
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type QuerySetState } from './query-set-state.js';
|
|
2
|
-
export declare const querySetReducer: import("
|
|
2
|
+
export declare const querySetReducer: import("@reduxjs/toolkit").Reducer<QuerySetState> & {
|
|
3
3
|
getInitialState: () => QuerySetState;
|
|
4
4
|
};
|
|
@@ -55,7 +55,7 @@ export declare const fetchQuerySuggestions: import("@reduxjs/toolkit").AsyncThun
|
|
|
55
55
|
rejectValue: import("../../api/search/search-api-error-response.js").SearchAPIErrorWithStatusCode;
|
|
56
56
|
state: StateNeededByQuerySuggest;
|
|
57
57
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../api/search/search-api-client.js").SearchAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
58
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
58
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
59
59
|
serializedErrorType?: unknown;
|
|
60
60
|
pendingMeta?: unknown;
|
|
61
61
|
fulfilledMeta?: unknown;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type QuerySuggestSet } from './query-suggest-state.js';
|
|
2
|
-
export declare const querySuggestReducer: import("
|
|
2
|
+
export declare const querySuggestReducer: import("@reduxjs/toolkit").Reducer<QuerySuggestSet> & {
|
|
3
3
|
getInitialState: () => QuerySuggestSet;
|
|
4
4
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const questionAnsweringReducer: import("
|
|
1
|
+
export declare const questionAnsweringReducer: import("@reduxjs/toolkit").Reducer<import("./question-answering-state.js").QuestionAnsweringState> & {
|
|
2
2
|
getInitialState: () => import("./question-answering-state.js").QuestionAnsweringState;
|
|
3
3
|
};
|
|
@@ -2,7 +2,7 @@ import { type Draft as WritableDraft } from '@reduxjs/toolkit';
|
|
|
2
2
|
import type { registerRecentQueries as registerCommerceRecentQueries } from '../commerce/recent-queries/recent-queries-actions.js';
|
|
3
3
|
import { registerRecentQueries } from './recent-queries-actions.js';
|
|
4
4
|
import { type RecentQueriesState } from './recent-queries-state.js';
|
|
5
|
-
export declare const recentQueriesReducer: import("
|
|
5
|
+
export declare const recentQueriesReducer: import("@reduxjs/toolkit").Reducer<RecentQueriesState> & {
|
|
6
6
|
getInitialState: () => RecentQueriesState;
|
|
7
7
|
};
|
|
8
8
|
export declare function handleRegisterQueries(state: WritableDraft<RecentQueriesState>, action: ReturnType<typeof registerRecentQueries> | ReturnType<typeof registerCommerceRecentQueries>): void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const recentResultsReducer: import("
|
|
1
|
+
export declare const recentResultsReducer: import("@reduxjs/toolkit").Reducer<import("./recent-results-state.js").RecentResultsState> & {
|
|
2
2
|
getInitialState: () => import("./recent-results-state.js").RecentResultsState;
|
|
3
3
|
};
|
|
@@ -23,7 +23,7 @@ export declare const getRecommendations: import("@reduxjs/toolkit").AsyncThunk<G
|
|
|
23
23
|
rejectValue: import("../../api/search/search-api-error-response.js").SearchAPIErrorWithStatusCode;
|
|
24
24
|
state: StateNeededByGetRecommendations;
|
|
25
25
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../api/search/search-api-client.js").SearchAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
26
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
26
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
27
27
|
serializedErrorType?: unknown;
|
|
28
28
|
pendingMeta?: unknown;
|
|
29
29
|
fulfilledMeta?: unknown;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const recommendationReducer: import("
|
|
1
|
+
export declare const recommendationReducer: import("@reduxjs/toolkit").Reducer<import("./recommendation-state.js").RecommendationState> & {
|
|
2
2
|
getInitialState: () => import("./recommendation-state.js").RecommendationState;
|
|
3
3
|
};
|
|
@@ -25,7 +25,7 @@ export declare const fetchResultContent: import("@reduxjs/toolkit").AsyncThunk<F
|
|
|
25
25
|
rejectValue: SearchAPIErrorWithStatusCode;
|
|
26
26
|
state: StateNeededByHtmlEndpoint;
|
|
27
27
|
extra: ClientThunkExtraArguments<HtmlApiClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
28
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
28
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
29
29
|
serializedErrorType?: unknown;
|
|
30
30
|
pendingMeta?: unknown;
|
|
31
31
|
fulfilledMeta?: unknown;
|
|
@@ -42,7 +42,7 @@ export declare const updateContentURL: import("@reduxjs/toolkit").AsyncThunk<Upd
|
|
|
42
42
|
rejectValue: SearchAPIErrorWithStatusCode;
|
|
43
43
|
state: StateNeededByHtmlEndpoint;
|
|
44
44
|
extra: ClientThunkExtraArguments<HtmlApiClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
45
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
45
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
46
46
|
serializedErrorType?: unknown;
|
|
47
47
|
pendingMeta?: unknown;
|
|
48
48
|
fulfilledMeta?: unknown;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type ResultPreviewState } from './result-preview-state.js';
|
|
2
|
-
export declare const resultPreviewReducer: import("
|
|
2
|
+
export declare const resultPreviewReducer: import("@reduxjs/toolkit").Reducer<ResultPreviewState> & {
|
|
3
3
|
getInitialState: () => ResultPreviewState;
|
|
4
4
|
};
|
|
@@ -21,7 +21,7 @@ export declare const executeSearch: import("@reduxjs/toolkit").AsyncThunk<Execut
|
|
|
21
21
|
rejectValue: import("../../../api/search/search-api-error-response.js").SearchAPIErrorWithStatusCode;
|
|
22
22
|
state: StateNeededByExecuteSearch;
|
|
23
23
|
extra: import("../../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../../api/search/search-api-client.js").SearchAPIClient, import("../../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
24
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
24
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
25
25
|
serializedErrorType?: unknown;
|
|
26
26
|
pendingMeta?: unknown;
|
|
27
27
|
fulfilledMeta?: unknown;
|
|
@@ -31,7 +31,7 @@ export declare const fetchPage: import("@reduxjs/toolkit").AsyncThunk<ExecuteSea
|
|
|
31
31
|
rejectValue: import("../../../api/search/search-api-error-response.js").SearchAPIErrorWithStatusCode;
|
|
32
32
|
state: StateNeededByExecuteSearch;
|
|
33
33
|
extra: import("../../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../../api/search/search-api-client.js").SearchAPIClient, import("../../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
34
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
34
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
35
35
|
serializedErrorType?: unknown;
|
|
36
36
|
pendingMeta?: unknown;
|
|
37
37
|
fulfilledMeta?: unknown;
|
|
@@ -41,7 +41,7 @@ export declare const fetchMoreResults: import("@reduxjs/toolkit").AsyncThunk<Exe
|
|
|
41
41
|
rejectValue: import("../../../api/search/search-api-error-response.js").SearchAPIErrorWithStatusCode;
|
|
42
42
|
state: StateNeededByExecuteSearch;
|
|
43
43
|
extra: import("../../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../../api/search/search-api-client.js").SearchAPIClient, import("../../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
44
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
44
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
45
45
|
serializedErrorType?: unknown;
|
|
46
46
|
pendingMeta?: unknown;
|
|
47
47
|
fulfilledMeta?: unknown;
|
|
@@ -51,7 +51,7 @@ export declare const fetchFacetValues: import("@reduxjs/toolkit").AsyncThunk<Exe
|
|
|
51
51
|
rejectValue: import("../../../api/search/search-api-error-response.js").SearchAPIErrorWithStatusCode;
|
|
52
52
|
state: StateNeededByExecuteSearch;
|
|
53
53
|
extra: import("../../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../../api/search/search-api-client.js").SearchAPIClient, import("../../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
54
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
54
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
55
55
|
serializedErrorType?: unknown;
|
|
56
56
|
pendingMeta?: unknown;
|
|
57
57
|
fulfilledMeta?: unknown;
|
|
@@ -61,7 +61,7 @@ export declare const fetchInstantResults: import("@reduxjs/toolkit").AsyncThunk<
|
|
|
61
61
|
rejectValue: import("../../../api/search/search-api-error-response.js").SearchAPIErrorWithStatusCode;
|
|
62
62
|
state: import("../../../state/state-sections.js").ConfigurationSection & Partial<import("../../../state/state-sections.js").QuerySection & import("../../../state/state-sections.js").AdvancedSearchQueriesSection & import("../../../state/state-sections.js").PaginationSection & import("../../../state/state-sections.js").SortSection & import("../../../state/state-sections.js").FacetSection & import("../../../state/state-sections.js").NumericFacetSection & import("../../../state/state-sections.js").CategoryFacetSection & import("../../../state/state-sections.js").DateFacetSection & import("../../../state/state-sections.js").ContextSection & import("../../../state/state-sections.js").DidYouMeanSection & import("../../../state/state-sections.js").FieldsSection & import("../../../state/state-sections.js").PipelineSection & import("../../../state/state-sections.js").SearchHubSection & import("../../../state/state-sections.js").QuerySetSection & import("../../../state/state-sections.js").FacetOptionsSection & import("../../../state/state-sections.js").FacetOrderSection & import("../../../state/state-sections.js").DebugSection & import("../../../state/state-sections.js").SearchSection & import("../../../state/state-sections.js").FoldingSection & import("../../../state/state-sections.js").TriggerSection> & InstantResultSection;
|
|
63
63
|
extra: import("../../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../../api/search/search-api-client.js").SearchAPIClient, import("../../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
64
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
64
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
65
65
|
serializedErrorType?: unknown;
|
|
66
66
|
pendingMeta?: unknown;
|
|
67
67
|
fulfilledMeta?: unknown;
|
|
@@ -29,7 +29,7 @@ export interface PrepareForSearchWithQueryOptions {
|
|
|
29
29
|
export declare const prepareForSearchWithQuery: import("@reduxjs/toolkit").AsyncThunk<void, UpdateQueryActionCreatorPayload & PrepareForSearchWithQueryOptions, {
|
|
30
30
|
state: StateNeededByExecuteSearch;
|
|
31
31
|
extra: import("../../app/thunk-extra-arguments.js").ThunkExtraArguments;
|
|
32
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
32
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
33
33
|
rejectValue?: unknown;
|
|
34
34
|
serializedErrorType?: unknown;
|
|
35
35
|
pendingMeta?: unknown;
|
|
@@ -45,7 +45,7 @@ export declare const executeSearch: import("@reduxjs/toolkit").AsyncThunk<Execut
|
|
|
45
45
|
rejectValue: import("../../api/search/search-api-error-response.js").SearchAPIErrorWithStatusCode;
|
|
46
46
|
state: StateNeededByExecuteSearch;
|
|
47
47
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../api/search/search-api-client.js").SearchAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
48
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
48
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
49
49
|
serializedErrorType?: unknown;
|
|
50
50
|
pendingMeta?: unknown;
|
|
51
51
|
fulfilledMeta?: unknown;
|
|
@@ -55,7 +55,7 @@ export declare const fetchPage: import("@reduxjs/toolkit").AsyncThunk<ExecuteSea
|
|
|
55
55
|
rejectValue: import("../../api/search/search-api-error-response.js").SearchAPIErrorWithStatusCode;
|
|
56
56
|
state: StateNeededByExecuteSearch;
|
|
57
57
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../api/search/search-api-client.js").SearchAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
58
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
58
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
59
59
|
serializedErrorType?: unknown;
|
|
60
60
|
pendingMeta?: unknown;
|
|
61
61
|
fulfilledMeta?: unknown;
|
|
@@ -65,7 +65,7 @@ export declare const fetchMoreResults: import("@reduxjs/toolkit").AsyncThunk<Exe
|
|
|
65
65
|
rejectValue: import("../../api/search/search-api-error-response.js").SearchAPIErrorWithStatusCode;
|
|
66
66
|
state: StateNeededByExecuteSearch;
|
|
67
67
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../api/search/search-api-client.js").SearchAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
68
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
68
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
69
69
|
serializedErrorType?: unknown;
|
|
70
70
|
pendingMeta?: unknown;
|
|
71
71
|
fulfilledMeta?: unknown;
|
|
@@ -75,7 +75,7 @@ export declare const fetchFacetValues: import("@reduxjs/toolkit").AsyncThunk<Exe
|
|
|
75
75
|
rejectValue: import("../../api/search/search-api-error-response.js").SearchAPIErrorWithStatusCode;
|
|
76
76
|
state: StateNeededByExecuteSearch;
|
|
77
77
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../api/search/search-api-client.js").SearchAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
78
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
78
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
79
79
|
serializedErrorType?: unknown;
|
|
80
80
|
pendingMeta?: unknown;
|
|
81
81
|
fulfilledMeta?: unknown;
|
|
@@ -85,7 +85,7 @@ export declare const fetchInstantResults: import("@reduxjs/toolkit").AsyncThunk<
|
|
|
85
85
|
rejectValue: import("../../api/search/search-api-error-response.js").SearchAPIErrorWithStatusCode;
|
|
86
86
|
state: import("../../state/state-sections.js").ConfigurationSection & Partial<import("../../state/state-sections.js").QuerySection & import("../../state/state-sections.js").AdvancedSearchQueriesSection & import("../../state/state-sections.js").PaginationSection & import("../../state/state-sections.js").SortSection & import("../../state/state-sections.js").FacetSection & import("../../state/state-sections.js").NumericFacetSection & import("../../state/state-sections.js").CategoryFacetSection & import("../../state/state-sections.js").DateFacetSection & import("../../state/state-sections.js").ContextSection & import("../../state/state-sections.js").DidYouMeanSection & import("../../state/state-sections.js").FieldsSection & import("../../state/state-sections.js").PipelineSection & import("../../state/state-sections.js").SearchHubSection & import("../../state/state-sections.js").QuerySetSection & import("../../state/state-sections.js").FacetOptionsSection & import("../../state/state-sections.js").FacetOrderSection & import("../../state/state-sections.js").DebugSection & import("../../state/state-sections.js").SearchSection & import("../../state/state-sections.js").FoldingSection & import("../../state/state-sections.js").TriggerSection> & InstantResultSection;
|
|
87
87
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../api/search/search-api-client.js").SearchAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
88
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
88
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
89
89
|
serializedErrorType?: unknown;
|
|
90
90
|
pendingMeta?: unknown;
|
|
91
91
|
fulfilledMeta?: unknown;
|
|
@@ -64,7 +64,7 @@ export declare const fetchRedirectUrl: import("@reduxjs/toolkit").AsyncThunk<str
|
|
|
64
64
|
rejectValue: import("../../api/search/search-api-error-response.js").SearchAPIErrorWithStatusCode;
|
|
65
65
|
state: StateNeededForRedirect;
|
|
66
66
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../api/search/search-api-client.js").SearchAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
67
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
67
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
68
68
|
serializedErrorType?: unknown;
|
|
69
69
|
pendingMeta?: unknown;
|
|
70
70
|
fulfilledMeta?: unknown;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const standaloneSearchBoxSetReducer: import("
|
|
1
|
+
export declare const standaloneSearchBoxSetReducer: import("@reduxjs/toolkit").Reducer<import("./standalone-search-box-set-state.js").StandaloneSearchBoxSetState> & {
|
|
2
2
|
getInitialState: () => import("./standalone-search-box-set-state.js").StandaloneSearchBoxSetState;
|
|
3
3
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const staticFilterSetReducer: import("
|
|
1
|
+
export declare const staticFilterSetReducer: import("@reduxjs/toolkit").Reducer<import("./static-filter-set-state.js").StaticFilterSetState> & {
|
|
2
2
|
getInitialState: () => import("./static-filter-set-state.js").StaticFilterSetState;
|
|
3
3
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const triggerReducer: import("
|
|
1
|
+
export declare const triggerReducer: import("@reduxjs/toolkit").Reducer<import("./triggers-state.js").TriggerState> & {
|
|
2
2
|
getInitialState: () => import("./triggers-state.js").TriggerState;
|
|
3
3
|
};
|
|
@@ -29,6 +29,8 @@ export type { Controller, Subscribable, } from './controllers/controller/headles
|
|
|
29
29
|
export { buildController } from './controllers/controller/headless-controller.js';
|
|
30
30
|
export type { AttachToCase, AttachToCaseOptions, AttachToCaseProps, } from './controllers/insight/attach-to-case/headless-attach-to-case.js';
|
|
31
31
|
export { buildAttachToCase } from './controllers/insight/attach-to-case/headless-attach-to-case.js';
|
|
32
|
+
export type { AttachedResults, AttachedResultsOptions, AttachedResultsProps, AttachedResultsState, } from './controllers/insight/attached-results/headless-attached-results.js';
|
|
33
|
+
export { buildAttachedResults } from './controllers/insight/attached-results/headless-attached-results.js';
|
|
32
34
|
export type { Breadcrumb, BreadcrumbManager, BreadcrumbManagerState, BreadcrumbValue, CategoryFacetBreadcrumb, DateFacetBreadcrumb, DeselectableValue, FacetBreadcrumb, NumericFacetBreadcrumb, StaticFilterBreadcrumb, } from './controllers/insight/breadcrumb-manager/headless-insight-breadcrumb-manager.js';
|
|
33
35
|
export { buildBreadcrumbManager } from './controllers/insight/breadcrumb-manager/headless-insight-breadcrumb-manager.js';
|
|
34
36
|
export type { DidYouMean, DidYouMeanOptions, DidYouMeanProps, DidYouMeanState, QueryCorrection, WordCorrection, } from './controllers/insight/did-you-mean/headless-insight-did-you-mean.js';
|
|
@@ -63,6 +65,8 @@ export type { QuerySummary, QuerySummaryState, } from './controllers/insight/que
|
|
|
63
65
|
export { buildQuerySummary } from './controllers/insight/query-summary/headless-insight-query-summary.js';
|
|
64
66
|
export type { Quickview, QuickviewOptions, QuickviewProps, QuickviewState, } from './controllers/insight/quickview/headless-insight-quickview.js';
|
|
65
67
|
export { buildQuickview } from './controllers/insight/quickview/headless-insight-quickview.js';
|
|
68
|
+
export type { RecentQueriesList, RecentQueriesListInitialState, RecentQueriesListOptions, RecentQueriesListProps, RecentQueriesState, } from './controllers/insight/recent-queries-list/headless-insight-recent-queries-list.js';
|
|
69
|
+
export { buildRecentQueriesList } from './controllers/insight/recent-queries-list/headless-insight-recent-queries-list.js';
|
|
66
70
|
export type { InsightInteractiveResultOptions, InsightInteractiveResultProps, InteractiveResult, InteractiveResultCore, InteractiveResultCoreOptions, InteractiveResultCoreProps, } from './controllers/insight/result-list/headless-insight-interactive-result.js';
|
|
67
71
|
export { buildInteractiveResult } from './controllers/insight/result-list/headless-insight-interactive-result.js';
|
|
68
72
|
export type { ResultList, ResultListOptions, ResultListProps, ResultListState, } from './controllers/insight/result-list/headless-insight-result-list.js';
|
|
@@ -34,7 +34,12 @@ export type SSRCommerceEngineOptions = Omit<CommerceEngineOptions, 'configuratio
|
|
|
34
34
|
context: CommerceEngineOptions['configuration']['context'];
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
|
-
export type CommerceEngineDefinitionOptions<TControllers extends ControllerDefinitionsMap<Controller> = ControllerDefinitionsMap<Controller>> = EngineDefinitionOptions<SSRCommerceEngineOptions, TControllers
|
|
37
|
+
export type CommerceEngineDefinitionOptions<TControllers extends ControllerDefinitionsMap<Controller> = ControllerDefinitionsMap<Controller>> = EngineDefinitionOptions<SSRCommerceEngineOptions, TControllers> & {
|
|
38
|
+
/**
|
|
39
|
+
* Callback invoked when the access token changes.
|
|
40
|
+
*/
|
|
41
|
+
onAccessTokenUpdate?: (updateCallback: (token: string) => void) => void;
|
|
42
|
+
};
|
|
38
43
|
export declare const buildFactory: <TControllerDefinitions extends CommerceControllerDefinitionsMap>(controllerDefinitions: TControllerDefinitions | undefined, options: CommerceEngineDefinitionOptions<TControllerDefinitions>) => <T extends SolutionType>(solutionType: T) => (...[buildOptions]: BuildParameters<TControllerDefinitions>) => Promise<{
|
|
39
44
|
engine: SSRCommerceEngine;
|
|
40
45
|
controllers: import("../types/controller-inference.js").InferControllersMapFromDefinition<TControllerDefinitions, T>;
|
|
@@ -17,5 +17,8 @@ export type FetchStaticState<TControllers extends ControllersMap, TSearchAction
|
|
|
17
17
|
* Useful for static generation and server-side rendering.
|
|
18
18
|
*/
|
|
19
19
|
(...params: OptionsTuple<FetchStaticStateOptions & EngineDefinitionControllersPropsOption<TControllersDefinitionsMap, TControllersProps, TSolutionType>>): Promise<EngineStaticState<TSearchAction, TControllersStaticState>>;
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated Use the fetchStaticState() method instead
|
|
22
|
+
*/
|
|
20
23
|
fromBuildResult: FromBuildResult<TControllers, FetchStaticStateOptions, EngineStaticState<TSearchAction, TControllersStaticState>>;
|
|
21
24
|
};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { ControllersMap } from '../../common/types/controllers.js';
|
|
2
2
|
import type { SSRCommerceEngine } from '../factories/build-factory.js';
|
|
3
3
|
import type { EngineDefinitionBuildResult } from './controller-definitions.js';
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated This type is deprecated and will be removed in future major version.
|
|
6
|
+
*/
|
|
4
7
|
interface FromBuildResultOptions<TControllers extends ControllersMap> {
|
|
5
8
|
/**
|
|
6
9
|
* The build result of the engine
|
|
@@ -15,5 +18,8 @@ interface FromBuildResultOptions<TControllers extends ControllersMap> {
|
|
|
15
18
|
*/
|
|
16
19
|
allowedRecommendationKeys?: string[];
|
|
17
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated This type is deprecated and will be removed in future major version.
|
|
23
|
+
*/
|
|
18
24
|
export type FromBuildResult<TControllers extends ControllersMap, TOptions, TReturn> = (options: FromBuildResultOptions<TControllers> & TOptions) => Promise<TReturn>;
|
|
19
25
|
export {};
|
|
@@ -16,5 +16,8 @@ export type HydrateStaticState<TControllers extends ControllersMap, TSearchActio
|
|
|
16
16
|
* Useful when hydrating a server-side-rendered engine.
|
|
17
17
|
*/
|
|
18
18
|
(...params: OptionsTuple<HydrateStaticStateOptions<TSearchAction> & EngineDefinitionControllersPropsOption<TControllersDefinitionsMap, TControllersProps, TSolutionType>>): Promise<HydratedState<SSRCommerceEngine, TControllers>>;
|
|
19
|
+
/**
|
|
20
|
+
* @deprecated Use the hydrateStaticState() method instead
|
|
21
|
+
*/
|
|
19
22
|
fromBuildResult: FromBuildResult<TControllers, HydrateStaticStateOptions<TSearchAction>, HydratedState<SSRCommerceEngine, TControllers>>;
|
|
20
23
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This helper allows updating the search token at any point in the SSR workflow—before or after
|
|
3
|
+
* static state creation, and before or after hydration.
|
|
4
|
+
*/
|
|
5
|
+
export declare function createAccessTokenManager(initialToken: string): {
|
|
6
|
+
/**
|
|
7
|
+
* Gets the current access token.
|
|
8
|
+
*/
|
|
9
|
+
getAccessToken(): string;
|
|
10
|
+
/**
|
|
11
|
+
* Sets the access token, updating both configuration and active engines.
|
|
12
|
+
*/
|
|
13
|
+
setAccessToken(accessToken: string): void;
|
|
14
|
+
/**
|
|
15
|
+
* Registers a callback function to be invoked when the access token changes.
|
|
16
|
+
* If there's a queued token, the callback will be invoked immediately.
|
|
17
|
+
*/
|
|
18
|
+
registerCallback(callback: (accessToken: string) => void): void;
|
|
19
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PreprocessRequest } from '../../api/preprocess-request.js';
|
|
2
2
|
import { type LoggerOptions } from '../../app/logger.js';
|
|
3
3
|
import type { NavigatorContextProvider } from '../../app/navigator-context-provider.js';
|
|
4
4
|
export interface AugmentPreprocessRequestOptions {
|
|
@@ -6,4 +6,9 @@ export interface AugmentPreprocessRequestOptions {
|
|
|
6
6
|
navigatorContextProvider?: NavigatorContextProvider;
|
|
7
7
|
loggerOptions?: LoggerOptions;
|
|
8
8
|
}
|
|
9
|
-
|
|
9
|
+
declare const AUGMENTED_MARKER: unique symbol;
|
|
10
|
+
interface AugmentedPreprocessRequest extends PreprocessRequest {
|
|
11
|
+
[AUGMENTED_MARKER]?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare function augmentPreprocessRequestWithForwardedFor(options: AugmentPreprocessRequestOptions): AugmentedPreprocessRequest;
|
|
14
|
+
export {};
|
|
@@ -12,6 +12,9 @@ export type FetchStaticState<TEngine extends CoreEngine | CoreEngineNext, TContr
|
|
|
12
12
|
* Useful for static generation and server-side rendering.
|
|
13
13
|
*/
|
|
14
14
|
(...params: OptionsTuple<FetchStaticStateOptions & EngineDefinitionControllersPropsOption<TControllersProps>>): Promise<EngineStaticState<TSearchAction, TControllersStaticState>>;
|
|
15
|
+
/**
|
|
16
|
+
* @deprecated Use the fetchStaticState() method instead
|
|
17
|
+
*/
|
|
15
18
|
fromBuildResult: FromBuildResult<TEngine, TControllers, FetchStaticStateOptions, EngineStaticState<TSearchAction, TControllersStaticState>>;
|
|
16
19
|
};
|
|
17
20
|
export {};
|
|
@@ -20,6 +20,9 @@ export type HydrateStaticState<TEngine extends CoreEngine | CoreEngineNext, TCon
|
|
|
20
20
|
* Useful when hydrating a server-side-rendered engine.
|
|
21
21
|
*/
|
|
22
22
|
(...params: OptionsTuple<HydrateStaticStateOptions<TSearchAction> & EngineDefinitionControllersPropsOption<TControllersProps>>): Promise<HydratedState<TEngine, TControllers>>;
|
|
23
|
+
/**
|
|
24
|
+
* @deprecated Use the hydrateStaticState() method instead
|
|
25
|
+
*/
|
|
23
26
|
fromBuildResult: FromBuildResult<TEngine, TControllers, HydrateStaticStateOptions<TSearchAction>, HydratedState<TEngine, TControllers>>;
|
|
24
27
|
};
|
|
25
28
|
export {};
|
|
@@ -16,14 +16,16 @@ type ValidateControllerNames<T extends ControllerDefinitionsMap<Controller>> = {
|
|
|
16
16
|
};
|
|
17
17
|
/**
|
|
18
18
|
* The options to create a Commerce engine definition in SSR.
|
|
19
|
-
*
|
|
20
|
-
* @group Engine
|
|
21
19
|
*/
|
|
22
20
|
export type CommerceEngineDefinitionOptions<TControllers extends ControllerDefinitionsMap<Controller> = ControllerDefinitionsMap<Controller>> = SSRCommerceEngineOptions & {
|
|
23
21
|
/**
|
|
24
22
|
* The controllers to initialize with the commerce engine.
|
|
25
23
|
*/
|
|
26
24
|
controllers?: ValidateControllerNames<TControllers>;
|
|
25
|
+
/**
|
|
26
|
+
* Callback invoked when the access token changes.
|
|
27
|
+
*/
|
|
28
|
+
onAccessTokenUpdate?: (updateCallback: (token: string) => void) => void;
|
|
27
29
|
};
|
|
28
30
|
export interface CommerceEngineDefinition<TControllers extends ControllerDefinitionsMap<Controller>, TSolutionType extends SolutionType> {
|
|
29
31
|
/**
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This helper allows updating the search token at any point in the SSR workflow—before or after
|
|
3
|
+
* static state creation, and before or after hydration.
|
|
4
|
+
*/
|
|
5
|
+
export declare function createAccessTokenManager(initialToken: string): {
|
|
6
|
+
/**
|
|
7
|
+
* Gets the current access token.
|
|
8
|
+
*/
|
|
9
|
+
getAccessToken(): string;
|
|
10
|
+
/**
|
|
11
|
+
* Sets the access token, updating both configuration and active engines.
|
|
12
|
+
*/
|
|
13
|
+
setAccessToken(accessToken: string): void;
|
|
14
|
+
/**
|
|
15
|
+
* Registers a callback function to be invoked when the access token changes.
|
|
16
|
+
* If there's a queued token, the callback will be invoked immediately.
|
|
17
|
+
*/
|
|
18
|
+
registerCallback(callback: (accessToken: string) => void): void;
|
|
19
|
+
};
|