@coveo/quantic 3.36.7 → 3.36.9
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/force-app/main/default/staticresources/coveoheadless/case-assist/headless.js +14 -14
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/api-client-utils.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/common/request.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/common/result.d.ts +12 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/product-enrichment/product-enrichment-request.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/recommendations/recommendations-request.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/search/plan/plan-request.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/search/query-suggest/query-suggest-request.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/answer-generation/agents/answer-agent/head-answer-strategy.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/answer-slice.d.ts +0 -5
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/stream-answer-api.d.ts +3 -3
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/case-assist/get-case-classifications/get-case-classifications-request.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/case-assist/get-document-suggestions/get-document-suggestions-request.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/insight/get-interface/get-interface-config-request.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/insight/query/query-request.d.ts +4 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/insight/user-actions/user-actions-request.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/search-engine/search-engine.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/commerce.index.d.ts +35 -36
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/breadcrumb-manager/headless-breadcrumb-manager.d.ts +1 -1
- 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/commerce/core/sort/headless-core-commerce-sort.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/url-manager/headless-core-url-manager.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/recent-queries-list/headless-recent-queries-list.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/search/did-you-mean/headless-did-you-mean.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/search-box/headless-search-box.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/context/headless-context.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/category-facet/headless-core-category-facet.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/numeric-facet/headless-core-numeric-facet.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/generated-answer/headless-core-interactive-citation.d.ts +5 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/search-box/headless-core-search-box.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/did-you-mean/headless-did-you-mean.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facet-manager/headless-facet-manager.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facets/category-facet/headless-category-facet.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facets/facet/headless-facet.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facets/range-facet/date-facet/headless-date-facet.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facets/range-facet/date-facet/headless-date-filter.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facets/range-facet/numeric-facet/headless-numeric-facet.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facets/range-facet/numeric-facet/headless-numeric-filter.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/folded-result-list/headless-folded-result-list.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/generated-answer/headless-generated-answer.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/generated-answer/headless-interactive-citation.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/breadcrumb-manager/headless-insight-breadcrumb-manager.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/did-you-mean/headless-insight-did-you-mean.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/facet-conditions-manager/headless-facet-conditions-manager.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/facet-manager/headless-insight-facet-manager.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/facets/category-facet/headless-insight-category-facet.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/facets/facet/headless-insight-facet-options.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/facets/facet/headless-insight-facet.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/facets/range-facet/date-facet/headless-insight-date-facet.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/facets/range-facet/date-facet/headless-insight-date-filter.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/facets/range-facet/numeric-facet/headless-insight-numeric-facet.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/facets/range-facet/numeric-facet/headless-insight-numeric-filter.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/folded-result-list/headless-insight-folded-result-list.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/generated-answer/headless-insight-generated-answer.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/generated-answer/headless-insight-interactive-citation.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/pager/headless-insight-pager.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/recent-queries-list/headless-insight-recent-queries-list.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/result-list/headless-insight-interactive-result.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/result-list/headless-insight-result-list.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/results-per-page/headless-insight-results-per-page.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/search-box/headless-insight-search-box.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/search-parameter-manager/headless-insight-search-parameter-manager.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/sort/headless-insight-sort.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/tab/headless-insight-tab.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/pager/headless-pager.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/quickview/headless-quickview.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/recent-queries-list/headless-recent-queries-list.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/recommendation/result-list/headless-recommendation-interactive-result.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/relevance-inspector/headless-relevance-inspector.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/result-list/headless-result-list.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/results-per-page/headless-results-per-page.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/search-box/headless-search-box.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/search-parameter-manager/headless-search-parameter-manager.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/search-status/headless-search-status.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/smart-snippet/headless-smart-snippet.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/sort/headless-sort.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/standalone-search-box/headless-standalone-search-box.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/static-filter/headless-static-filter.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/tab/headless-tab.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/analytics/generic-analytics-actions-loader.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/analytics/insight-analytics-actions-loader.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/analytics/search-analytics-actions-loader.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/date-facet/date-facet-actions-loader.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/numeric-facet/numeric-facet-actions-loader.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/pagination/pagination-actions-loader.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/product-enrichment/product-enrichment-actions-loader.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/recommendations/recommendations-actions-loader.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/search/search-actions-loader.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/sort/sort.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/triggers/triggers-actions-loader.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/configuration/configuration-actions-loader.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facet-options/facet-options-actions-loader.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/category-facet-set/category-facet-set-actions-loader.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-set/facet-set-actions-loader.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/follow-up-answers/follow-up-answers-actions.d.ts +10 -18
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-actions.d.ts +11 -25
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-request.d.ts +13 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-selectors.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-state.d.ts +7 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/sse-generated-answer-errors.d.ts +22 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/instant-results/instant-results-actions-loader.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/legacy/search-request.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/search-request.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/search-parameters/search-parameter-actions.d.ts +0 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/standalone-search-box-set/standalone-search-box-set-actions-loader.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/index.d.ts +25 -25
- package/force-app/main/default/staticresources/coveoheadless/definitions/insight.index.d.ts +5 -5
- package/force-app/main/default/staticresources/coveoheadless/definitions/recommendation.index.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/filter-suggestions/headless-filter-suggestions-generator.ssr.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/generator/headless-commerce-facet-generator.ssr.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/instant-products/headless-instant-products.ssr.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/pagination/headless-core-commerce-pagination.ssr.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/parameter-manager/headless-core-parameter-manager.ssr.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/product-enrichment/headless-product-enrichment.ssr.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/product-list/headless-product-list.ssr.d.ts +15 -3
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/recent-queries-list/headless-recent-queries-list.ssr.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/search-box/headless-search-box.ssr.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/standalone-search-box/headless-standalone-search-box.ssr.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/summary/headless-core-summary.ssr.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/types/controller-definitions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/types/engine.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-commerce-next.index.d.ts +2 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-commerce.index.d.ts +1 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/filter-suggestions/headless-filter-suggestions-generator.ssr.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/generator/headless-commerce-facet-generator.ssr.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/instant-products/headless-instant-products.ssr.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/pagination/headless-core-commerce-pagination.ssr.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/parameter-manager/headless-core-parameter-manager.ssr.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/product-enrichment/headless-product-enrichment.ssr.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/product-list/headless-product-list.ssr.d.ts +15 -3
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/recent-queries-list/headless-recent-queries-list.ssr.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/search-box/headless-search-box.ssr.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/standalone-search-box/headless-standalone-search-box.ssr.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/summary/headless-core-summary.ssr.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/triggers/headless-query-trigger.ssr.d.ts +3 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/factories/recommendation-static-state-factory.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/factories/static-state-factory.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/types/controller-inference.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/types/engine.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/search/types/controller-definition.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/test/mock-controller.d.ts +2 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/test/mock-product-listing-controller.d.ts +2 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/test/mock-search-controller.d.ts +2 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/utils/facet-utils.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/utils/query-expression/query-expression.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/headless.js +19 -19
- package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +17 -17
- package/force-app/main/default/staticresources/coveoheadless/recommendation/headless.js +13 -13
- package/force-app/main/default/staticresources/dompurify/purify.min.js +2 -2
- package/package.json +17 -18
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/answer-generation/answer-generation-api-state.d.ts +0 -29
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/answer-generation/answer-generation-api.d.ts +0 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/answer-generation/endpoints/answer/answer-endpoint.d.ts +0 -30
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/answer-generation/endpoints/answer/url-builders/endpoint-url-builder.d.ts +0 -5
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/answer-generation/endpoints/follow-up/follow-up-endpoint.d.ts +0 -24
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/answer-generation/endpoints/follow-up/url-builders/endpoint-url-builder.d.ts +0 -5
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/answer-generation/streaming/answer-draft-reducer/answer-draft-reducer.d.ts +0 -26
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/answer-generation/streaming/answer-streaming-runner.d.ts +0 -26
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/answer-generation/streaming/server-state-event-handler/server-state-event-handler.d.ts +0 -21
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/answer-generation/streaming/strategies/streaming-strategy-creators.d.ts +0 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/answer-generation/streaming/types.d.ts +0 -41
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/follow-up-answers/follow-up-answer-request.d.ts +0 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/follow-up-answers/follow-up-answer-strategy.d.ts +0 -3
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/head-answer-strategy.d.ts +0 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SearchEngine } from '../../app/search-engine/search-engine.js';
|
|
2
2
|
import { type InteractiveCitation, type InteractiveCitationOptions, type InteractiveCitationProps } from '../core/generated-answer/headless-core-interactive-citation.js';
|
|
3
|
-
export type { InteractiveCitation,
|
|
3
|
+
export type { InteractiveCitation, InteractiveCitationOptions, InteractiveCitationProps, };
|
|
4
4
|
/**
|
|
5
5
|
* Creates an `InteractiveCitation` controller instance.
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { InsightEngine } from '../../../app/insight-engine/insight-engine.js';
|
|
2
2
|
import { type Breadcrumb, type BreadcrumbManager, type BreadcrumbManagerState, type BreadcrumbValue, type CategoryFacetBreadcrumb, type DateFacetBreadcrumb, type DeselectableValue, type FacetBreadcrumb, type NumericFacetBreadcrumb, type StaticFilterBreadcrumb } from '../../core/breadcrumb-manager/headless-core-breadcrumb-manager.js';
|
|
3
|
-
export type {
|
|
3
|
+
export type { Breadcrumb, BreadcrumbManager, BreadcrumbManagerState, BreadcrumbValue, CategoryFacetBreadcrumb, DateFacetBreadcrumb, DeselectableValue, FacetBreadcrumb, NumericFacetBreadcrumb, StaticFilterBreadcrumb, };
|
|
4
4
|
/**
|
|
5
5
|
* Creates an insight `BreadcrumbManager` controller instance.
|
|
6
6
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { QueryCorrection, WordCorrection } from '../../../api/search/search/query-corrections.js';
|
|
2
2
|
import type { InsightEngine } from '../../../app/insight-engine/insight-engine.js';
|
|
3
3
|
import { type DidYouMean, type DidYouMeanOptions, type DidYouMeanProps, type DidYouMeanState } from '../../core/did-you-mean/headless-core-did-you-mean.js';
|
|
4
|
-
export type {
|
|
4
|
+
export type { DidYouMean, DidYouMeanOptions, DidYouMeanProps, DidYouMeanState, QueryCorrection, WordCorrection, };
|
|
5
5
|
/**
|
|
6
6
|
* The insight DidYouMean controller is responsible for handling query corrections.
|
|
7
7
|
* When a query returns no result but finds a possible query correction, the controller either suggests the correction or
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { InsightEngine } from '../../../app/insight-engine/insight-engine.js';
|
|
2
2
|
import { type AnyFacetValuesCondition, type FacetConditionsManager, type FacetConditionsManagerProps } from '../../core/facets/facet-conditions-manager/headless-facet-conditions-manager.js';
|
|
3
|
-
export type { FacetConditionsManager, FacetConditionsManagerProps,
|
|
3
|
+
export type { AnyFacetValuesCondition, FacetConditionsManager, FacetConditionsManagerProps, };
|
|
4
4
|
/**
|
|
5
5
|
* Creates an insight `FacetConditionsManager` instance.
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { InsightEngine } from '../../../app/insight-engine/insight-engine.js';
|
|
2
2
|
import { type FacetManager, type FacetManagerPayload, type FacetManagerState } from '../../core/facet-manager/headless-core-facet-manager.js';
|
|
3
|
-
export type {
|
|
3
|
+
export type { FacetManager, FacetManagerPayload, FacetManagerState };
|
|
4
4
|
/**
|
|
5
5
|
* Creates an insight `FacetManager` instance.
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { InsightEngine } from '../../../../app/insight-engine/insight-engine.js';
|
|
2
2
|
import { type CategoryFacet, type CategoryFacetOptions, type CategoryFacetProps, type CategoryFacetSearch, type CategoryFacetSearchOptions, type CategoryFacetSearchResult, type CategoryFacetSearchState, type CategoryFacetState, type CategoryFacetValue, type CategoryFacetValueCommon, type CoreCategoryFacet, type CoreCategoryFacetState } from '../../../core/facets/category-facet/headless-core-category-facet.js';
|
|
3
|
-
export type {
|
|
3
|
+
export type { CategoryFacet, CategoryFacetOptions, CategoryFacetProps, CategoryFacetSearch, CategoryFacetSearchOptions, CategoryFacetSearchResult, CategoryFacetSearchState, CategoryFacetState, CategoryFacetValue, CategoryFacetValueCommon, CoreCategoryFacet, CoreCategoryFacetState, };
|
|
4
4
|
/**
|
|
5
5
|
* Creates an insight `CategoryFacet` controller instance.
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Schema } from '@coveo/bueno';
|
|
2
2
|
import type { FacetOptions as CoreFacetOptions, FacetSearchOptions } from '../../../core/facets/facet/headless-core-facet-options.js';
|
|
3
|
-
export type {
|
|
3
|
+
export type { CoreFacetOptions, FacetSearchOptions };
|
|
4
4
|
export interface FacetOptions extends CoreFacetOptions {
|
|
5
5
|
/**
|
|
6
6
|
* Specifies an explicit list of `allowedValues` in the Search API request.
|
|
@@ -2,7 +2,7 @@ import type { InsightEngine } from '../../../../app/insight-engine/insight-engin
|
|
|
2
2
|
import type { FacetValueState } from '../../../../features/facets/facet-api/value.js';
|
|
3
3
|
import { type CoreFacet, type CoreFacetState, type Facet, type FacetSearch, type FacetSearchState, type FacetState, type FacetValue, type SpecificFacetSearchResult } from '../../../core/facets/facet/headless-core-facet.js';
|
|
4
4
|
import { type CoreFacetOptions, type FacetOptions, type FacetSearchOptions } from './headless-insight-facet-options.js';
|
|
5
|
-
export type {
|
|
5
|
+
export type { CoreFacet, CoreFacetOptions, CoreFacetState, Facet, FacetOptions, FacetSearch, FacetSearchOptions, FacetSearchState, FacetState, FacetValue, FacetValueState, SpecificFacetSearchResult, };
|
|
6
6
|
export interface FacetProps {
|
|
7
7
|
/**
|
|
8
8
|
* The options for the `Facet` controller.
|
|
@@ -2,7 +2,7 @@ import type { InsightEngine } from '../../../../../app/insight-engine/insight-en
|
|
|
2
2
|
import type { DateRangeRequest } from '../../../../../features/facets/range-facets/date-facet-set/interfaces/request.js';
|
|
3
3
|
import { buildDateRange, type DateFacet, type DateFacetProps, type DateFacetState, type DateRangeInput, type DateRangeOptions } from '../../../../core/facets/range-facet/date-facet/headless-core-date-facet.js';
|
|
4
4
|
import type { DateFacetOptions } from '../../../../core/facets/range-facet/date-facet/headless-date-facet-options.js';
|
|
5
|
-
export type {
|
|
5
|
+
export type { DateFacet, DateFacetOptions, DateFacetProps, DateFacetState, DateRangeInput, DateRangeOptions, DateRangeRequest, };
|
|
6
6
|
export { buildDateRange };
|
|
7
7
|
/**
|
|
8
8
|
* Creates an insight `DateFacet` controller instance.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { InsightEngine } from '../../../../../app/insight-engine/insight-engine.js';
|
|
2
2
|
import { type DateFilter, type DateFilterInitialState, type DateFilterOptions, type DateFilterProps, type DateFilterRange, type DateFilterState } from '../../../../core/facets/range-facet/date-facet/headless-core-date-filter.js';
|
|
3
|
-
export type {
|
|
3
|
+
export type { DateFilter, DateFilterInitialState, DateFilterOptions, DateFilterProps, DateFilterRange, DateFilterState, };
|
|
4
4
|
/**
|
|
5
5
|
* Creates an insight `DateFilter` controller instance.
|
|
6
6
|
* @param engine - The insight engine.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { InsightEngine } from '../../../../../app/insight-engine/insight-engine.js';
|
|
2
2
|
import type { NumericRangeRequest } from '../../../../../features/facets/range-facets/numeric-facet-set/interfaces/request.js';
|
|
3
3
|
import { buildNumericRange, type NumericFacet, type NumericFacetOptions, type NumericFacetProps, type NumericFacetState, type NumericRangeOptions } from '../../../../core/facets/range-facet/numeric-facet/headless-core-numeric-facet.js';
|
|
4
|
-
export type {
|
|
4
|
+
export type { NumericFacet, NumericFacetOptions, NumericFacetProps, NumericFacetState, NumericRangeOptions, NumericRangeRequest, };
|
|
5
5
|
export { buildNumericRange };
|
|
6
6
|
/**
|
|
7
7
|
* Creates an insight `NumericFacet` controller instance.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { InsightEngine } from '../../../../../app/insight-engine/insight-engine.js';
|
|
2
2
|
import { type NumericFilter, type NumericFilterInitialState, type NumericFilterOptions, type NumericFilterProps, type NumericFilterRange, type NumericFilterState } from '../../../../core/facets/range-facet/numeric-facet/headless-core-numeric-filter.js';
|
|
3
|
-
export type {
|
|
3
|
+
export type { NumericFilter, NumericFilterInitialState, NumericFilterOptions, NumericFilterProps, NumericFilterRange, NumericFilterState, };
|
|
4
4
|
/**
|
|
5
5
|
* Creates an insight `NumericFilter` controller instance.
|
|
6
6
|
* @param engine - The insight engine.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { InsightEngine } from '../../../app/insight-engine/insight-engine.js';
|
|
2
2
|
import { type FoldedCollection, type FoldedResult, type FoldedResultList, type FoldedResultListOptions, type FoldedResultListState, type FoldingOptions } from '../../core/folded-result-list/headless-core-folded-result-list.js';
|
|
3
|
-
export type {
|
|
3
|
+
export type { FoldedCollection, FoldedResult, FoldedResultList, FoldedResultListOptions, FoldedResultListState, FoldingOptions, };
|
|
4
4
|
export interface InsightFoldedResultListProps {
|
|
5
5
|
/**
|
|
6
6
|
* The options for the `FoldedResultList` controller.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { InsightEngine } from '../../../app/insight-engine/insight-engine.js';
|
|
2
2
|
import type { GeneratedAnswerState } from '../../../features/generated-answer/generated-answer-state.js';
|
|
3
3
|
import type { GeneratedAnswer, GeneratedAnswerProps } from '../../core/generated-answer/headless-core-generated-answer.js';
|
|
4
|
-
export type {
|
|
4
|
+
export type { GeneratedAnswer, GeneratedAnswerProps, GeneratedAnswerState };
|
|
5
5
|
/**
|
|
6
6
|
* Creates an insight `GeneratedAnswer` controller instance.
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { InsightEngine } from '../../../app/insight-engine/insight-engine.js';
|
|
2
2
|
import { type InteractiveCitation, type InteractiveCitationOptions, type InteractiveCitationProps } from '../../core/generated-answer/headless-core-interactive-citation.js';
|
|
3
|
-
export type { InteractiveCitation,
|
|
3
|
+
export type { InteractiveCitation, InteractiveCitationOptions, InteractiveCitationProps, };
|
|
4
4
|
/**
|
|
5
5
|
* Creates an insight `InteractiveCitation` controller instance.
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { InsightEngine } from '../../../app/insight-engine/insight-engine.js';
|
|
2
2
|
import { type Pager, type PagerInitialState, type PagerOptions, type PagerProps, type PagerState } from '../../core/pager/headless-core-pager.js';
|
|
3
|
-
export type { PagerInitialState, PagerOptions, PagerProps,
|
|
3
|
+
export type { Pager, PagerInitialState, PagerOptions, PagerProps, PagerState };
|
|
4
4
|
/**
|
|
5
5
|
* Creates an insight `Pager` controller instance.
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { InsightEngine } from '../../../app/insight-engine/insight-engine.js';
|
|
2
2
|
import { type RecentQueriesList, type RecentQueriesListInitialState, type RecentQueriesListOptions, type RecentQueriesListProps, type RecentQueriesState } from '../../core/recent-queries-list/headless-core-recent-queries-list.js';
|
|
3
|
-
export type {
|
|
3
|
+
export type { RecentQueriesList, RecentQueriesListInitialState, RecentQueriesListOptions, RecentQueriesListProps, RecentQueriesState, };
|
|
4
4
|
/**
|
|
5
5
|
* Creates a `RecentQueriesList` controller instance.
|
|
6
6
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Result } from '../../../api/search/search/result.js';
|
|
2
2
|
import type { InsightEngine } from '../../../app/insight-engine/insight-engine.js';
|
|
3
3
|
import { type InteractiveResultCore, type InteractiveResultCoreOptions, type InteractiveResultCoreProps } from '../../core/interactive-result/headless-core-interactive-result.js';
|
|
4
|
-
export type { InteractiveResultCoreOptions, InteractiveResultCoreProps,
|
|
4
|
+
export type { InteractiveResultCore, InteractiveResultCoreOptions, InteractiveResultCoreProps, };
|
|
5
5
|
export interface InsightInteractiveResultOptions extends InteractiveResultCoreOptions {
|
|
6
6
|
/**
|
|
7
7
|
* The query result.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { InsightEngine } from '../../../app/insight-engine/insight-engine.js';
|
|
2
2
|
import { type ResultList, type ResultListOptions, type ResultListProps, type ResultListState } from '../../core/result-list/headless-core-result-list.js';
|
|
3
|
-
export type { ResultListOptions, ResultListProps, ResultListState
|
|
3
|
+
export type { ResultList, ResultListOptions, ResultListProps, ResultListState };
|
|
4
4
|
/**
|
|
5
5
|
* Creates an insight `ResultList` controller instance.
|
|
6
6
|
* @param engine - The insight engine.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { InsightEngine } from '../../../app/insight-engine/insight-engine.js';
|
|
2
2
|
import { type ResultsPerPage, type ResultsPerPageInitialState, type ResultsPerPageProps, type ResultsPerPageState } from '../../core/results-per-page/headless-core-results-per-page.js';
|
|
3
|
-
export type { ResultsPerPage,
|
|
3
|
+
export type { ResultsPerPage, ResultsPerPageInitialState, ResultsPerPageProps, ResultsPerPageState, };
|
|
4
4
|
/**
|
|
5
5
|
* Creates an insight `ResultsPerPage` controller instance.
|
|
6
6
|
*
|
|
@@ -2,7 +2,7 @@ import type { InsightEngine } from '../../../app/insight-engine/insight-engine.j
|
|
|
2
2
|
import type { Controller } from '../../controller/headless-controller.js';
|
|
3
3
|
import { type Delimiters, type SearchBoxState, type Suggestion, type SuggestionHighlightingOptions } from '../../core/search-box/headless-core-search-box.js';
|
|
4
4
|
import type { SearchBoxOptions } from '../../core/search-box/headless-core-search-box-options.js';
|
|
5
|
-
export type { SearchBoxOptions, SearchBoxState,
|
|
5
|
+
export type { Delimiters, SearchBoxOptions, SearchBoxState, Suggestion, SuggestionHighlightingOptions, };
|
|
6
6
|
export interface SearchBoxProps {
|
|
7
7
|
/**
|
|
8
8
|
* The `SearchBox` controller options.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { InsightEngine } from '../../../app/insight-engine/insight-engine.js';
|
|
2
2
|
import type { SearchParameters } from '../../../features/search-parameters/search-parameter-actions.js';
|
|
3
3
|
import { type SearchParameterManager, type SearchParameterManagerInitialState, type SearchParameterManagerProps, type SearchParameterManagerState } from '../../core/search-parameter-manager/headless-core-search-parameter-manager.js';
|
|
4
|
-
export type {
|
|
4
|
+
export type { SearchParameterManager, SearchParameterManagerInitialState, SearchParameterManagerProps, SearchParameterManagerState, SearchParameters, };
|
|
5
5
|
/**
|
|
6
6
|
* Creates an insight `SearchParameterManager` controller instance.
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { InsightEngine } from '../../../app/insight-engine/insight-engine.js';
|
|
2
2
|
import { type Sort, type SortInitialState, type SortProps, type SortState } from '../../core/sort/headless-core-sort.js';
|
|
3
|
-
export type { Sort, SortProps, SortState
|
|
3
|
+
export type { Sort, SortInitialState, SortProps, SortState };
|
|
4
4
|
/**
|
|
5
5
|
* Creates an insight `Sort` controller instance.
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { InsightEngine } from '../../../app/insight-engine/insight-engine.js';
|
|
2
2
|
import { type Tab, type TabInitialState, type TabOptions, type TabProps, type TabState } from '../../core/tab/headless-core-tab.js';
|
|
3
|
-
export type { Tab,
|
|
3
|
+
export type { Tab, TabInitialState, TabOptions, TabProps, TabState };
|
|
4
4
|
/**
|
|
5
5
|
* Creates an insight `Tab` controller instance.
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SearchEngine } from '../../app/search-engine/search-engine.js';
|
|
2
2
|
import { type Pager, type PagerInitialState, type PagerOptions, type PagerProps, type PagerState } from '../core/pager/headless-core-pager.js';
|
|
3
|
-
export type { PagerInitialState, PagerOptions, PagerProps,
|
|
3
|
+
export type { Pager, PagerInitialState, PagerOptions, PagerProps, PagerState };
|
|
4
4
|
/**
|
|
5
5
|
* Creates a `Pager` controller instance.
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SearchEngine } from '../../app/search-engine/search-engine.js';
|
|
2
2
|
import { type Quickview as CoreQuickview, type QuickviewState as CoreQuickviewState, type QuickviewOptions, type QuickviewProps } from '../core/quickview/headless-core-quickview.js';
|
|
3
|
-
export type {
|
|
3
|
+
export type { CoreQuickview, CoreQuickviewState, QuickviewOptions, QuickviewProps, };
|
|
4
4
|
/**
|
|
5
5
|
* A scoped and simplified part of the headless state that is relevant to the `Quickview` controller.
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SearchEngine } from '../../app/search-engine/search-engine.js';
|
|
2
2
|
import { type RecentQueriesList, type RecentQueriesListInitialState, type RecentQueriesListOptions, type RecentQueriesListProps, type RecentQueriesState } from '../core/recent-queries-list/headless-core-recent-queries-list.js';
|
|
3
|
-
export type {
|
|
3
|
+
export type { RecentQueriesList, RecentQueriesListInitialState, RecentQueriesListOptions, RecentQueriesListProps, RecentQueriesState, };
|
|
4
4
|
/**
|
|
5
5
|
* Creates a `RecentQueriesList` controller instance.
|
|
6
6
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Result } from '../../../api/search/search/result.js';
|
|
2
2
|
import type { RecommendationEngine } from '../../../app/recommendation-engine/recommendation-engine.js';
|
|
3
3
|
import { type InteractiveResultCore, type InteractiveResultCoreOptions, type InteractiveResultCoreProps } from '../../core/interactive-result/headless-core-interactive-result.js';
|
|
4
|
-
export type { InteractiveResultCoreOptions, InteractiveResultCoreProps,
|
|
4
|
+
export type { InteractiveResultCore, InteractiveResultCoreOptions, InteractiveResultCoreProps, };
|
|
5
5
|
export interface RecommendationInteractiveResultOptions extends InteractiveResultCoreOptions {
|
|
6
6
|
/**
|
|
7
7
|
* The query result.
|
|
@@ -6,7 +6,7 @@ import type { SecurityIdentity } from '../../api/search/search/security-identity
|
|
|
6
6
|
import type { SearchEngine } from '../../app/search-engine/search-engine.js';
|
|
7
7
|
import type { DocumentWeights, QueryRankingExpressionWeights, RankingInformation, TermWeightReport } from '../../features/debug/ranking-info-parser.js';
|
|
8
8
|
import { type Controller } from '../controller/headless-controller.js';
|
|
9
|
-
export type {
|
|
9
|
+
export type { DocumentWeights, ExecutionReport, ExecutionStep, QueryRankingExpression, QueryRankingExpressionWeights, RankingInformation, SecurityIdentity, TermWeightReport, };
|
|
10
10
|
export interface RelevanceInspectorProps {
|
|
11
11
|
/**
|
|
12
12
|
* The initial state that should be applied to the `RelevanceInspector` controller.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SearchEngine } from '../../app/search-engine/search-engine.js';
|
|
2
2
|
import { type ResultList, type ResultListOptions, type ResultListProps, type ResultListState } from '../core/result-list/headless-core-result-list.js';
|
|
3
|
-
export type { ResultListOptions, ResultListProps, ResultListState
|
|
3
|
+
export type { ResultList, ResultListOptions, ResultListProps, ResultListState };
|
|
4
4
|
/**
|
|
5
5
|
* Creates a `ResultList` controller instance.
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SearchEngine } from '../../app/search-engine/search-engine.js';
|
|
2
2
|
import { type ResultsPerPage, type ResultsPerPageInitialState, type ResultsPerPageProps, type ResultsPerPageState } from '../core/results-per-page/headless-core-results-per-page.js';
|
|
3
|
-
export type { ResultsPerPage,
|
|
3
|
+
export type { ResultsPerPage, ResultsPerPageInitialState, ResultsPerPageProps, ResultsPerPageState, };
|
|
4
4
|
/**
|
|
5
5
|
* Creates a `ResultsPerPage` controller instance.
|
|
6
6
|
*
|
|
@@ -3,7 +3,7 @@ import type { Delimiters, SuggestionHighlightingOptions } from '../../utils/high
|
|
|
3
3
|
import type { Controller } from '../controller/headless-controller.js';
|
|
4
4
|
import { type SearchBoxState, type Suggestion } from '../core/search-box/headless-core-search-box.js';
|
|
5
5
|
import type { SearchBoxOptions } from '../core/search-box/headless-core-search-box-options.js';
|
|
6
|
-
export type { SearchBoxOptions, SearchBoxState,
|
|
6
|
+
export type { Delimiters, SearchBoxOptions, SearchBoxState, Suggestion, SuggestionHighlightingOptions, };
|
|
7
7
|
export interface SearchBoxProps {
|
|
8
8
|
/**
|
|
9
9
|
* The `SearchBox` controller options.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { SearchEngine } from '../../app/search-engine/search-engine.js';
|
|
2
2
|
import type { SearchParameters } from '../../features/search-parameters/search-parameter-actions.js';
|
|
3
3
|
import { type SearchParameterManager, type SearchParameterManagerInitialState, type SearchParameterManagerProps, type SearchParameterManagerState } from '../core/search-parameter-manager/headless-core-search-parameter-manager.js';
|
|
4
|
-
export type {
|
|
4
|
+
export type { SearchParameterManager, SearchParameterManagerInitialState, SearchParameterManagerProps, SearchParameterManagerState, SearchParameters, };
|
|
5
5
|
/**
|
|
6
6
|
* Creates a `SearchParameterManager` controller instance.
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SearchEngine } from '../../app/search-engine/search-engine.js';
|
|
2
2
|
import { type SearchStatus, type SearchStatusState } from '../core/status/headless-core-status.js';
|
|
3
|
-
export type {
|
|
3
|
+
export type { SearchStatus, SearchStatusState };
|
|
4
4
|
/**
|
|
5
5
|
* Creates a `SearchStatus` controller instance.
|
|
6
6
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { SearchEngine } from '../../app/search-engine/search-engine.js';
|
|
2
2
|
import { type SmartSnippet, type SmartSnippetCore, type SmartSnippetOptions, type SmartSnippetProps, type SmartSnippetState } from '../core/smart-snippet/headless-core-smart-snippet.js';
|
|
3
3
|
export type { QuestionAnswerDocumentIdentifier } from '../../api/search/search/question-answering.js';
|
|
4
|
-
export type { SmartSnippet, SmartSnippetOptions, SmartSnippetProps, SmartSnippetState,
|
|
4
|
+
export type { SmartSnippet, SmartSnippetCore, SmartSnippetOptions, SmartSnippetProps, SmartSnippetState, };
|
|
5
5
|
/**
|
|
6
6
|
* Creates a `SmartSnippet` controller instance.
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SearchEngine } from '../../app/search-engine/search-engine.js';
|
|
2
2
|
import { type Sort, type SortInitialState, type SortProps, type SortState } from '../core/sort/headless-core-sort.js';
|
|
3
|
-
export type { Sort, SortProps, SortState
|
|
3
|
+
export type { Sort, SortInitialState, SortProps, SortState };
|
|
4
4
|
/**
|
|
5
5
|
* Creates a `Sort` controller instance.
|
|
6
6
|
*
|
|
@@ -2,7 +2,7 @@ import type { SearchEngine } from '../../app/search-engine/search-engine.js';
|
|
|
2
2
|
import type { StandaloneSearchBoxAnalytics } from '../../features/standalone-search-box-set/standalone-search-box-set-state.js';
|
|
3
3
|
import { type SearchBox, type SearchBoxState } from '../search-box/headless-search-box.js';
|
|
4
4
|
import { type StandaloneSearchBoxOptions } from './headless-standalone-search-box-options.js';
|
|
5
|
-
export type {
|
|
5
|
+
export type { StandaloneSearchBoxAnalytics, StandaloneSearchBoxOptions };
|
|
6
6
|
export interface StandaloneSearchBoxProps {
|
|
7
7
|
options: StandaloneSearchBoxOptions;
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import type { SearchEngine } from '../../app/search-engine/search-engine.js';
|
|
|
2
2
|
import type { StaticFilterValue, StaticFilterValueState } from '../../features/static-filter-set/static-filter-set-state.js';
|
|
3
3
|
import { type Controller } from '../controller/headless-controller.js';
|
|
4
4
|
import { buildStaticFilterValue, type StaticFilterValueOptions } from './static-filter-value.js';
|
|
5
|
-
export type { StaticFilterValue,
|
|
5
|
+
export type { StaticFilterValue, StaticFilterValueOptions, StaticFilterValueState, };
|
|
6
6
|
export { buildStaticFilterValue };
|
|
7
7
|
export interface StaticFilterProps {
|
|
8
8
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SearchEngine } from '../../app/search-engine/search-engine.js';
|
|
2
2
|
import { type Tab, type TabInitialState, type TabOptions, type TabProps, type TabState } from '../core/tab/headless-core-tab.js';
|
|
3
|
-
export type { Tab,
|
|
3
|
+
export type { Tab, TabInitialState, TabOptions, TabProps, TabState };
|
|
4
4
|
/**
|
|
5
5
|
* Creates a `Tab` controller instance.
|
|
6
6
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { SearchEngine } from '../../app/search-engine/search-engine.js';
|
|
2
2
|
import { type LogClickEventActionCreatorPayload, type LogCustomEventActionCreatorPayload, type LogSearchEventActionCreatorPayload } from './analytics-actions.js';
|
|
3
3
|
import type { ClickAction, CustomAction, LegacySearchAction } from './analytics-utils.js';
|
|
4
|
-
export type {
|
|
4
|
+
export type { LogClickEventActionCreatorPayload, LogCustomEventActionCreatorPayload, LogSearchEventActionCreatorPayload, };
|
|
5
5
|
/**
|
|
6
6
|
* The generic analytics action creators.
|
|
7
7
|
*
|
|
@@ -9,7 +9,7 @@ import { type CreateArticleMetadata } from '../insight-search/insight-analytics-
|
|
|
9
9
|
import type { SmartSnippetFeedback } from '../question-answering/question-answering-analytics-actions.js';
|
|
10
10
|
import type { LogStaticFilterToggleValueActionCreatorPayload, StaticFilterValueMetadata } from '../static-filter-set/static-filter-set-actions.js';
|
|
11
11
|
import type { InsightAction } from './analytics-utils.js';
|
|
12
|
-
export type {
|
|
12
|
+
export type { CreateArticleMetadata, LogCategoryFacetBreadcrumbActionCreatorPayload, LogDateFacetBreadcrumbActionCreatorPayload, LogFacetBreadcrumbActionCreatorPayload, LogFacetDeselectActionCreatorPayload, LogFacetExcludeActionCreatorPayload, LogFacetSelectActionCreatorPayload, LogFacetUnexcludeActionCreatorPayload, LogFacetUpdateSortActionCreatorPayload, LogNumericFacetBreadcrumbActionCreatorPayload, LogStaticFilterToggleValueActionCreatorPayload, SmartSnippetFeedback, StaticFilterValueMetadata, };
|
|
13
13
|
/**
|
|
14
14
|
* The insight analytics action creators.
|
|
15
15
|
*
|
|
@@ -9,7 +9,7 @@ import type { QuestionAnsweringInlineLinkActionCreatorPayload, QuestionAnswering
|
|
|
9
9
|
import { type LogStaticFilterClearAllActionCreatorPayload, type LogStaticFilterToggleValueActionCreatorPayload, type StaticFilterValueMetadata } from '../static-filter-set/static-filter-set-actions.js';
|
|
10
10
|
import { type LogUndoTriggerQueryActionCreatorPayload } from '../triggers/trigger-analytics-actions.js';
|
|
11
11
|
import type { CustomAction, LegacySearchAction } from './analytics-utils.js';
|
|
12
|
-
export type { LogCategoryFacetBreadcrumbActionCreatorPayload,
|
|
12
|
+
export type { LogCategoryFacetBreadcrumbActionCreatorPayload, LogDateFacetBreadcrumbActionCreatorPayload, LogFacetBreadcrumbActionCreatorPayload, LogFacetDeselectActionCreatorPayload, LogFacetExcludeActionCreatorPayload, LogFacetSelectActionCreatorPayload, LogFacetUnexcludeActionCreatorPayload, LogFacetUpdateSortActionCreatorPayload, LogNumericFacetBreadcrumbActionCreatorPayload, LogQuerySuggestionClickActionCreatorPayload, LogStaticFilterClearAllActionCreatorPayload, LogStaticFilterToggleValueActionCreatorPayload, LogUndoTriggerQueryActionCreatorPayload, QuestionAnsweringInlineLinkActionCreatorPayload, QuestionAnsweringUniqueIdentifierActionCreatorPayload, SmartSnippetFeedback, StaticFilterValueMetadata, };
|
|
13
13
|
/**
|
|
14
14
|
* The search analytics action creators.
|
|
15
15
|
*
|
|
@@ -4,7 +4,7 @@ import { type ToggleExcludeDateFacetValuePayload, type ToggleSelectDateFacetValu
|
|
|
4
4
|
/**
|
|
5
5
|
* The date facet action creators.
|
|
6
6
|
*/
|
|
7
|
-
export type {
|
|
7
|
+
export type { ToggleExcludeDateFacetValuePayload, ToggleSelectDateFacetValuePayload, UpdateDateFacetValuesPayload, };
|
|
8
8
|
/**
|
|
9
9
|
* The date facet action creators.
|
|
10
10
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PayloadAction } from '@reduxjs/toolkit';
|
|
2
2
|
import type { CommerceEngine } from '../../../../app/commerce-engine/commerce-engine.js';
|
|
3
3
|
import { type ToggleExcludeNumericFacetValuePayload, type ToggleSelectNumericFacetValuePayload, type UpdateNumericFacetValuesPayload } from './numeric-facet-actions.js';
|
|
4
|
-
export type {
|
|
4
|
+
export type { ToggleExcludeNumericFacetValuePayload, ToggleSelectNumericFacetValuePayload, UpdateNumericFacetValuesPayload, };
|
|
5
5
|
/**
|
|
6
6
|
* The numeric facet action creators.
|
|
7
7
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PayloadAction } from '@reduxjs/toolkit';
|
|
2
2
|
import type { CommerceEngine } from '../../../app/commerce-engine/commerce-engine.js';
|
|
3
3
|
import { type NextPagePayload, type PreviousPagePayload, type RegisterRecommendationsSlotPaginationPayload, type SelectPagePayload, type SetPageSizePayload } from './pagination-actions.js';
|
|
4
|
-
export type {
|
|
4
|
+
export type { NextPagePayload, PreviousPagePayload, RegisterRecommendationsSlotPaginationPayload, SelectPagePayload, SetPageSizePayload, };
|
|
5
5
|
/**
|
|
6
6
|
* The pagination action creators.
|
|
7
7
|
*
|
|
@@ -2,7 +2,7 @@ import type { AsyncThunkAction, PayloadAction } from '@reduxjs/toolkit';
|
|
|
2
2
|
import type { AsyncThunkCommerceOptions } from '../../../api/commerce/commerce-api-client.js';
|
|
3
3
|
import type { CommerceEngine } from '../../../app/commerce-engine/commerce-engine.js';
|
|
4
4
|
import { type FetchBadgesPayload, type FetchBadgesThunkReturn, type RegisterProductEnrichmentOptionsPayload, type StateNeededByFetchBadges } from './product-enrichment-actions.js';
|
|
5
|
-
export type {
|
|
5
|
+
export type { FetchBadgesPayload, RegisterProductEnrichmentOptionsPayload };
|
|
6
6
|
/**
|
|
7
7
|
* The product enrichment action creators.
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@ import type { AsyncThunkAction, PayloadAction } from '@reduxjs/toolkit';
|
|
|
2
2
|
import type { AsyncThunkCommerceOptions } from '../../../api/commerce/commerce-api-client.js';
|
|
3
3
|
import type { CommerceEngine } from '../../../app/commerce-engine/commerce-engine.js';
|
|
4
4
|
import { type FetchMoreRecommendationsPayload, type FetchRecommendationsPayload, type PromoteChildToParentPayload, type QueryRecommendationsCommerceAPIThunkReturn, type RegisterRecommendationsSlotPayload, type StateNeededByFetchRecommendations } from './recommendations-actions.js';
|
|
5
|
-
export type {
|
|
5
|
+
export type { FetchMoreRecommendationsPayload, FetchRecommendationsPayload, RegisterRecommendationsSlotPayload, };
|
|
6
6
|
/**
|
|
7
7
|
* The recommendations action creators.
|
|
8
8
|
*
|
|
@@ -3,7 +3,7 @@ import type { AsyncThunkCommerceOptions } from '../../../api/commerce/commerce-a
|
|
|
3
3
|
import type { CommerceEngine } from '../../../app/commerce-engine/commerce-engine.js';
|
|
4
4
|
import { type FetchSearchPayload, type PrepareForSearchWithQueryPayload, type PromoteChildToParentPayload, type QuerySearchCommerceAPIThunkReturn } from './search-actions.js';
|
|
5
5
|
import type { StateNeededByExecuteSearch } from './search-actions-thunk-processor.js';
|
|
6
|
-
export type {
|
|
6
|
+
export type { FetchSearchPayload, PrepareForSearchWithQueryPayload };
|
|
7
7
|
/**
|
|
8
8
|
* The search action creators.
|
|
9
9
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RecordValue } from '@coveo/bueno';
|
|
2
2
|
import { buildRelevanceSortCriterion, type SortByFields as CoreSortByFields, type SortByFieldsFields as CoreSortByFieldsFields, SortBy, type SortByRelevance, SortDirection } from '../../sort/sort.js';
|
|
3
3
|
export type { SortByRelevance };
|
|
4
|
-
export { SortBy, SortDirection
|
|
4
|
+
export { buildRelevanceSortCriterion, SortBy, SortDirection };
|
|
5
5
|
export type SortByFields = Pick<CoreSortByFields, 'by'> & {
|
|
6
6
|
fields: SortByFieldsFields[];
|
|
7
7
|
};
|
|
@@ -2,7 +2,7 @@ import type { PayloadAction } from '@reduxjs/toolkit';
|
|
|
2
2
|
import type { CommerceEngine } from '../../../app/commerce-engine/commerce-engine.js';
|
|
3
3
|
import type { ApplyQueryTriggerModificationPayload } from '../../triggers/triggers-actions.js';
|
|
4
4
|
import { type UpdateIgnoreQueryTriggerPayload, updateIgnoreQueryTrigger } from './triggers-actions.js';
|
|
5
|
-
export type {
|
|
5
|
+
export type { ApplyQueryTriggerModificationPayload, UpdateIgnoreQueryTriggerPayload, updateIgnoreQueryTrigger, };
|
|
6
6
|
/**
|
|
7
7
|
* The triggers action creators.
|
|
8
8
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PayloadAction } from '@reduxjs/toolkit';
|
|
2
2
|
import type { CoreEngine, CoreEngineNext } from '../../app/engine.js';
|
|
3
3
|
import { type AnalyticsRuntimeEnvironment, type SetOriginLevel2ActionCreatorPayload, type SetOriginLevel3ActionCreatorPayload, type UpdateAnalyticsConfigurationActionCreatorPayload, type UpdateBasicConfigurationActionCreatorPayload } from './configuration-actions.js';
|
|
4
|
-
export type { SetOriginLevel2ActionCreatorPayload, SetOriginLevel3ActionCreatorPayload, UpdateAnalyticsConfigurationActionCreatorPayload,
|
|
4
|
+
export type { AnalyticsRuntimeEnvironment, SetOriginLevel2ActionCreatorPayload, SetOriginLevel3ActionCreatorPayload, UpdateAnalyticsConfigurationActionCreatorPayload, UpdateBasicConfigurationActionCreatorPayload, };
|
|
5
5
|
/**
|
|
6
6
|
* The configuration action creators.
|
|
7
7
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PayloadAction } from '@reduxjs/toolkit';
|
|
2
2
|
import type { SearchEngine } from '../../app/search-engine/search-engine.js';
|
|
3
3
|
import { type DisableFacetActionCreatorPayload, type EnableFacetActionCreatorPayload, type UpdateFacetOptionsActionCreatorPayload } from './facet-options-actions.js';
|
|
4
|
-
export type {
|
|
4
|
+
export type { DisableFacetActionCreatorPayload, EnableFacetActionCreatorPayload, UpdateFacetOptionsActionCreatorPayload, };
|
|
5
5
|
/**
|
|
6
6
|
* The facetOptions action creators.
|
|
7
7
|
*
|
|
@@ -2,7 +2,7 @@ import type { PayloadAction } from '@reduxjs/toolkit';
|
|
|
2
2
|
import type { SearchEngine } from '../../../app/search-engine/search-engine.js';
|
|
3
3
|
import { type UpdateFacetAutoSelectionActionCreatorPayload } from '../generic/facet-actions.js';
|
|
4
4
|
import { type RegisterCategoryFacetActionCreatorPayload, type ToggleSelectCategoryFacetValueActionCreatorPayload, type UpdateCategoryFacetBasePathActionCreatorPayload, type UpdateCategoryFacetNumberOfValuesActionCreatorPayload, type UpdateCategoryFacetSortCriterionActionCreatorPayload } from './category-facet-set-actions.js';
|
|
5
|
-
export type { RegisterCategoryFacetActionCreatorPayload, ToggleSelectCategoryFacetValueActionCreatorPayload, UpdateCategoryFacetNumberOfValuesActionCreatorPayload, UpdateCategoryFacetSortCriterionActionCreatorPayload,
|
|
5
|
+
export type { RegisterCategoryFacetActionCreatorPayload, ToggleSelectCategoryFacetValueActionCreatorPayload, UpdateCategoryFacetBasePathActionCreatorPayload, UpdateCategoryFacetNumberOfValuesActionCreatorPayload, UpdateCategoryFacetSortCriterionActionCreatorPayload, UpdateFacetAutoSelectionActionCreatorPayload, };
|
|
6
6
|
/**
|
|
7
7
|
* The category facet set action creators.
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@ import type { PayloadAction } from '@reduxjs/toolkit';
|
|
|
2
2
|
import type { SearchEngine } from '../../../app/search-engine/search-engine.js';
|
|
3
3
|
import { type UpdateFacetAutoSelectionActionCreatorPayload } from '../generic/facet-actions.js';
|
|
4
4
|
import { type RegisterFacetActionCreatorPayload, type ToggleSelectFacetValueActionCreatorPayload, type UpdateFacetIsFieldExpandedActionCreatorPayload, type UpdateFacetNumberOfValuesActionCreatorPayload, type UpdateFacetSortCriterionActionCreatorPayload, type UpdateFreezeCurrentValuesActionCreatorPayload } from './facet-set-actions.js';
|
|
5
|
-
export type { RegisterFacetActionCreatorPayload, ToggleSelectFacetValueActionCreatorPayload, UpdateFacetIsFieldExpandedActionCreatorPayload, UpdateFacetNumberOfValuesActionCreatorPayload, UpdateFacetSortCriterionActionCreatorPayload, UpdateFreezeCurrentValuesActionCreatorPayload,
|
|
5
|
+
export type { RegisterFacetActionCreatorPayload, ToggleSelectFacetValueActionCreatorPayload, UpdateFacetAutoSelectionActionCreatorPayload, UpdateFacetIsFieldExpandedActionCreatorPayload, UpdateFacetNumberOfValuesActionCreatorPayload, UpdateFacetSortCriterionActionCreatorPayload, UpdateFreezeCurrentValuesActionCreatorPayload, };
|
|
6
6
|
/**
|
|
7
7
|
* The facet set action creators.
|
|
8
8
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ConfigurationSection, FoldingSection, InsightConfigurationSection, QuerySection } from '../../state/state-sections.js';
|
|
2
2
|
import { type LoadCollectionFulfilledReturn, type RegisterFoldingActionCreatorPayload } from '../folding/folding-actions.js';
|
|
3
|
-
export type {
|
|
3
|
+
export type { LoadCollectionFulfilledReturn, RegisterFoldingActionCreatorPayload, };
|
|
4
4
|
export declare const registerFolding: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: RegisterFoldingActionCreatorPayload], RegisterFoldingActionCreatorPayload, "folding/register", never, never>;
|
|
5
5
|
export type StateNeededByLoadCollection = ConfigurationSection & FoldingSection & QuerySection & InsightConfigurationSection;
|
|
6
6
|
export declare const loadCollection: import("@reduxjs/toolkit").AsyncThunk<LoadCollectionFulfilledReturn, string, {
|