@coveo/quantic 3.30.1 → 3.30.2-pre.05fd9d4454
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -13
- package/force-app/main/default/staticresources/coveoheadless/case-assist/headless.js +10 -8
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/analytics/analytics-relay-client.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/analytics/analytics-selectors.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/stream-answer-api.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/case-assist-engine/case-assist-engine.d.ts +3 -3
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-engine/commerce-engine.d.ts +16 -16
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/common-reducers.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/insight-engine/insight-engine.d.ts +5 -5
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/recommendation-engine/recommendation-engine.d.ts +4 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/search-engine/search-engine.d.ts +4 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/store.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/context/cart/headless-cart-selectors.d.ts +8 -8
- 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/product-listing/facets/headless-product-listing-facet-options.d.ts +4 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/search/facets/headless-search-facet-options.d.ts +4 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/headless-core-range-facet.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/actions-history/ipx-actions-history-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/advanced-search-queries/advanced-search-queries-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/advanced-search-queries/advanced-search-query-selectors.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/attached-results/attached-results-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/case-assist-configuration/case-assist-configuration-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/case-context/case-context-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/case-field/case-field-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/case-field/case-field-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/case-input/case-input-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/configuration/configuration-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/context/cart/cart-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/context/cart/cart-selector.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/context/cart/cart-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/context/context-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/did-you-mean/did-you-mean-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/facet-search-set/commerce-facet-search-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/facet-set/facet-set-selector.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/facet-set/facet-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/field-suggestions-order/field-suggestions-order-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/numeric-facet/manual-numeric-facet-selectors.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/numeric-facet/manual-numeric-facet-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/instant-products/instant-products-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/pagination/pagination-selectors.d.ts +12 -12
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/pagination/pagination-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/parameters/parameters-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/product/product-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/product-listing/product-listing-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/product-listing/product-listing-selectors.d.ts +14 -14
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/product-listing/product-listing-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/query/query-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/query-suggest/query-suggest-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/recent-queries/recent-queries-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/recommendations/recommendations-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/recommendations/recommendations-selectors.d.ts +6 -6
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/recommendations/recommendations-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/search/search-actions.d.ts +4 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/search/search-selectors.d.ts +16 -16
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/search/search-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/sort/sort-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/standalone-search-box-set/standalone-search-box-set-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/standalone-search-box-set/standalone-search-box-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/triggers/triggers-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/configuration/configuration-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/context/context-selector.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/context/context-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/debug/debug-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/debug/version-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/dictionary-field-context/dictionary-field-context-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/did-you-mean/did-you-mean-selectors.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/did-you-mean/did-you-mean-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/document-suggestion/document-suggestion-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/document-suggestion/document-suggestion-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/excerpt-length/excerpt-length-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facet-options/facet-options-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/automatic-facet-set/automatic-facet-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/category-facet-set/category-facet-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-order/facet-order-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-search-set/category/category-facet-search-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-search-set/category/category-facet-search-state-selector.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-search-set/generic/generic-facet-search-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-search-set/specific/specific-facet-search-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-search-set/specific/specific-facet-search-state-selector.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-set/facet-set-controller-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-set/facet-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/date-facet-set/date-facet-controller-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/date-facet-set/date-facet-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/numeric-facet-set/numeric-facet-controller-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/numeric-facet-set/numeric-facet-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/fields/fields-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/fields/fields-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/folding/folding-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/folding/folding-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/folding/insight-folding-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/answer-api-selectors.d.ts +41 -33
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-selectors.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/history/history-actions.d.ts +3 -3
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/history/history-slice.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-configuration/insight-configuration-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-interface/insight-interface-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-interface/insight-interface-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-search/insight-search-actions.d.ts +5 -5
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-search/legacy/insight-search-actions.d.ts +4 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-user-actions/insight-user-actions-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-user-actions/insight-user-actions-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/instant-results/instant-results-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/pagination/pagination-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/pipeline/pipeline-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/pipeline/select-pipeline.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/query/query-selectors.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/query/query-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/query-set/query-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/query-suggest/query-suggest-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/query-suggest/query-suggest-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/question-answering/question-answering-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/recent-queries/recent-queries-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/recent-results/recent-results-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/recommendation/recommendation-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/recommendation/recommendation-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/result-preview/result-preview-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/result-preview/result-preview-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/legacy/search-actions.d.ts +5 -5
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/search-actions.d.ts +6 -6
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/search-selectors.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/search-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/search-hub/search-hub-selectors.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/search-hub/search-hub-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/sort-criteria/sort-criteria-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/standalone-search-box-set/standalone-search-box-set-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/standalone-search-box-set/standalone-search-box-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/static-filter-set/static-filter-set-selectors.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/static-filter-set/static-filter-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/tab-set/tab-set-selectors.d.ts +4 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/tab-set/tab-set-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/triggers/triggers-slice.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/search/engine/search-engine.ssr.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/test/mock-ssr-controller-definitions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/headless.js +5 -3
- package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +5 -3
- package/force-app/main/default/staticresources/coveoheadless/recommendation/headless.js +9 -7
- package/package.json +17 -12
|
@@ -19,7 +19,7 @@ export declare const getRelayInstanceFromState: ((state: StateNeededByRelay, nav
|
|
|
19
19
|
dependencyRecomputations: () => number;
|
|
20
20
|
resetDependencyRecomputations: () => void;
|
|
21
21
|
} & {
|
|
22
|
-
argsMemoize: typeof import("
|
|
23
|
-
memoize: typeof import("
|
|
22
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
23
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
24
24
|
};
|
|
25
25
|
export {};
|
|
@@ -17,6 +17,6 @@ export declare const getAnalyticsSource: ((state: CoreAnalyticsState) => string[
|
|
|
17
17
|
dependencyRecomputations: () => number;
|
|
18
18
|
resetDependencyRecomputations: () => void;
|
|
19
19
|
} & {
|
|
20
|
-
argsMemoize: typeof import("
|
|
21
|
-
memoize: typeof import("
|
|
20
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
21
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
22
22
|
};
|
|
@@ -7,7 +7,7 @@ export declare const updateCacheWithEvent: (event: EventSourceMessage, draft: Ge
|
|
|
7
7
|
export declare const answerApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, {
|
|
8
8
|
getAnswer: import("@reduxjs/toolkit/query").QueryDefinition<Partial<SearchRequest>, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, GeneratedAnswerStream, "answer">;
|
|
9
9
|
}, "answer", never, typeof import("@reduxjs/toolkit/query").coreModuleName>;
|
|
10
|
-
export declare const fetchAnswer: (fetchAnswerParams: Partial<SearchRequest>) => import("redux-thunk").ThunkAction<import("@reduxjs/toolkit/query").QueryActionCreatorResult<import("@reduxjs/toolkit/query").QueryDefinition<Partial<SearchRequest>, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, GeneratedAnswerStream, "answer">>, any, any, UnknownAction>;
|
|
10
|
+
export declare const fetchAnswer: (fetchAnswerParams: Partial<SearchRequest> | undefined) => import("redux-thunk").ThunkAction<import("@reduxjs/toolkit/query").QueryActionCreatorResult<import("@reduxjs/toolkit/query").QueryDefinition<Partial<SearchRequest>, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, GeneratedAnswerStream, "answer">>, any, any, UnknownAction>;
|
|
11
11
|
export declare const selectAnswer: (state: StreamAnswerAPIState) => ({
|
|
12
12
|
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
13
13
|
originalArgs?: undefined | undefined;
|
|
@@ -5,13 +5,13 @@ import { type CoreEngine, type ExternalEngineOptions } from '../engine.js';
|
|
|
5
5
|
import { type CaseAssistEngineConfiguration } from './case-assist-engine-configuration.js';
|
|
6
6
|
export type { CaseAssistEngineConfiguration };
|
|
7
7
|
declare const caseassistEngineReducers: {
|
|
8
|
-
debug: import("
|
|
8
|
+
debug: import("@reduxjs/toolkit").Reducer<boolean> & {
|
|
9
9
|
getInitialState: () => boolean;
|
|
10
10
|
};
|
|
11
|
-
caseAssistConfiguration: import("
|
|
11
|
+
caseAssistConfiguration: import("@reduxjs/toolkit").Reducer<import("../../features/case-assist-configuration/case-assist-configuration-state.js").CaseAssistConfigurationState> & {
|
|
12
12
|
getInitialState: () => import("../../features/case-assist-configuration/case-assist-configuration-state.js").CaseAssistConfigurationState;
|
|
13
13
|
};
|
|
14
|
-
searchHub: import("
|
|
14
|
+
searchHub: import("@reduxjs/toolkit").Reducer<string> & {
|
|
15
15
|
getInitialState: () => string;
|
|
16
16
|
};
|
|
17
17
|
};
|
|
@@ -6,52 +6,52 @@ import { type CoreEngineNext, type CoreState, type ExternalEngineOptions } from
|
|
|
6
6
|
import { type CommerceEngineConfiguration } from './commerce-engine-configuration.js';
|
|
7
7
|
export type { CommerceEngineConfiguration };
|
|
8
8
|
declare const commerceEngineReducers: {
|
|
9
|
-
productListing: import("
|
|
9
|
+
productListing: import("@reduxjs/toolkit").Reducer<import("../../features/commerce/product-listing/product-listing-state.js").ProductListingState> & {
|
|
10
10
|
getInitialState: () => import("../../features/commerce/product-listing/product-listing-state.js").ProductListingState;
|
|
11
11
|
};
|
|
12
|
-
recommendations: import("
|
|
12
|
+
recommendations: import("@reduxjs/toolkit").Reducer<import("../../features/commerce/recommendations/recommendations-state.js").RecommendationsState> & {
|
|
13
13
|
getInitialState: () => import("../../features/commerce/recommendations/recommendations-state.js").RecommendationsState;
|
|
14
14
|
};
|
|
15
|
-
commerceSearch: import("
|
|
15
|
+
commerceSearch: import("@reduxjs/toolkit").Reducer<import("../../features/commerce/search/search-state.js").CommerceSearchState> & {
|
|
16
16
|
getInitialState: () => import("../../features/commerce/search/search-state.js").CommerceSearchState;
|
|
17
17
|
};
|
|
18
|
-
commercePagination: import("
|
|
18
|
+
commercePagination: import("@reduxjs/toolkit").Reducer<import("../../features/commerce/pagination/pagination-state.js").CommercePaginationState> & {
|
|
19
19
|
getInitialState: () => import("../../features/commerce/pagination/pagination-state.js").CommercePaginationState;
|
|
20
20
|
};
|
|
21
|
-
commerceSort: import("
|
|
21
|
+
commerceSort: import("@reduxjs/toolkit").Reducer<import("../../features/commerce/sort/sort-state.js").CommerceSortState> & {
|
|
22
22
|
getInitialState: () => import("../../features/commerce/sort/sort-state.js").CommerceSortState;
|
|
23
23
|
};
|
|
24
|
-
facetOrder: import("
|
|
24
|
+
facetOrder: import("@reduxjs/toolkit").Reducer<import("../../features/facets/facet-order/facet-order-state.js").FacetOrderState> & {
|
|
25
25
|
getInitialState: () => import("../../features/facets/facet-order/facet-order-state.js").FacetOrderState;
|
|
26
26
|
};
|
|
27
|
-
fieldSuggestionsOrder: import("
|
|
27
|
+
fieldSuggestionsOrder: import("@reduxjs/toolkit").Reducer<import("../../features/commerce/facets/field-suggestions-order/field-suggestions-order-state.js").FieldSuggestionsOrderState> & {
|
|
28
28
|
getInitialState: () => import("../../features/commerce/facets/field-suggestions-order/field-suggestions-order-state.js").FieldSuggestionsOrderState;
|
|
29
29
|
};
|
|
30
|
-
facetSearchSet: import("
|
|
30
|
+
facetSearchSet: import("@reduxjs/toolkit").Reducer<import("../../features/facets/facet-search-set/specific/specific-facet-search-set-state.js").SpecificFacetSearchSetState> & {
|
|
31
31
|
getInitialState: () => import("../../features/facets/facet-search-set/specific/specific-facet-search-set-state.js").SpecificFacetSearchSetState;
|
|
32
32
|
};
|
|
33
|
-
categoryFacetSearchSet: import("
|
|
33
|
+
categoryFacetSearchSet: import("@reduxjs/toolkit").Reducer<import("../../features/facets/facet-search-set/category/category-facet-search-set-state.js").CategoryFacetSearchSetState> & {
|
|
34
34
|
getInitialState: () => import("../../features/facets/facet-search-set/category/category-facet-search-set-state.js").CategoryFacetSearchSetState;
|
|
35
35
|
};
|
|
36
|
-
commerceFacetSet: import("
|
|
36
|
+
commerceFacetSet: import("@reduxjs/toolkit").Reducer<import("../../features/commerce/facets/facet-set/facet-set-state.js").CommerceFacetSetState> & {
|
|
37
37
|
getInitialState: () => import("../../features/commerce/facets/facet-set/facet-set-state.js").CommerceFacetSetState;
|
|
38
38
|
};
|
|
39
|
-
manualNumericFacetSet: import("
|
|
39
|
+
manualNumericFacetSet: import("@reduxjs/toolkit").Reducer<import("../../features/commerce/facets/numeric-facet/manual-numeric-facet-state.js").ManualNumericFacetSetState> & {
|
|
40
40
|
getInitialState: () => import("../../features/commerce/facets/numeric-facet/manual-numeric-facet-state.js").ManualNumericFacetSetState;
|
|
41
41
|
};
|
|
42
|
-
commerceContext: import("
|
|
42
|
+
commerceContext: import("@reduxjs/toolkit").Reducer<import("../../features/commerce/context/context-state.js").CommerceContextState> & {
|
|
43
43
|
getInitialState: () => import("../../features/commerce/context/context-state.js").CommerceContextState;
|
|
44
44
|
};
|
|
45
|
-
commerceQuery: import("
|
|
45
|
+
commerceQuery: import("@reduxjs/toolkit").Reducer<import("../../features/commerce/query/query-state.js").CommerceQueryState> & {
|
|
46
46
|
getInitialState: () => import("../../features/commerce/query/query-state.js").CommerceQueryState;
|
|
47
47
|
};
|
|
48
|
-
cart: import("
|
|
48
|
+
cart: import("@reduxjs/toolkit").Reducer<import("../../features/commerce/context/cart/cart-state.js").CartState> & {
|
|
49
49
|
getInitialState: () => import("../../features/commerce/context/cart/cart-state.js").CartState;
|
|
50
50
|
};
|
|
51
|
-
didYouMean: import("
|
|
51
|
+
didYouMean: import("@reduxjs/toolkit").Reducer<import("../../features/commerce/did-you-mean/did-you-mean-state.js").DidYouMeanState> & {
|
|
52
52
|
getInitialState: () => import("../../features/commerce/did-you-mean/did-you-mean-state.js").DidYouMeanState;
|
|
53
53
|
};
|
|
54
|
-
triggers: import("
|
|
54
|
+
triggers: import("@reduxjs/toolkit").Reducer<import("../../features/triggers/triggers-state.js").TriggerState> & {
|
|
55
55
|
getInitialState: () => import("../../features/triggers/triggers-state.js").TriggerState;
|
|
56
56
|
};
|
|
57
57
|
};
|
package/force-app/main/default/staticresources/coveoheadless/definitions/app/common-reducers.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const configuration: import("
|
|
1
|
+
export declare const configuration: import("@reduxjs/toolkit").Reducer<import("../features/configuration/configuration-state.js").ConfigurationState> & {
|
|
2
2
|
getInitialState: () => import("../features/configuration/configuration-state.js").ConfigurationState;
|
|
3
3
|
};
|
|
@@ -7,19 +7,19 @@ import { getSampleInsightEngineConfiguration, type InsightEngineConfiguration, t
|
|
|
7
7
|
export type { InsightEngineConfiguration, InsightEngineSearchConfigurationOptions, };
|
|
8
8
|
export { getSampleInsightEngineConfiguration };
|
|
9
9
|
declare const insightEngineReducers: {
|
|
10
|
-
insightConfiguration: import("
|
|
10
|
+
insightConfiguration: import("@reduxjs/toolkit").Reducer<import("../../features/insight-configuration/insight-configuration-state.js").InsightConfigurationState> & {
|
|
11
11
|
getInitialState: () => import("../../features/insight-configuration/insight-configuration-state.js").InsightConfigurationState;
|
|
12
12
|
};
|
|
13
|
-
search: import("
|
|
13
|
+
search: import("@reduxjs/toolkit").Reducer<import("../../features/search/search-state.js").SearchState> & {
|
|
14
14
|
getInitialState: () => import("../../features/search/search-state.js").SearchState;
|
|
15
15
|
};
|
|
16
|
-
insightInterface: import("
|
|
16
|
+
insightInterface: import("@reduxjs/toolkit").Reducer<import("../../insight.index.js").InsightInterfaceState> & {
|
|
17
17
|
getInitialState: () => import("../../insight.index.js").InsightInterfaceState;
|
|
18
18
|
};
|
|
19
|
-
searchHub: import("
|
|
19
|
+
searchHub: import("@reduxjs/toolkit").Reducer<string> & {
|
|
20
20
|
getInitialState: () => string;
|
|
21
21
|
};
|
|
22
|
-
resultPreview: import("
|
|
22
|
+
resultPreview: import("@reduxjs/toolkit").Reducer<import("../../features/result-preview/result-preview-state.js").ResultPreviewState> & {
|
|
23
23
|
getInitialState: () => import("../../features/result-preview/result-preview-state.js").ResultPreviewState;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
@@ -6,16 +6,16 @@ import { getSampleRecommendationEngineConfiguration, type RecommendationEngineCo
|
|
|
6
6
|
export type { RecommendationEngineConfiguration };
|
|
7
7
|
export { getSampleRecommendationEngineConfiguration };
|
|
8
8
|
declare const recommendationEngineReducers: {
|
|
9
|
-
debug: import("
|
|
9
|
+
debug: import("@reduxjs/toolkit").Reducer<boolean> & {
|
|
10
10
|
getInitialState: () => boolean;
|
|
11
11
|
};
|
|
12
|
-
pipeline: import("
|
|
12
|
+
pipeline: import("@reduxjs/toolkit").Reducer<string> & {
|
|
13
13
|
getInitialState: () => string;
|
|
14
14
|
};
|
|
15
|
-
searchHub: import("
|
|
15
|
+
searchHub: import("@reduxjs/toolkit").Reducer<string> & {
|
|
16
16
|
getInitialState: () => string;
|
|
17
17
|
};
|
|
18
|
-
recommendation: import("
|
|
18
|
+
recommendation: import("@reduxjs/toolkit").Reducer<import("../../features/recommendation/recommendation-state.js").RecommendationState> & {
|
|
19
19
|
getInitialState: () => import("../../features/recommendation/recommendation-state.js").RecommendationState;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
@@ -9,16 +9,16 @@ import { getSampleSearchEngineConfiguration, type SearchConfigurationOptions, ty
|
|
|
9
9
|
export type { SearchEngineConfiguration, SearchConfigurationOptions };
|
|
10
10
|
export { getSampleSearchEngineConfiguration };
|
|
11
11
|
declare const searchEngineReducers: {
|
|
12
|
-
debug: import("
|
|
12
|
+
debug: import("@reduxjs/toolkit").Reducer<boolean> & {
|
|
13
13
|
getInitialState: () => boolean;
|
|
14
14
|
};
|
|
15
|
-
pipeline: import("
|
|
15
|
+
pipeline: import("@reduxjs/toolkit").Reducer<string> & {
|
|
16
16
|
getInitialState: () => string;
|
|
17
17
|
};
|
|
18
|
-
searchHub: import("
|
|
18
|
+
searchHub: import("@reduxjs/toolkit").Reducer<string> & {
|
|
19
19
|
getInitialState: () => string;
|
|
20
20
|
};
|
|
21
|
-
search: import("
|
|
21
|
+
search: import("@reduxjs/toolkit").Reducer<import("../../features/search/search-state.js").SearchState> & {
|
|
22
22
|
getInitialState: () => import("../../features/search/search-state.js").SearchState;
|
|
23
23
|
};
|
|
24
24
|
};
|
|
@@ -15,8 +15,8 @@ interface ConfigureStoreOptions<Reducers extends ReducersMapObject> {
|
|
|
15
15
|
thunkExtraArguments: CoreExtraArguments;
|
|
16
16
|
name: string;
|
|
17
17
|
}
|
|
18
|
-
export declare function configureStore<Reducers extends ReducersMapObject>({ reducer, preloadedState, middlewares, thunkExtraArguments, name, }: ConfigureStoreOptions<Reducers>): import("@reduxjs/toolkit").EnhancedStore<any, import("
|
|
18
|
+
export declare function configureStore<Reducers extends ReducersMapObject>({ reducer, preloadedState, middlewares, thunkExtraArguments, name, }: ConfigureStoreOptions<Reducers>): import("@reduxjs/toolkit").EnhancedStore<any, import("@reduxjs/toolkit").UnknownAction, import("@reduxjs/toolkit").Tuple<[import("@reduxjs/toolkit").StoreEnhancer<{
|
|
19
19
|
dispatch: {};
|
|
20
|
-
}>, import("
|
|
20
|
+
}>, import("@reduxjs/toolkit").StoreEnhancer]>>;
|
|
21
21
|
export type Store = ReturnType<typeof configureStore>;
|
|
22
22
|
export {};
|
|
@@ -31,16 +31,16 @@ export declare const totalQuantitySelector: ((state: CartState) => number) & {
|
|
|
31
31
|
dependencyRecomputations: () => number;
|
|
32
32
|
resetDependencyRecomputations: () => void;
|
|
33
33
|
} & {
|
|
34
|
-
argsMemoize: typeof import("
|
|
35
|
-
memoize: typeof import("
|
|
34
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
35
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
36
36
|
}];
|
|
37
37
|
recomputations: () => number;
|
|
38
38
|
resetRecomputations: () => void;
|
|
39
39
|
dependencyRecomputations: () => number;
|
|
40
40
|
resetDependencyRecomputations: () => void;
|
|
41
41
|
} & {
|
|
42
|
-
argsMemoize: typeof import("
|
|
43
|
-
memoize: typeof import("
|
|
42
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
43
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
44
44
|
};
|
|
45
45
|
export declare const totalPriceSelector: ((state: CartState) => number) & {
|
|
46
46
|
clearCache: () => void;
|
|
@@ -72,14 +72,14 @@ export declare const totalPriceSelector: ((state: CartState) => number) & {
|
|
|
72
72
|
dependencyRecomputations: () => number;
|
|
73
73
|
resetDependencyRecomputations: () => void;
|
|
74
74
|
} & {
|
|
75
|
-
argsMemoize: typeof import("
|
|
76
|
-
memoize: typeof import("
|
|
75
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
76
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
77
77
|
}];
|
|
78
78
|
recomputations: () => number;
|
|
79
79
|
resetRecomputations: () => void;
|
|
80
80
|
dependencyRecomputations: () => number;
|
|
81
81
|
resetDependencyRecomputations: () => void;
|
|
82
82
|
} & {
|
|
83
|
-
argsMemoize: typeof import("
|
|
84
|
-
memoize: typeof import("
|
|
83
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
84
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
85
85
|
};
|
|
@@ -100,6 +100,6 @@ export declare function buildCoreCommerceFacet<ValueRequest extends AnyFacetValu
|
|
|
100
100
|
showMoreValues(): void;
|
|
101
101
|
showLessValues(): void;
|
|
102
102
|
state: CoreCommerceFacetState<ValueResponse>;
|
|
103
|
-
subscribe(listener: () => void): import("
|
|
103
|
+
subscribe(listener: () => void): import("@reduxjs/toolkit").Unsubscribe;
|
|
104
104
|
};
|
|
105
105
|
export declare const getCoreFacetState: <T extends AnyFacetValueResponse>(facetId: string, request: AnyFacetRequest | undefined, response: AnyFacetResponse | undefined, isLoading: boolean) => CoreCommerceFacetState<T>;
|
|
@@ -26,8 +26,8 @@ export declare const facetResponseSelector: ((state: ProductListingSection & Com
|
|
|
26
26
|
dependencyRecomputations: () => number;
|
|
27
27
|
resetDependencyRecomputations: () => void;
|
|
28
28
|
} & {
|
|
29
|
-
argsMemoize: typeof import("
|
|
30
|
-
memoize: typeof import("
|
|
29
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
30
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
31
31
|
};
|
|
32
32
|
export declare const isFacetLoadingResponseSelector: ((state: ProductListingSection) => boolean) & {
|
|
33
33
|
clearCache: () => void;
|
|
@@ -53,6 +53,6 @@ export declare const isFacetLoadingResponseSelector: ((state: ProductListingSect
|
|
|
53
53
|
dependencyRecomputations: () => number;
|
|
54
54
|
resetDependencyRecomputations: () => void;
|
|
55
55
|
} & {
|
|
56
|
-
argsMemoize: typeof import("
|
|
57
|
-
memoize: typeof import("
|
|
56
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
57
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
58
58
|
};
|
|
@@ -26,8 +26,8 @@ export declare const facetResponseSelector: ((state: CommerceSearchSection & Com
|
|
|
26
26
|
dependencyRecomputations: () => number;
|
|
27
27
|
resetDependencyRecomputations: () => void;
|
|
28
28
|
} & {
|
|
29
|
-
argsMemoize: typeof import("
|
|
30
|
-
memoize: typeof import("
|
|
29
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
30
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
31
31
|
};
|
|
32
32
|
export declare const isFacetLoadingResponseSelector: ((state: CommerceSearchSection) => boolean) & {
|
|
33
33
|
clearCache: () => void;
|
|
@@ -53,6 +53,6 @@ export declare const isFacetLoadingResponseSelector: ((state: CommerceSearchSect
|
|
|
53
53
|
dependencyRecomputations: () => number;
|
|
54
54
|
resetDependencyRecomputations: () => void;
|
|
55
55
|
} & {
|
|
56
|
-
argsMemoize: typeof import("
|
|
57
|
-
memoize: typeof import("
|
|
56
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
57
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
58
58
|
};
|
|
@@ -31,5 +31,5 @@ export declare function buildCoreRangeFacet<T extends RangeFacetRequest, R exten
|
|
|
31
31
|
start: number;
|
|
32
32
|
} | undefined;
|
|
33
33
|
};
|
|
34
|
-
subscribe(listener: () => void): import("
|
|
34
|
+
subscribe(listener: () => void): import("@reduxjs/toolkit").Unsubscribe;
|
|
35
35
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const addPageViewEntryInActionsHistory: import("@reduxjs/toolkit").AsyncThunk<void, string, {
|
|
2
2
|
state?: unknown;
|
|
3
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
3
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction>;
|
|
4
4
|
extra?: unknown;
|
|
5
5
|
rejectValue?: unknown;
|
|
6
6
|
serializedErrorType?: unknown;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const advancedSearchQueriesReducer: import("
|
|
1
|
+
export declare const advancedSearchQueriesReducer: import("@reduxjs/toolkit").Reducer<import("./advanced-search-queries-state.js").AdvancedSearchQueriesState> & {
|
|
2
2
|
getInitialState: () => import("./advanced-search-queries-state.js").AdvancedSearchQueriesState;
|
|
3
3
|
};
|
|
@@ -41,6 +41,6 @@ export declare const selectAdvancedSearchQueries: ((state: {
|
|
|
41
41
|
dependencyRecomputations: () => number;
|
|
42
42
|
resetDependencyRecomputations: () => void;
|
|
43
43
|
} & {
|
|
44
|
-
argsMemoize: typeof import("
|
|
45
|
-
memoize: typeof import("
|
|
44
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
45
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
46
46
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const attachedResultsReducer: import("
|
|
1
|
+
export declare const attachedResultsReducer: import("@reduxjs/toolkit").Reducer<import("./attached-results-state.js").AttachedResultsState> & {
|
|
2
2
|
getInitialState: () => import("./attached-results-state.js").AttachedResultsState;
|
|
3
3
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const caseAssistConfigurationReducer: import("
|
|
1
|
+
export declare const caseAssistConfigurationReducer: import("@reduxjs/toolkit").Reducer<import("./case-assist-configuration-state.js").CaseAssistConfigurationState> & {
|
|
2
2
|
getInitialState: () => import("./case-assist-configuration-state.js").CaseAssistConfigurationState;
|
|
3
3
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const caseContextReducer: import("
|
|
1
|
+
export declare const caseContextReducer: import("@reduxjs/toolkit").Reducer<import("./case-context-state.js").CaseContextState> & {
|
|
2
2
|
getInitialState: () => import("./case-context-state.js").CaseContextState;
|
|
3
3
|
};
|
|
@@ -21,7 +21,7 @@ export declare const fetchCaseClassifications: import("@reduxjs/toolkit").AsyncT
|
|
|
21
21
|
rejectValue: import("../../api/service/case-assist/case-assist-api-client.js").CaseAssistAPIErrorStatusResponse;
|
|
22
22
|
state: StateNeededByFetchClassifications;
|
|
23
23
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../api/service/case-assist/case-assist-api-client.js").CaseAssistAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
24
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
24
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
25
25
|
serializedErrorType?: unknown;
|
|
26
26
|
pendingMeta?: unknown;
|
|
27
27
|
fulfilledMeta?: unknown;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const caseFieldReducer: import("
|
|
1
|
+
export declare const caseFieldReducer: import("@reduxjs/toolkit").Reducer<import("./case-field-state.js").CaseFieldState> & {
|
|
2
2
|
getInitialState: () => import("./case-field-state.js").CaseFieldState;
|
|
3
3
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const caseInputReducer: import("
|
|
1
|
+
export declare const caseInputReducer: import("@reduxjs/toolkit").Reducer<import("./case-input-state.js").CaseInputState> & {
|
|
2
2
|
getInitialState: () => import("./case-input-state.js").CaseInputState;
|
|
3
3
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type ConfigurationState } from './configuration-state.js';
|
|
2
|
-
export declare const configurationReducer: import("
|
|
2
|
+
export declare const configurationReducer: import("@reduxjs/toolkit").Reducer<ConfigurationState> & {
|
|
3
3
|
getInitialState: () => ConfigurationState;
|
|
4
4
|
};
|
|
@@ -11,7 +11,7 @@ export declare const emitPurchaseEvent: import("@reduxjs/toolkit").AsyncThunk<vo
|
|
|
11
11
|
state: CommerceEngineState;
|
|
12
12
|
rejectValue: import("../../../../api/commerce/commerce-api-error-response.js").CommerceAPIErrorStatusResponse;
|
|
13
13
|
extra: import("../../../../app/commerce-thunk-extra-arguments.js").CommerceThunkExtraArguments;
|
|
14
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
14
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
15
15
|
serializedErrorType?: unknown;
|
|
16
16
|
pendingMeta?: unknown;
|
|
17
17
|
fulfilledMeta?: unknown;
|
|
@@ -22,7 +22,7 @@ export declare const emitCartActionEvent: import("@reduxjs/toolkit").AsyncThunk<
|
|
|
22
22
|
state: CommerceEngineState;
|
|
23
23
|
rejectValue: import("../../../../api/commerce/commerce-api-error-response.js").CommerceAPIErrorStatusResponse;
|
|
24
24
|
extra: import("../../../../app/commerce-thunk-extra-arguments.js").CommerceThunkExtraArguments;
|
|
25
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
25
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
26
26
|
serializedErrorType?: unknown;
|
|
27
27
|
pendingMeta?: unknown;
|
|
28
28
|
fulfilledMeta?: unknown;
|
|
@@ -36,6 +36,6 @@ export declare const itemsSelector: ((state: CartState) => import("./cart-state.
|
|
|
36
36
|
dependencyRecomputations: () => number;
|
|
37
37
|
resetDependencyRecomputations: () => void;
|
|
38
38
|
} & {
|
|
39
|
-
argsMemoize: typeof import("
|
|
40
|
-
memoize: typeof import("
|
|
39
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
40
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
41
41
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const contextReducer: import("
|
|
1
|
+
export declare const contextReducer: import("@reduxjs/toolkit").Reducer<import("./context-state.js").CommerceContextState> & {
|
|
2
2
|
getInitialState: () => import("./context-state.js").CommerceContextState;
|
|
3
3
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const didYouMeanReducer: import("
|
|
1
|
+
export declare const didYouMeanReducer: import("@reduxjs/toolkit").Reducer<import("./did-you-mean-state.js").DidYouMeanState> & {
|
|
2
2
|
getInitialState: () => import("./did-you-mean-state.js").DidYouMeanState;
|
|
3
3
|
};
|
|
@@ -15,7 +15,7 @@ interface ExecuteCommerceFacetSearchThunkArg {
|
|
|
15
15
|
export declare const executeCommerceFacetSearch: import("@reduxjs/toolkit").AsyncThunk<ExecuteCommerceFacetSearchThunkReturn, ExecuteCommerceFacetSearchThunkArg, {
|
|
16
16
|
state: StateNeededForAnyFacetSearch;
|
|
17
17
|
extra: ClientThunkExtraArguments<CommerceFacetSearchAPIClient, import("../../../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
18
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
18
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
19
19
|
rejectValue?: unknown;
|
|
20
20
|
serializedErrorType?: unknown;
|
|
21
21
|
pendingMeta?: unknown;
|
|
@@ -25,7 +25,7 @@ export declare const executeCommerceFacetSearch: import("@reduxjs/toolkit").Asyn
|
|
|
25
25
|
export declare const executeCommerceFieldSuggest: import("@reduxjs/toolkit").AsyncThunk<ExecuteCommerceFacetSearchThunkReturn, ExecuteCommerceFacetSearchThunkArg, {
|
|
26
26
|
state: StateNeededForAnyFacetSearch;
|
|
27
27
|
extra: ClientThunkExtraArguments<CommerceFacetSearchAPIClient, import("../../../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
28
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
28
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
29
29
|
rejectValue?: unknown;
|
|
30
30
|
serializedErrorType?: unknown;
|
|
31
31
|
pendingMeta?: unknown;
|
|
@@ -24,6 +24,6 @@ export declare const facetRequestSelector: ((state: CommerceFacetSetSection, fac
|
|
|
24
24
|
dependencyRecomputations: () => number;
|
|
25
25
|
resetDependencyRecomputations: () => void;
|
|
26
26
|
} & {
|
|
27
|
-
argsMemoize: typeof import("
|
|
28
|
-
memoize: typeof import("
|
|
27
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
28
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
29
29
|
};
|
|
@@ -2,7 +2,7 @@ import type { CategoryFacetValueRequest } from '../../../../controllers/commerce
|
|
|
2
2
|
import { type CommerceFacetSetState } from './facet-set-state.js';
|
|
3
3
|
import type { LocationFacetValueRequest } from './interfaces/request.js';
|
|
4
4
|
import type { CategoryFacetValue, LocationFacetValue } from './interfaces/response.js';
|
|
5
|
-
export declare const commerceFacetSetReducer: import("
|
|
5
|
+
export declare const commerceFacetSetReducer: import("@reduxjs/toolkit").Reducer<CommerceFacetSetState> & {
|
|
6
6
|
getInitialState: () => CommerceFacetSetState;
|
|
7
7
|
};
|
|
8
8
|
export declare function convertCategoryFacetValueToRequest(responseValue: CategoryFacetValue): CategoryFacetValueRequest;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const fieldSuggestionsOrderReducer: import("
|
|
1
|
+
export declare const fieldSuggestionsOrderReducer: import("@reduxjs/toolkit").Reducer<import("./field-suggestions-order-state.js").FieldSuggestionsOrderState> & {
|
|
2
2
|
getInitialState: () => import("./field-suggestions-order-state.js").FieldSuggestionsOrderState;
|
|
3
3
|
};
|
|
@@ -17,6 +17,6 @@ export declare const manualNumericFacetSelector: ((state: ManualRangeSection, fa
|
|
|
17
17
|
dependencyRecomputations: () => number;
|
|
18
18
|
resetDependencyRecomputations: () => void;
|
|
19
19
|
} & {
|
|
20
|
-
argsMemoize: typeof import("
|
|
21
|
-
memoize: typeof import("
|
|
20
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
21
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
22
22
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type ManualNumericFacetSetState } from './manual-numeric-facet-state.js';
|
|
2
|
-
export declare const manualNumericFacetReducer: import("
|
|
2
|
+
export declare const manualNumericFacetReducer: import("@reduxjs/toolkit").Reducer<ManualNumericFacetSetState> & {
|
|
3
3
|
getInitialState: () => ManualNumericFacetSetState;
|
|
4
4
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const instantProductsReducer: import("
|
|
1
|
+
export declare const instantProductsReducer: import("@reduxjs/toolkit").Reducer<import("./instant-products-state.js").InstantProductsState> & {
|
|
2
2
|
getInitialState: () => import("./instant-products-state.js").InstantProductsState;
|
|
3
3
|
};
|
|
@@ -17,8 +17,8 @@ export declare const perPagePrincipalSelector: ((state: Partial<CommercePaginati
|
|
|
17
17
|
dependencyRecomputations: () => number;
|
|
18
18
|
resetDependencyRecomputations: () => void;
|
|
19
19
|
} & {
|
|
20
|
-
argsMemoize: typeof import("
|
|
21
|
-
memoize: typeof import("
|
|
20
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
21
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
22
22
|
};
|
|
23
23
|
export declare const perPageRecommendationSelector: ((state: Partial<CommercePaginationSection>, slotId: string) => number) & {
|
|
24
24
|
clearCache: () => void;
|
|
@@ -38,8 +38,8 @@ export declare const perPageRecommendationSelector: ((state: Partial<CommercePag
|
|
|
38
38
|
dependencyRecomputations: () => number;
|
|
39
39
|
resetDependencyRecomputations: () => void;
|
|
40
40
|
} & {
|
|
41
|
-
argsMemoize: typeof import("
|
|
42
|
-
memoize: typeof import("
|
|
41
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
42
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
43
43
|
};
|
|
44
44
|
export declare const totalEntriesPrincipalSelector: ((state: Partial<CommercePaginationSection>) => number) & {
|
|
45
45
|
clearCache: () => void;
|
|
@@ -59,8 +59,8 @@ export declare const totalEntriesPrincipalSelector: ((state: Partial<CommercePag
|
|
|
59
59
|
dependencyRecomputations: () => number;
|
|
60
60
|
resetDependencyRecomputations: () => void;
|
|
61
61
|
} & {
|
|
62
|
-
argsMemoize: typeof import("
|
|
63
|
-
memoize: typeof import("
|
|
62
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
63
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
64
64
|
};
|
|
65
65
|
export declare const totalEntriesRecommendationSelector: ((state: Partial<CommercePaginationSection>, slotId: string) => number) & {
|
|
66
66
|
clearCache: () => void;
|
|
@@ -80,8 +80,8 @@ export declare const totalEntriesRecommendationSelector: ((state: Partial<Commer
|
|
|
80
80
|
dependencyRecomputations: () => number;
|
|
81
81
|
resetDependencyRecomputations: () => void;
|
|
82
82
|
} & {
|
|
83
|
-
argsMemoize: typeof import("
|
|
84
|
-
memoize: typeof import("
|
|
83
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
84
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
85
85
|
};
|
|
86
86
|
export declare const pagePrincipalSelector: ((state: Partial<CommercePaginationSection>) => number) & {
|
|
87
87
|
clearCache: () => void;
|
|
@@ -101,8 +101,8 @@ export declare const pagePrincipalSelector: ((state: Partial<CommercePaginationS
|
|
|
101
101
|
dependencyRecomputations: () => number;
|
|
102
102
|
resetDependencyRecomputations: () => void;
|
|
103
103
|
} & {
|
|
104
|
-
argsMemoize: typeof import("
|
|
105
|
-
memoize: typeof import("
|
|
104
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
105
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
106
106
|
};
|
|
107
107
|
export declare const pageRecommendationSelector: ((state: Partial<CommercePaginationSection>, slotId: string) => number) & {
|
|
108
108
|
clearCache: () => void;
|
|
@@ -122,6 +122,6 @@ export declare const pageRecommendationSelector: ((state: Partial<CommercePagina
|
|
|
122
122
|
dependencyRecomputations: () => number;
|
|
123
123
|
resetDependencyRecomputations: () => void;
|
|
124
124
|
} & {
|
|
125
|
-
argsMemoize: typeof import("
|
|
126
|
-
memoize: typeof import("
|
|
125
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
126
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
127
127
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type CommercePaginationState } from './pagination-state.js';
|
|
2
|
-
export declare const paginationReducer: import("
|
|
2
|
+
export declare const paginationReducer: import("@reduxjs/toolkit").Reducer<CommercePaginationState> & {
|
|
3
3
|
getInitialState: () => CommercePaginationState;
|
|
4
4
|
};
|