@coveo/quantic 3.36.8 → 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/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/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 -6
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-actions.d.ts +10 -6
- 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-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 +1 -1
- 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-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 +1 -1
- 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/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/utils/query-expression/query-expression.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/headless.js +16 -16
- package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +16 -16
- 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
|
@@ -6,7 +6,7 @@ import type { SearchAppState } from '../../state/search-app-state.js';
|
|
|
6
6
|
import { type CoreEngine, type ExternalEngineOptions } from '../engine.js';
|
|
7
7
|
import type { SearchThunkExtraArguments } from '../search-thunk-extra-arguments.js';
|
|
8
8
|
import { getSampleSearchEngineConfiguration, type SearchConfigurationOptions, type SearchEngineConfiguration } from './search-engine-configuration.js';
|
|
9
|
-
export type {
|
|
9
|
+
export type { SearchConfigurationOptions, SearchEngineConfiguration };
|
|
10
10
|
export { getSampleSearchEngineConfiguration };
|
|
11
11
|
declare const searchEngineReducers: {
|
|
12
12
|
debug: import("@reduxjs/toolkit").Reducer<boolean> & {
|
package/force-app/main/default/staticresources/coveoheadless/definitions/commerce.index.d.ts
CHANGED
|
@@ -21,10 +21,15 @@ import * as HighlightUtils from './utils/highlight.js';
|
|
|
21
21
|
export type { Relay } from '@coveo/relay';
|
|
22
22
|
export type { Middleware, Unsubscribe } from '@reduxjs/toolkit';
|
|
23
23
|
export { getCommerceApiBaseUrl } from './api/commerce/commerce-api-client.js';
|
|
24
|
+
export type { CartItemParam } from './api/commerce/commerce-api-params.js';
|
|
24
25
|
export type { BaseProduct, ChildProduct, Product, } from './api/commerce/common/product.js';
|
|
25
26
|
export type { BaseResult, Result, SpotlightContent, } from './api/commerce/common/result.js';
|
|
26
27
|
export { ResultType } from './api/commerce/common/result.js';
|
|
28
|
+
export type { Badge, BadgePlacement, BadgesProduct, } from './api/commerce/product-enrichment/product-enrichment-response.js';
|
|
27
29
|
export { getAnalyticsNextApiBaseUrl, getOrganizationEndpoint, } from './api/platform-client.js';
|
|
30
|
+
export { deserializeRelativeDate, validateRelativeDate, } from './api/search/date/relative-date.js';
|
|
31
|
+
export type { CategoryFacetSearchResult } from './api/search/facet-search/category-facet-search/category-facet-search-response.js';
|
|
32
|
+
export type { SpecificFacetSearchResult as RegularFacetSearchResult } from './api/search/facet-search/specific-facet-search/specific-facet-search-response.js';
|
|
28
33
|
export type { CommerceEngine, CommerceEngineConfiguration, CommerceEngineOptions, } from './app/commerce-engine/commerce-engine.js';
|
|
29
34
|
export { buildCommerceEngine } from './app/commerce-engine/commerce-engine.js';
|
|
30
35
|
export { getSampleCommerceEngineConfiguration } from './app/commerce-engine/commerce-engine-configuration.js';
|
|
@@ -32,40 +37,6 @@ export type { CoreEngine, CoreEngineNext, ExternalEngineOptions, } from './app/e
|
|
|
32
37
|
export type { AnalyticsConfiguration, AnalyticsRuntimeEnvironment, EngineConfiguration, } from './app/engine-configuration.js';
|
|
33
38
|
export type { LoggerOptions, LogLevel } from './app/logger.js';
|
|
34
39
|
export type { NavigatorContext } from './app/navigator-context-provider.js';
|
|
35
|
-
export * from './features/commerce/configuration/configuration-actions-loader.js';
|
|
36
|
-
export * from './features/commerce/context/cart/cart-actions-loader.js';
|
|
37
|
-
export * from './features/commerce/context/context-actions-loader.js';
|
|
38
|
-
export * from './features/commerce/facets/category-facet/category-facet-actions-loader.js';
|
|
39
|
-
export * from './features/commerce/facets/core-facet/core-facet-actions-loader.js';
|
|
40
|
-
export * from './features/commerce/facets/date-facet/date-facet-actions-loader.js';
|
|
41
|
-
export * from './features/commerce/facets/location-facet/location-facet-actions-loader.js';
|
|
42
|
-
export * from './features/commerce/facets/numeric-facet/numeric-facet-actions-loader.js';
|
|
43
|
-
export * from './features/commerce/facets/regular-facet/regular-facet-actions-loader.js';
|
|
44
|
-
export * from './features/commerce/instant-products/instant-products-actions-loader.js';
|
|
45
|
-
export * from './features/commerce/pagination/pagination-actions-loader.js';
|
|
46
|
-
export * from './features/commerce/product/product-actions-loaders.js';
|
|
47
|
-
export * from './features/commerce/product-enrichment/product-enrichment-actions-loader.js';
|
|
48
|
-
export * from './features/commerce/product-listing/product-listing-actions-loader.js';
|
|
49
|
-
export * from './features/commerce/product-listing-parameters/product-listing-parameters-actions-loader.js';
|
|
50
|
-
export * from './features/commerce/query/query-actions-loader.js';
|
|
51
|
-
export * from './features/commerce/query-set/query-set-actions-loader.js';
|
|
52
|
-
export * from './features/commerce/query-suggest/query-suggest-actions-loader.js';
|
|
53
|
-
export * from './features/commerce/recent-queries/recent-queries-actions-loader.js';
|
|
54
|
-
export * from './features/commerce/recommendations/recommendations-actions-loader.js';
|
|
55
|
-
export * from './features/commerce/search/search-actions-loader.js';
|
|
56
|
-
export * from './features/commerce/search-parameters/search-parameters-actions-loader.js';
|
|
57
|
-
export * from './features/commerce/sort/sort-actions-loader.js';
|
|
58
|
-
export * from './features/commerce/spotlight-content/spotlight-content-actions-loaders.js';
|
|
59
|
-
export * from './features/commerce/standalone-search-box-set/standalone-search-box-set-actions-loader.js';
|
|
60
|
-
export * from './features/commerce/triggers/triggers-actions-loader.js';
|
|
61
|
-
export type { HighlightKeyword } from './utils/highlight.js';
|
|
62
|
-
export type { PlatformEnvironment } from './utils/url-utils.js';
|
|
63
|
-
export { Selectors };
|
|
64
|
-
export type { CartItemParam } from './api/commerce/commerce-api-params.js';
|
|
65
|
-
export type { Badge, BadgePlacement, BadgesProduct, } from './api/commerce/product-enrichment/product-enrichment-response.js';
|
|
66
|
-
export { deserializeRelativeDate, validateRelativeDate, } from './api/search/date/relative-date.js';
|
|
67
|
-
export type { CategoryFacetSearchResult } from './api/search/facet-search/category-facet-search/category-facet-search-response.js';
|
|
68
|
-
export type { SpecificFacetSearchResult as RegularFacetSearchResult } from './api/search/facet-search/specific-facet-search/specific-facet-search-response.js';
|
|
69
40
|
export type { Cart, CartInitialState, CartItem, CartProps, CartState, } from './controllers/commerce/context/cart/headless-cart.js';
|
|
70
41
|
export { buildCart } from './controllers/commerce/context/cart/headless-cart.js';
|
|
71
42
|
export type { Context, ContextOptions, ContextProps, ContextState, CustomContext, UserLocation, View, } from './controllers/commerce/context/headless-context.js';
|
|
@@ -133,16 +104,44 @@ export type { NotifyTrigger, NotifyTriggerState, } from './controllers/core/trig
|
|
|
133
104
|
export type { QueryTrigger, QueryTriggerState, } from './controllers/core/triggers/headless-core-query-trigger.js';
|
|
134
105
|
export type { RedirectionTrigger, RedirectionTriggerState, } from './controllers/core/triggers/headless-core-redirection-trigger.js';
|
|
135
106
|
export type { StandaloneSearchBoxOptions, StandaloneSearchBoxProps, } from './controllers/standalone-search-box/headless-standalone-search-box.ts';
|
|
107
|
+
export * from './features/commerce/configuration/configuration-actions-loader.js';
|
|
108
|
+
export * from './features/commerce/context/cart/cart-actions-loader.js';
|
|
136
109
|
export type { Transaction } from './features/commerce/context/cart/cart-selector.js';
|
|
137
110
|
export type { CartItemWithMetadata } from './features/commerce/context/cart/cart-state.js';
|
|
111
|
+
export * from './features/commerce/context/context-actions-loader.js';
|
|
112
|
+
export * from './features/commerce/facets/category-facet/category-facet-actions-loader.js';
|
|
113
|
+
export * from './features/commerce/facets/core-facet/core-facet-actions-loader.js';
|
|
114
|
+
export * from './features/commerce/facets/date-facet/date-facet-actions-loader.js';
|
|
138
115
|
export type { FieldSuggestionsFacet } from './features/commerce/facets/field-suggestions-order/field-suggestions-order-state.ts';
|
|
116
|
+
export * from './features/commerce/facets/location-facet/location-facet-actions-loader.js';
|
|
117
|
+
export * from './features/commerce/facets/numeric-facet/numeric-facet-actions-loader.js';
|
|
118
|
+
export * from './features/commerce/facets/regular-facet/regular-facet-actions-loader.js';
|
|
119
|
+
export * from './features/commerce/instant-products/instant-products-actions-loader.js';
|
|
120
|
+
export * from './features/commerce/pagination/pagination-actions-loader.js';
|
|
139
121
|
export type { Parameters } from './features/commerce/parameters/parameters-actions.js';
|
|
122
|
+
export { productListingSerializer, searchSerializer, } from './features/commerce/parameters/parameters-serializer.js';
|
|
123
|
+
export * from './features/commerce/product/product-actions-loaders.js';
|
|
124
|
+
export * from './features/commerce/product-enrichment/product-enrichment-actions-loader.js';
|
|
125
|
+
export * from './features/commerce/product-listing/product-listing-actions-loader.js';
|
|
126
|
+
export * from './features/commerce/product-listing-parameters/product-listing-parameters-actions-loader.js';
|
|
140
127
|
export { ProductTemplatesHelpers } from './features/commerce/product-templates/product-templates-helpers.js';
|
|
141
128
|
export type { ProductTemplate, ProductTemplateCondition, ProductTemplatesManager, } from './features/commerce/product-templates/product-templates-manager.js';
|
|
142
129
|
export { buildProductTemplatesManager } from './features/commerce/product-templates/product-templates-manager.js';
|
|
130
|
+
export * from './features/commerce/query/query-actions-loader.js';
|
|
131
|
+
export * from './features/commerce/query-set/query-set-actions-loader.js';
|
|
132
|
+
export * from './features/commerce/query-suggest/query-suggest-actions-loader.js';
|
|
133
|
+
export * from './features/commerce/recent-queries/recent-queries-actions-loader.js';
|
|
134
|
+
export * from './features/commerce/recommendations/recommendations-actions-loader.js';
|
|
135
|
+
export * from './features/commerce/search/search-actions-loader.js';
|
|
143
136
|
export type { CommerceSearchParameters } from './features/commerce/search-parameters/search-parameters-actions.js';
|
|
137
|
+
export * from './features/commerce/search-parameters/search-parameters-actions-loader.js';
|
|
138
|
+
export * from './features/commerce/sort/sort-actions-loader.js';
|
|
139
|
+
export * from './features/commerce/spotlight-content/spotlight-content-actions-loaders.js';
|
|
140
|
+
export * from './features/commerce/standalone-search-box-set/standalone-search-box-set-actions-loader.js';
|
|
141
|
+
export * from './features/commerce/triggers/triggers-actions-loader.js';
|
|
144
142
|
export type { SearchParameters } from './features/search-parameters/search-parameter-actions.js';
|
|
145
143
|
export type { Template } from './features/templates/templates-manager.ts';
|
|
146
|
-
export {
|
|
147
|
-
export {
|
|
144
|
+
export type { HighlightKeyword } from './utils/highlight.js';
|
|
145
|
+
export type { PlatformEnvironment } from './utils/url-utils.js';
|
|
148
146
|
export { VERSION } from './utils/version.js';
|
|
147
|
+
export { HighlightUtils, Selectors };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { SearchEngine } from '../../app/search-engine/search-engine.js';
|
|
2
2
|
import type { FacetValue } from '../../features/facets/facet-set/interfaces/response.js';
|
|
3
3
|
import { type Breadcrumb, type BreadcrumbValue, type CategoryFacetBreadcrumb, type BreadcrumbManager as CoreBreadcrumbManager, type BreadcrumbManagerState as CoreBreadcrumbManagerState, type DateFacetBreadcrumb, type DeselectableValue, type FacetBreadcrumb, type NumericFacetBreadcrumb, type StaticFilterBreadcrumb } from '../core/breadcrumb-manager/headless-core-breadcrumb-manager.js';
|
|
4
|
-
export type {
|
|
4
|
+
export type { Breadcrumb, BreadcrumbValue, CategoryFacetBreadcrumb, CoreBreadcrumbManager, CoreBreadcrumbManagerState, DateFacetBreadcrumb, DeselectableValue, FacetBreadcrumb, NumericFacetBreadcrumb, StaticFilterBreadcrumb, };
|
|
5
5
|
/**
|
|
6
6
|
* The `BreadcrumbManager` headless controller manages a summary of the currently active facet filters.
|
|
7
7
|
*
|
|
@@ -9,7 +9,7 @@ import type { CoreFacetState, CoreFacet as HeadlessCoreFacet } from '../../../co
|
|
|
9
9
|
import type { DateRangeRequest } from '../../../core/facets/range-facet/date-facet/headless-core-date-facet.js';
|
|
10
10
|
import type { NumericRangeRequest } from '../../../core/facets/range-facet/numeric-facet/headless-core-numeric-facet.js';
|
|
11
11
|
import type { FetchProductsActionCreator, ToggleActionCreator } from '../common.js';
|
|
12
|
-
export type {
|
|
12
|
+
export type { BaseFacetValue, CategoryFacetValue, CategoryFacetValueRequest, DateFacetValue, DateRangeRequest, FacetType, FacetValueRequest, LocationFacetValue, LocationFacetValueRequest, NumericFacetValue, NumericRangeRequest, RegularFacetValue, };
|
|
13
13
|
export interface FacetControllerType<T extends FacetType> {
|
|
14
14
|
type: T;
|
|
15
15
|
}
|
|
@@ -2,8 +2,8 @@ import type { CommerceEngine } from '../../../../app/commerce-engine/commerce-en
|
|
|
2
2
|
import { buildFieldsSortCriterion, buildRelevanceSortCriterion, SortBy, type SortByFields, type SortByFieldsFields, type SortByRelevance, type SortCriterion, SortDirection } from '../../../../features/commerce/sort/sort.js';
|
|
3
3
|
import { type Controller } from '../../../controller/headless-controller.js';
|
|
4
4
|
import type { FetchProductsActionCreator } from '../common.js';
|
|
5
|
-
export type {
|
|
6
|
-
export {
|
|
5
|
+
export type { SortByFields, SortByFieldsFields, SortByRelevance, SortCriterion };
|
|
6
|
+
export { buildFieldsSortCriterion, buildRelevanceSortCriterion, SortBy, SortDirection, };
|
|
7
7
|
export interface SortProps {
|
|
8
8
|
/**
|
|
9
9
|
* The initial state that should be applied to this `Sort` sub-controller.
|
|
@@ -4,7 +4,7 @@ import type { Parameters } from '../../../../features/commerce/parameters/parame
|
|
|
4
4
|
import type { Serializer } from '../../../../features/commerce/parameters/parameters-serializer.js';
|
|
5
5
|
import { type UrlManagerProps as BaseUrlManagerProps, type UrlManager, type UrlManagerInitialState, type UrlManagerState } from '../../../url-manager/headless-url-manager.js';
|
|
6
6
|
import type { ParameterManager, ParameterManagerProps } from '../parameter-manager/headless-core-parameter-manager.js';
|
|
7
|
-
export type { UrlManager, UrlManagerInitialState, UrlManagerState,
|
|
7
|
+
export type { BaseUrlManagerProps, UrlManager, UrlManagerInitialState, UrlManagerState, };
|
|
8
8
|
export interface UrlManagerProps extends BaseUrlManagerProps {
|
|
9
9
|
/**
|
|
10
10
|
* Whether the controller's state should exclude the default parameters returned by the Commerce API, and only include
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { CommerceEngine } from '../../../app/commerce-engine/commerce-engine.js';
|
|
2
2
|
import { type Controller } from '../../controller/headless-controller.js';
|
|
3
3
|
import type { RecentQueriesListInitialState, RecentQueriesListOptions, RecentQueriesListProps } from '../../recent-queries-list/headless-recent-queries-list.js';
|
|
4
|
-
export type {
|
|
4
|
+
export type { RecentQueriesListInitialState, RecentQueriesListOptions, RecentQueriesListProps, };
|
|
5
5
|
/**
|
|
6
6
|
* The `RecentQueriesList` controller manages the user's recent queries.
|
|
7
7
|
*
|
|
@@ -2,7 +2,7 @@ import type { QueryCorrection, WordCorrection } from '../../../../api/search/sea
|
|
|
2
2
|
import type { CommerceEngine } from '../../../../app/commerce-engine/commerce-engine.js';
|
|
3
3
|
import { type Controller } from '../../../controller/headless-controller.js';
|
|
4
4
|
import type { DidYouMeanState } from '../../../did-you-mean/headless-did-you-mean.js';
|
|
5
|
-
export type { QueryCorrection, WordCorrection
|
|
5
|
+
export type { DidYouMeanState, QueryCorrection, WordCorrection };
|
|
6
6
|
/**
|
|
7
7
|
* The `DidYouMean` controller is responsible for handling query corrections.
|
|
8
8
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { CommerceEngine } from '../../../app/commerce-engine/commerce-engine.js';
|
|
2
2
|
import { type SearchBox as CoreSearchBox, type SearchBoxState, type Suggestion } from '../../core/search-box/headless-core-search-box.js';
|
|
3
3
|
import { type SearchBoxOptions } from './headless-search-box-options.js';
|
|
4
|
-
export type { SearchBoxOptions, SearchBoxState, Suggestion
|
|
4
|
+
export type { CoreSearchBox, SearchBoxOptions, SearchBoxState, Suggestion };
|
|
5
5
|
export interface SearchBoxProps {
|
|
6
6
|
/**
|
|
7
7
|
* The `SearchBox` controller options.
|
|
@@ -2,7 +2,7 @@ import type { CoreEngine } from '../../app/engine.js';
|
|
|
2
2
|
import type { ContextPayload, ContextValue } from '../../features/context/context-state.js';
|
|
3
3
|
import type { ContextInitialState } from './../core/context/headless-core-context.js';
|
|
4
4
|
import { type Context, type ContextProps, type ContextState } from '../core/context/headless-core-context.js';
|
|
5
|
-
export type { Context,
|
|
5
|
+
export type { Context, ContextInitialState, ContextPayload, ContextProps, ContextState, ContextValue, };
|
|
6
6
|
/**
|
|
7
7
|
* Creates a `Context` controller instance.
|
|
8
8
|
*
|
|
@@ -4,7 +4,7 @@ import type { CategoryFacetSortCriterion } from '../../../../features/facets/cat
|
|
|
4
4
|
import type { CategoryFacetValue } from '../../../../features/facets/category-facet-set/interfaces/response.js';
|
|
5
5
|
import { type Controller } from '../../../controller/headless-controller.js';
|
|
6
6
|
import { type CategoryFacetOptions, type CategoryFacetSearchOptions } from './headless-core-category-facet-options.js';
|
|
7
|
-
export type {
|
|
7
|
+
export type { CategoryFacetOptions, CategoryFacetSearchOptions, CategoryFacetValue, CategoryFacetValueCommon, };
|
|
8
8
|
export interface CategoryFacetProps {
|
|
9
9
|
/** The options for the `CategoryFacet` controller. */
|
|
10
10
|
options: CategoryFacetOptions;
|
|
@@ -5,7 +5,7 @@ import type { NumericFacetValue } from '../../../../../features/facets/range-fac
|
|
|
5
5
|
import type { Controller } from '../../../../controller/headless-controller.js';
|
|
6
6
|
import { type NumericFacetOptions } from './headless-numeric-facet-options.js';
|
|
7
7
|
import { buildNumericRange, type NumericRangeOptions } from './numeric-range.js';
|
|
8
|
-
export type { NumericRangeOptions, NumericRangeRequest
|
|
8
|
+
export type { NumericFacetOptions, NumericRangeOptions, NumericRangeRequest };
|
|
9
9
|
export { buildNumericRange };
|
|
10
10
|
export interface NumericFacetProps {
|
|
11
11
|
/**
|
|
@@ -7,7 +7,7 @@ import { type SearchAction, type TransitiveSearchAction } from '../../../feature
|
|
|
7
7
|
import { type Delimiters, type SuggestionHighlightingOptions } from '../../../utils/highlight.js';
|
|
8
8
|
import { type Controller } from '../../controller/headless-controller.js';
|
|
9
9
|
import { type SearchBoxOptions } from './headless-core-search-box-options.js';
|
|
10
|
-
export type { SearchBoxOptions, SuggestionHighlightingOptions
|
|
10
|
+
export type { Delimiters, SearchBoxOptions, SuggestionHighlightingOptions };
|
|
11
11
|
export type SearchBoxProps = SearchBoxPropsBase & (NextSearchBoxProps | LegacySearchBoxProps);
|
|
12
12
|
interface NextSearchBoxProps {
|
|
13
13
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { QueryCorrection, WordCorrection } from '../../api/search/search/query-corrections.js';
|
|
2
2
|
import type { SearchEngine } from '../../app/search-engine/search-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 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 { SearchEngine } from '../../app/search-engine/search-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 a `FacetManager` instance.
|
|
6
6
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { SearchEngine } from '../../../app/search-engine/search-engine.js';
|
|
2
2
|
import { type CategoryFacet, type CategoryFacetProps, type CategoryFacetSearch, type CategoryFacetSearchResult, type CategoryFacetSearchState, type CategoryFacetState, type CoreCategoryFacet, type CoreCategoryFacetState } from '../../core/facets/category-facet/headless-core-category-facet.js';
|
|
3
3
|
import type { CategoryFacetOptions, CategoryFacetSearchOptions } from '../../core/facets/category-facet/headless-core-category-facet-options.js';
|
|
4
|
-
export type {
|
|
4
|
+
export type { CategoryFacet, CategoryFacetOptions, CategoryFacetProps, CategoryFacetSearch, CategoryFacetSearchOptions, CategoryFacetSearchResult, CategoryFacetSearchState, CategoryFacetState, CoreCategoryFacet, CoreCategoryFacetState, };
|
|
5
5
|
/**
|
|
6
6
|
* Creates a `CategoryFacet` controller instance.
|
|
7
7
|
*
|
|
@@ -2,7 +2,7 @@ import type { SearchEngine } from '../../../app/search-engine/search-engine.js';
|
|
|
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 FacetOptions, type FacetSearchOptions } from './headless-facet-options.js';
|
|
5
|
-
export type {
|
|
5
|
+
export type { CoreFacet, 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 { SearchEngine } from '../../../../app/search-engine/search-engine.j
|
|
|
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 a `DateFacet` controller instance.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SearchEngine } from '../../../../app/search-engine/search-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 a `DateFilter` controller instance.
|
|
6
6
|
* @param engine - The headless engine.
|
|
@@ -2,7 +2,7 @@ import type { SearchEngine } from '../../../../app/search-engine/search-engine.j
|
|
|
2
2
|
import type { NumericRangeRequest } from '../../../../features/facets/range-facets/numeric-facet-set/interfaces/request.js';
|
|
3
3
|
import type { NumericFacetValue } from '../../../../features/facets/range-facets/numeric-facet-set/interfaces/response.js';
|
|
4
4
|
import { buildNumericRange, type NumericFacet, type NumericFacetOptions, type NumericFacetProps, type NumericFacetState, type NumericRangeOptions } from '../../../core/facets/range-facet/numeric-facet/headless-core-numeric-facet.js';
|
|
5
|
-
export type {
|
|
5
|
+
export type { NumericFacet, NumericFacetOptions, NumericFacetProps, NumericFacetState, NumericFacetValue, NumericRangeOptions, NumericRangeRequest, };
|
|
6
6
|
export { buildNumericRange };
|
|
7
7
|
/**
|
|
8
8
|
* Creates a `NumericFacet` controller instance.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SearchEngine } from '../../../../app/search-engine/search-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 a `NumericFilter` controller instance.
|
|
6
6
|
* @param engine - The headless engine.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SearchEngine } from '../../app/search-engine/search-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 FoldedResultListProps {
|
|
5
5
|
/**
|
|
6
6
|
* The options for the `FoldedResultList` controller.
|
|
@@ -4,7 +4,7 @@ import type { GeneratedAnswerBase, GeneratedAnswerState, GenerationStep, Generat
|
|
|
4
4
|
import type { GeneratedResponseFormat } from '../../features/generated-answer/generated-response-format.js';
|
|
5
5
|
import type { GeneratedAnswer, GeneratedAnswerProps, GeneratedAnswerPropsInitialState } from '../core/generated-answer/headless-core-generated-answer.js';
|
|
6
6
|
import { type GeneratedAnswerWithFollowUps, type GeneratedAnswerWithFollowUpsState } from '../knowledge/generated-answer/headless-generated-answer-with-follow-ups.js';
|
|
7
|
-
export type {
|
|
7
|
+
export type { GeneratedAnswer, GeneratedAnswerBase, GeneratedAnswerCitation, GeneratedAnswerProps, GeneratedAnswerPropsInitialState, GeneratedAnswerState, GeneratedAnswerWithFollowUps, GeneratedAnswerWithFollowUpsState, GeneratedResponseFormat, GenerationStep, GenerationStepName, };
|
|
8
8
|
/**
|
|
9
9
|
* Creates a `GeneratedAnswer` controller instance.
|
|
10
10
|
|
|
@@ -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
|
*
|