@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
|
@@ -6,7 +6,7 @@ export declare const executeToggleNumericFacetSelect: import("@reduxjs/toolkit")
|
|
|
6
6
|
}, {
|
|
7
7
|
state: ConfigurationSection & NumericFacetSection;
|
|
8
8
|
extra: import("../../../../app/thunk-extra-arguments.js").ThunkExtraArguments;
|
|
9
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
9
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
10
10
|
rejectValue?: unknown;
|
|
11
11
|
serializedErrorType?: unknown;
|
|
12
12
|
pendingMeta?: unknown;
|
|
@@ -19,7 +19,7 @@ export declare const executeToggleNumericFacetExclude: import("@reduxjs/toolkit"
|
|
|
19
19
|
}, {
|
|
20
20
|
state: ConfigurationSection & NumericFacetSection;
|
|
21
21
|
extra: import("../../../../app/thunk-extra-arguments.js").ThunkExtraArguments;
|
|
22
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
22
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
23
23
|
rejectValue?: unknown;
|
|
24
24
|
serializedErrorType?: unknown;
|
|
25
25
|
pendingMeta?: unknown;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { NumericRangeRequest } from './interfaces/request.js';
|
|
2
2
|
import type { NumericFacetValue } from './interfaces/response.js';
|
|
3
|
-
export declare const numericFacetSetReducer: import("
|
|
3
|
+
export declare const numericFacetSetReducer: import("@reduxjs/toolkit").Reducer<import("./numeric-facet-set-state.js").NumericFacetSetState> & {
|
|
4
4
|
getInitialState: () => import("./numeric-facet-set-state.js").NumericFacetSetState;
|
|
5
5
|
};
|
|
6
6
|
export declare function convertToNumericRangeRequests(values: NumericFacetValue[]): NumericRangeRequest[];
|
|
@@ -7,7 +7,7 @@ export declare const fetchFieldsDescription: import("@reduxjs/toolkit").AsyncThu
|
|
|
7
7
|
rejectValue: import("../../api/search/search-api-error-response.js").SearchAPIErrorWithStatusCode;
|
|
8
8
|
state: ConfigurationSection;
|
|
9
9
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../api/search/search-api-client.js").SearchAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
10
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
10
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
11
11
|
serializedErrorType?: unknown;
|
|
12
12
|
pendingMeta?: unknown;
|
|
13
13
|
fulfilledMeta?: unknown;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const fieldsReducer: import("
|
|
1
|
+
export declare const fieldsReducer: import("@reduxjs/toolkit").Reducer<import("./fields-state.js").FieldsState> & {
|
|
2
2
|
getInitialState: () => import("./fields-state.js").FieldsState;
|
|
3
3
|
};
|
|
@@ -42,7 +42,7 @@ export declare const loadCollection: import("@reduxjs/toolkit").AsyncThunk<LoadC
|
|
|
42
42
|
rejectValue: import("../../api/search/search-api-error-response.js").SearchAPIErrorWithStatusCode;
|
|
43
43
|
state: StateNeededByLoadCollection;
|
|
44
44
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../api/search/search-api-client.js").SearchAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
45
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
45
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
46
46
|
serializedErrorType?: unknown;
|
|
47
47
|
pendingMeta?: unknown;
|
|
48
48
|
fulfilledMeta?: unknown;
|
|
@@ -5,6 +5,6 @@ export interface ResultWithFolding extends Result {
|
|
|
5
5
|
childResults: ResultWithFolding[];
|
|
6
6
|
totalNumberOfChildResults: number;
|
|
7
7
|
}
|
|
8
|
-
export declare const foldingReducer: import("
|
|
8
|
+
export declare const foldingReducer: import("@reduxjs/toolkit").Reducer<FoldingState> & {
|
|
9
9
|
getInitialState: () => FoldingState;
|
|
10
10
|
};
|
|
@@ -7,7 +7,7 @@ export declare const loadCollection: import("@reduxjs/toolkit").AsyncThunk<LoadC
|
|
|
7
7
|
rejectValue: import("../../api/service/insight/insight-api-client.js").InsightAPIErrorStatusResponse;
|
|
8
8
|
state: StateNeededByLoadCollection;
|
|
9
9
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../api/service/insight/insight-api-client.js").InsightAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
10
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
10
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
11
11
|
serializedErrorType?: unknown;
|
|
12
12
|
pendingMeta?: unknown;
|
|
13
13
|
fulfilledMeta?: unknown;
|
|
@@ -1,47 +1,52 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import type { StreamAnswerAPIState } from '../../api/knowledge/stream-answer-api-state.js';
|
|
2
|
+
import type { SearchRequest } from '../../api/search/search/search-request.js';
|
|
3
|
+
export declare const selectAnswerTriggerParams: ((state: {
|
|
4
|
+
searchHub: string;
|
|
5
|
+
pipeline: string;
|
|
6
|
+
} & import("../../state/state-sections.js").GetAnswerQuerySection & import("../../state/state-sections.js").ConfigurationSection & Partial<import("../../ssr.index.js").SearchAppState> & Partial<import("../../state/state-sections.js").InsightConfigurationSection> & import("../../state/state-sections.js").GeneratedAnswerSection & Partial<import("../../state/state-sections.js").TabSection>) => {
|
|
7
|
+
q: string;
|
|
8
|
+
requestId: string;
|
|
9
|
+
cannotAnswer: boolean;
|
|
10
|
+
analyticsMode: "legacy" | "next";
|
|
11
|
+
actionCause: string | undefined;
|
|
7
12
|
}) & {
|
|
8
13
|
clearCache: () => void;
|
|
9
14
|
resultsCount: () => number;
|
|
10
15
|
resetResultsCount: () => void;
|
|
11
16
|
} & {
|
|
12
|
-
resultFunc: (
|
|
13
|
-
q:
|
|
14
|
-
requestId:
|
|
15
|
-
cannotAnswer:
|
|
16
|
-
analyticsMode:
|
|
17
|
-
actionCause:
|
|
17
|
+
resultFunc: (resultFuncArgs_0: string, resultFuncArgs_1: string, resultFuncArgs_2: boolean, resultFuncArgs_3: "legacy" | "next", resultFuncArgs_4: string | undefined) => {
|
|
18
|
+
q: string;
|
|
19
|
+
requestId: string;
|
|
20
|
+
cannotAnswer: boolean;
|
|
21
|
+
analyticsMode: "legacy" | "next";
|
|
22
|
+
actionCause: string | undefined;
|
|
18
23
|
};
|
|
19
|
-
memoizedResultFunc: ((
|
|
20
|
-
q:
|
|
21
|
-
requestId:
|
|
22
|
-
cannotAnswer:
|
|
23
|
-
analyticsMode:
|
|
24
|
-
actionCause:
|
|
24
|
+
memoizedResultFunc: ((resultFuncArgs_0: string, resultFuncArgs_1: string, resultFuncArgs_2: boolean, resultFuncArgs_3: "legacy" | "next", resultFuncArgs_4: string | undefined) => {
|
|
25
|
+
q: string;
|
|
26
|
+
requestId: string;
|
|
27
|
+
cannotAnswer: boolean;
|
|
28
|
+
analyticsMode: "legacy" | "next";
|
|
29
|
+
actionCause: string | undefined;
|
|
25
30
|
}) & {
|
|
26
31
|
clearCache: () => void;
|
|
27
32
|
resultsCount: () => number;
|
|
28
33
|
resetResultsCount: () => void;
|
|
29
34
|
};
|
|
30
35
|
lastResult: () => {
|
|
31
|
-
q:
|
|
32
|
-
requestId:
|
|
33
|
-
cannotAnswer:
|
|
34
|
-
analyticsMode:
|
|
35
|
-
actionCause:
|
|
36
|
+
q: string;
|
|
37
|
+
requestId: string;
|
|
38
|
+
cannotAnswer: boolean;
|
|
39
|
+
analyticsMode: "legacy" | "next";
|
|
40
|
+
actionCause: string | undefined;
|
|
36
41
|
};
|
|
37
|
-
dependencies:
|
|
42
|
+
dependencies: [(state: StreamAnswerAPIState) => string, (state: StreamAnswerAPIState) => string, (state: StreamAnswerAPIState) => boolean, (state: StreamAnswerAPIState) => "legacy" | "next", (state: StreamAnswerAPIState) => string | undefined];
|
|
38
43
|
recomputations: () => number;
|
|
39
44
|
resetRecomputations: () => void;
|
|
40
45
|
dependencyRecomputations: () => number;
|
|
41
46
|
resetDependencyRecomputations: () => void;
|
|
42
47
|
} & {
|
|
43
|
-
argsMemoize: typeof import("
|
|
44
|
-
memoize: typeof import("
|
|
48
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
49
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
45
50
|
};
|
|
46
51
|
/**
|
|
47
52
|
* If answer params are not available, returns `skipToken`, a special value from RTK Query
|
|
@@ -49,24 +54,27 @@ export declare const selectAnswerTriggerParams: ((state: any, ...params: any[])
|
|
|
49
54
|
*
|
|
50
55
|
* @see https://redux-toolkit.js.org/rtk-query/usage-with-typescript#skipping-queries-with-typescript-using-skiptoken
|
|
51
56
|
*/
|
|
52
|
-
export declare const selectAnswerApiQueryParams: ((state:
|
|
57
|
+
export declare const selectAnswerApiQueryParams: ((state: {
|
|
58
|
+
searchHub: string;
|
|
59
|
+
pipeline: string;
|
|
60
|
+
} & import("../../state/state-sections.js").GetAnswerQuerySection & import("../../state/state-sections.js").ConfigurationSection & Partial<import("../../ssr.index.js").SearchAppState> & Partial<import("../../state/state-sections.js").InsightConfigurationSection> & import("../../state/state-sections.js").GeneratedAnswerSection & Partial<import("../../state/state-sections.js").TabSection>) => Partial<SearchRequest> | undefined) & {
|
|
53
61
|
clearCache: () => void;
|
|
54
62
|
resultsCount: () => number;
|
|
55
63
|
resetResultsCount: () => void;
|
|
56
64
|
} & {
|
|
57
|
-
resultFunc: (
|
|
58
|
-
memoizedResultFunc: ((
|
|
65
|
+
resultFunc: (resultFuncArgs_0: Partial<SearchRequest> | undefined) => Partial<SearchRequest> | undefined;
|
|
66
|
+
memoizedResultFunc: ((resultFuncArgs_0: Partial<SearchRequest> | undefined) => Partial<SearchRequest> | undefined) & {
|
|
59
67
|
clearCache: () => void;
|
|
60
68
|
resultsCount: () => number;
|
|
61
69
|
resetResultsCount: () => void;
|
|
62
70
|
};
|
|
63
|
-
lastResult: () =>
|
|
64
|
-
dependencies:
|
|
71
|
+
lastResult: () => Partial<SearchRequest> | undefined;
|
|
72
|
+
dependencies: [(state: StreamAnswerAPIState) => Partial<SearchRequest> | undefined];
|
|
65
73
|
recomputations: () => number;
|
|
66
74
|
resetRecomputations: () => void;
|
|
67
75
|
dependencyRecomputations: () => number;
|
|
68
76
|
resetDependencyRecomputations: () => void;
|
|
69
77
|
} & {
|
|
70
|
-
argsMemoize: typeof import("
|
|
71
|
-
memoize: typeof import("
|
|
78
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
79
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
72
80
|
};
|
|
@@ -42,7 +42,7 @@ interface StreamAnswerArgs {
|
|
|
42
42
|
export declare const streamAnswer: import("@reduxjs/toolkit").AsyncThunk<void, StreamAnswerArgs, {
|
|
43
43
|
state: StateNeededByGeneratedAnswerStream;
|
|
44
44
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
45
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
45
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
46
46
|
rejectValue?: unknown;
|
|
47
47
|
serializedErrorType?: unknown;
|
|
48
48
|
pendingMeta?: unknown;
|
|
@@ -65,7 +65,7 @@ export declare const streamAnswer: import("@reduxjs/toolkit").AsyncThunk<void, S
|
|
|
65
65
|
export declare const generateAnswer: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
66
66
|
state: StreamAnswerAPIState;
|
|
67
67
|
extra: SearchThunkExtraArguments;
|
|
68
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
68
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
69
69
|
rejectValue?: unknown;
|
|
70
70
|
serializedErrorType?: unknown;
|
|
71
71
|
pendingMeta?: unknown;
|
|
@@ -21,6 +21,6 @@ export declare const citationSourceSelector: ((state: Partial<GeneratedAnswerSec
|
|
|
21
21
|
dependencyRecomputations: () => number;
|
|
22
22
|
resetDependencyRecomputations: () => void;
|
|
23
23
|
} & {
|
|
24
|
-
argsMemoize: typeof import("
|
|
25
|
-
memoize: typeof import("
|
|
24
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
25
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
26
26
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const generatedAnswerReducer: import("
|
|
1
|
+
export declare const generatedAnswerReducer: import("@reduxjs/toolkit").Reducer<import("./generated-answer-state.js").GeneratedAnswerState> & {
|
|
2
2
|
getInitialState: () => import("./generated-answer-state.js").GeneratedAnswerState;
|
|
3
3
|
};
|
|
@@ -4,7 +4,7 @@ export declare const redo: import("@reduxjs/toolkit").ActionCreatorWithoutPayloa
|
|
|
4
4
|
export declare const snapshot: import("@reduxjs/toolkit").ActionCreatorWithPayload<HistoryState, string>;
|
|
5
5
|
export declare const back: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
6
6
|
state?: unknown;
|
|
7
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
7
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction>;
|
|
8
8
|
extra?: unknown;
|
|
9
9
|
rejectValue?: unknown;
|
|
10
10
|
serializedErrorType?: unknown;
|
|
@@ -14,7 +14,7 @@ export declare const back: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
|
14
14
|
}>;
|
|
15
15
|
export declare const forward: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
16
16
|
state?: unknown;
|
|
17
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
17
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction>;
|
|
18
18
|
extra?: unknown;
|
|
19
19
|
rejectValue?: unknown;
|
|
20
20
|
serializedErrorType?: unknown;
|
|
@@ -24,7 +24,7 @@ export declare const forward: import("@reduxjs/toolkit").AsyncThunk<void, void,
|
|
|
24
24
|
}>;
|
|
25
25
|
export declare const change: import("@reduxjs/toolkit").AsyncThunk<HistoryState | undefined, void, {
|
|
26
26
|
state?: unknown;
|
|
27
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
27
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction>;
|
|
28
28
|
extra?: unknown;
|
|
29
29
|
rejectValue?: unknown;
|
|
30
30
|
serializedErrorType?: unknown;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type HistoryState } from './history-state.js';
|
|
2
|
-
export declare const historyReducer: import("
|
|
2
|
+
export declare const historyReducer: import("@reduxjs/toolkit").Reducer<HistoryState> & {
|
|
3
3
|
getInitialState: () => HistoryState;
|
|
4
4
|
};
|
|
5
|
-
export declare const history: (state: import("../../app/undoable.js").StateWithHistory<HistoryState> | undefined, action: import("
|
|
5
|
+
export declare const history: (state: import("../../app/undoable.js").StateWithHistory<HistoryState> | undefined, action: import("@reduxjs/toolkit").AnyAction) => import("../../app/undoable.js").StateWithHistory<HistoryState>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const insightConfigurationReducer: import("
|
|
1
|
+
export declare const insightConfigurationReducer: import("@reduxjs/toolkit").Reducer<import("./insight-configuration-state.js").InsightConfigurationState> & {
|
|
2
2
|
getInitialState: () => import("./insight-configuration-state.js").InsightConfigurationState;
|
|
3
3
|
};
|
|
@@ -9,7 +9,7 @@ export declare const fetchInterface: import("@reduxjs/toolkit").AsyncThunk<Fetch
|
|
|
9
9
|
rejectValue: import("../../api/service/insight/insight-api-client.js").InsightAPIErrorStatusResponse;
|
|
10
10
|
state: StateNeededByFetchInterface;
|
|
11
11
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../api/service/insight/insight-api-client.js").InsightAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
12
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
12
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
13
13
|
serializedErrorType?: unknown;
|
|
14
14
|
pendingMeta?: unknown;
|
|
15
15
|
fulfilledMeta?: unknown;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const insightInterfaceReducer: import("
|
|
1
|
+
export declare const insightInterfaceReducer: import("@reduxjs/toolkit").Reducer<import("./insight-interface-state.js").InsightInterfaceState> & {
|
|
2
2
|
getInitialState: () => import("./insight-interface-state.js").InsightInterfaceState;
|
|
3
3
|
};
|
|
@@ -21,7 +21,7 @@ export declare const executeSearch: import("@reduxjs/toolkit").AsyncThunk<Execut
|
|
|
21
21
|
rejectValue: import("../../api/service/insight/insight-api-client.js").InsightAPIErrorStatusResponse;
|
|
22
22
|
state: StateNeededByExecuteSearch;
|
|
23
23
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<InsightAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
24
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
24
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
25
25
|
serializedErrorType?: unknown;
|
|
26
26
|
pendingMeta?: unknown;
|
|
27
27
|
fulfilledMeta?: unknown;
|
|
@@ -31,7 +31,7 @@ export declare const fetchPage: import("@reduxjs/toolkit").AsyncThunk<ExecuteSea
|
|
|
31
31
|
rejectValue: import("../../api/service/insight/insight-api-client.js").InsightAPIErrorStatusResponse;
|
|
32
32
|
state: StateNeededByExecuteSearch;
|
|
33
33
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<InsightAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
34
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
34
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
35
35
|
serializedErrorType?: unknown;
|
|
36
36
|
pendingMeta?: unknown;
|
|
37
37
|
fulfilledMeta?: unknown;
|
|
@@ -41,7 +41,7 @@ export declare const fetchMoreResults: import("@reduxjs/toolkit").AsyncThunk<Exe
|
|
|
41
41
|
rejectValue: import("../../api/service/insight/insight-api-client.js").InsightAPIErrorStatusResponse;
|
|
42
42
|
state: StateNeededByExecuteSearch;
|
|
43
43
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<InsightAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
44
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
44
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
45
45
|
serializedErrorType?: unknown;
|
|
46
46
|
pendingMeta?: unknown;
|
|
47
47
|
fulfilledMeta?: unknown;
|
|
@@ -51,7 +51,7 @@ export declare const fetchFacetValues: import("@reduxjs/toolkit").AsyncThunk<Exe
|
|
|
51
51
|
rejectValue: import("../../api/service/insight/insight-api-client.js").InsightAPIErrorStatusResponse;
|
|
52
52
|
state: StateNeededByExecuteSearch;
|
|
53
53
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<InsightAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
54
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
54
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
55
55
|
serializedErrorType?: unknown;
|
|
56
56
|
pendingMeta?: unknown;
|
|
57
57
|
fulfilledMeta?: unknown;
|
|
@@ -62,7 +62,7 @@ export declare const fetchQuerySuggestions: import("@reduxjs/toolkit").AsyncThun
|
|
|
62
62
|
rejectValue: import("../../api/service/insight/insight-api-client.js").InsightAPIErrorStatusResponse;
|
|
63
63
|
state: StateNeededByQuerySuggest;
|
|
64
64
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<InsightAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
65
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
65
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
66
66
|
serializedErrorType?: unknown;
|
|
67
67
|
pendingMeta?: unknown;
|
|
68
68
|
fulfilledMeta?: unknown;
|
|
@@ -9,7 +9,7 @@ export declare const executeSearch: import("@reduxjs/toolkit").AsyncThunk<Execut
|
|
|
9
9
|
rejectValue: import("../../../api/service/insight/insight-api-client.js").InsightAPIErrorStatusResponse;
|
|
10
10
|
state: StateNeededByExecuteSearch;
|
|
11
11
|
extra: import("../../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../../api/service/insight/insight-api-client.js").InsightAPIClient, import("../../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
12
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
12
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
13
13
|
serializedErrorType?: unknown;
|
|
14
14
|
pendingMeta?: unknown;
|
|
15
15
|
fulfilledMeta?: unknown;
|
|
@@ -19,7 +19,7 @@ export declare const fetchPage: import("@reduxjs/toolkit").AsyncThunk<ExecuteSea
|
|
|
19
19
|
rejectValue: import("../../../api/service/insight/insight-api-client.js").InsightAPIErrorStatusResponse;
|
|
20
20
|
state: StateNeededByExecuteSearch;
|
|
21
21
|
extra: import("../../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../../api/service/insight/insight-api-client.js").InsightAPIClient, import("../../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
22
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
22
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
23
23
|
serializedErrorType?: unknown;
|
|
24
24
|
pendingMeta?: unknown;
|
|
25
25
|
fulfilledMeta?: unknown;
|
|
@@ -29,7 +29,7 @@ export declare const fetchMoreResults: import("@reduxjs/toolkit").AsyncThunk<Exe
|
|
|
29
29
|
rejectValue: import("../../../api/service/insight/insight-api-client.js").InsightAPIErrorStatusResponse;
|
|
30
30
|
state: StateNeededByExecuteSearch;
|
|
31
31
|
extra: import("../../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../../api/service/insight/insight-api-client.js").InsightAPIClient, import("../../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
32
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
32
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
33
33
|
serializedErrorType?: unknown;
|
|
34
34
|
pendingMeta?: unknown;
|
|
35
35
|
fulfilledMeta?: unknown;
|
|
@@ -39,7 +39,7 @@ export declare const fetchFacetValues: import("@reduxjs/toolkit").AsyncThunk<Exe
|
|
|
39
39
|
rejectValue: import("../../../api/service/insight/insight-api-client.js").InsightAPIErrorStatusResponse;
|
|
40
40
|
state: StateNeededByExecuteSearch;
|
|
41
41
|
extra: import("../../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../../api/service/insight/insight-api-client.js").InsightAPIClient, import("../../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
42
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
42
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
43
43
|
serializedErrorType?: unknown;
|
|
44
44
|
pendingMeta?: unknown;
|
|
45
45
|
fulfilledMeta?: unknown;
|
|
@@ -14,7 +14,7 @@ export declare const fetchUserActions: import("@reduxjs/toolkit").AsyncThunk<Fet
|
|
|
14
14
|
rejectValue: import("../../api/service/insight/insight-api-client.js").InsightAPIErrorStatusResponse;
|
|
15
15
|
state: StateNeededByFetchUserActions;
|
|
16
16
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../api/service/insight/insight-api-client.js").InsightAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
17
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
17
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
18
18
|
serializedErrorType?: unknown;
|
|
19
19
|
pendingMeta?: unknown;
|
|
20
20
|
fulfilledMeta?: unknown;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const insightUserActionsReducer: import("
|
|
1
|
+
export declare const insightUserActionsReducer: import("@reduxjs/toolkit").Reducer<import("./insight-user-actions-state.js").UserActionsState> & {
|
|
2
2
|
getInitialState: () => import("./insight-user-actions-state.js").UserActionsState;
|
|
3
3
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const instantResultsReducer: import("
|
|
1
|
+
export declare const instantResultsReducer: import("@reduxjs/toolkit").Reducer<import("./instant-results-state.js").InstantResultsState> & {
|
|
2
2
|
getInitialState: () => import("./instant-results-state.js").InstantResultsState;
|
|
3
3
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PaginationState } from './pagination-state.js';
|
|
2
|
-
export declare const paginationReducer: import("
|
|
2
|
+
export declare const paginationReducer: import("@reduxjs/toolkit").Reducer<PaginationState> & {
|
|
3
3
|
getInitialState: () => PaginationState;
|
|
4
4
|
};
|
|
5
5
|
export declare function calculateFirstResult(page: number, numberOfResults: number): number;
|
|
@@ -20,6 +20,6 @@ export declare const selectPipeline: ((state: {
|
|
|
20
20
|
dependencyRecomputations: () => number;
|
|
21
21
|
resetDependencyRecomputations: () => void;
|
|
22
22
|
} & {
|
|
23
|
-
argsMemoize: typeof import("
|
|
24
|
-
memoize: typeof import("
|
|
23
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
24
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
25
25
|
};
|
|
@@ -21,6 +21,6 @@ export declare const selectQuery: ((state: {
|
|
|
21
21
|
dependencyRecomputations: () => number;
|
|
22
22
|
resetDependencyRecomputations: () => void;
|
|
23
23
|
} & {
|
|
24
|
-
argsMemoize: typeof import("
|
|
25
|
-
memoize: typeof import("
|
|
24
|
+
argsMemoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
25
|
+
memoize: typeof import("@reduxjs/toolkit").weakMapMemoize;
|
|
26
26
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const queryReducer: import("
|
|
1
|
+
export declare const queryReducer: import("@reduxjs/toolkit").Reducer<import("./query-state.js").QueryState> & {
|
|
2
2
|
getInitialState: () => import("./query-state.js").QueryState;
|
|
3
3
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type QuerySetState } from './query-set-state.js';
|
|
2
|
-
export declare const querySetReducer: import("
|
|
2
|
+
export declare const querySetReducer: import("@reduxjs/toolkit").Reducer<QuerySetState> & {
|
|
3
3
|
getInitialState: () => QuerySetState;
|
|
4
4
|
};
|
|
@@ -55,7 +55,7 @@ export declare const fetchQuerySuggestions: import("@reduxjs/toolkit").AsyncThun
|
|
|
55
55
|
rejectValue: import("../../api/search/search-api-error-response.js").SearchAPIErrorWithStatusCode;
|
|
56
56
|
state: StateNeededByQuerySuggest;
|
|
57
57
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../api/search/search-api-client.js").SearchAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
58
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
58
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
59
59
|
serializedErrorType?: unknown;
|
|
60
60
|
pendingMeta?: unknown;
|
|
61
61
|
fulfilledMeta?: unknown;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type QuerySuggestSet } from './query-suggest-state.js';
|
|
2
|
-
export declare const querySuggestReducer: import("
|
|
2
|
+
export declare const querySuggestReducer: import("@reduxjs/toolkit").Reducer<QuerySuggestSet> & {
|
|
3
3
|
getInitialState: () => QuerySuggestSet;
|
|
4
4
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const questionAnsweringReducer: import("
|
|
1
|
+
export declare const questionAnsweringReducer: import("@reduxjs/toolkit").Reducer<import("./question-answering-state.js").QuestionAnsweringState> & {
|
|
2
2
|
getInitialState: () => import("./question-answering-state.js").QuestionAnsweringState;
|
|
3
3
|
};
|
|
@@ -2,7 +2,7 @@ import { type Draft as WritableDraft } from '@reduxjs/toolkit';
|
|
|
2
2
|
import type { registerRecentQueries as registerCommerceRecentQueries } from '../commerce/recent-queries/recent-queries-actions.js';
|
|
3
3
|
import { registerRecentQueries } from './recent-queries-actions.js';
|
|
4
4
|
import { type RecentQueriesState } from './recent-queries-state.js';
|
|
5
|
-
export declare const recentQueriesReducer: import("
|
|
5
|
+
export declare const recentQueriesReducer: import("@reduxjs/toolkit").Reducer<RecentQueriesState> & {
|
|
6
6
|
getInitialState: () => RecentQueriesState;
|
|
7
7
|
};
|
|
8
8
|
export declare function handleRegisterQueries(state: WritableDraft<RecentQueriesState>, action: ReturnType<typeof registerRecentQueries> | ReturnType<typeof registerCommerceRecentQueries>): void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const recentResultsReducer: import("
|
|
1
|
+
export declare const recentResultsReducer: import("@reduxjs/toolkit").Reducer<import("./recent-results-state.js").RecentResultsState> & {
|
|
2
2
|
getInitialState: () => import("./recent-results-state.js").RecentResultsState;
|
|
3
3
|
};
|
|
@@ -23,7 +23,7 @@ export declare const getRecommendations: import("@reduxjs/toolkit").AsyncThunk<G
|
|
|
23
23
|
rejectValue: import("../../api/search/search-api-error-response.js").SearchAPIErrorWithStatusCode;
|
|
24
24
|
state: StateNeededByGetRecommendations;
|
|
25
25
|
extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../api/search/search-api-client.js").SearchAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
26
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
26
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
27
27
|
serializedErrorType?: unknown;
|
|
28
28
|
pendingMeta?: unknown;
|
|
29
29
|
fulfilledMeta?: unknown;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const recommendationReducer: import("
|
|
1
|
+
export declare const recommendationReducer: import("@reduxjs/toolkit").Reducer<import("./recommendation-state.js").RecommendationState> & {
|
|
2
2
|
getInitialState: () => import("./recommendation-state.js").RecommendationState;
|
|
3
3
|
};
|
|
@@ -25,7 +25,7 @@ export declare const fetchResultContent: import("@reduxjs/toolkit").AsyncThunk<F
|
|
|
25
25
|
rejectValue: SearchAPIErrorWithStatusCode;
|
|
26
26
|
state: StateNeededByHtmlEndpoint;
|
|
27
27
|
extra: ClientThunkExtraArguments<HtmlApiClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
28
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
28
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
29
29
|
serializedErrorType?: unknown;
|
|
30
30
|
pendingMeta?: unknown;
|
|
31
31
|
fulfilledMeta?: unknown;
|
|
@@ -42,7 +42,7 @@ export declare const updateContentURL: import("@reduxjs/toolkit").AsyncThunk<Upd
|
|
|
42
42
|
rejectValue: SearchAPIErrorWithStatusCode;
|
|
43
43
|
state: StateNeededByHtmlEndpoint;
|
|
44
44
|
extra: ClientThunkExtraArguments<HtmlApiClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
45
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
45
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
46
46
|
serializedErrorType?: unknown;
|
|
47
47
|
pendingMeta?: unknown;
|
|
48
48
|
fulfilledMeta?: unknown;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type ResultPreviewState } from './result-preview-state.js';
|
|
2
|
-
export declare const resultPreviewReducer: import("
|
|
2
|
+
export declare const resultPreviewReducer: import("@reduxjs/toolkit").Reducer<ResultPreviewState> & {
|
|
3
3
|
getInitialState: () => ResultPreviewState;
|
|
4
4
|
};
|
|
@@ -21,7 +21,7 @@ export declare const executeSearch: import("@reduxjs/toolkit").AsyncThunk<Execut
|
|
|
21
21
|
rejectValue: import("../../../api/search/search-api-error-response.js").SearchAPIErrorWithStatusCode;
|
|
22
22
|
state: StateNeededByExecuteSearch;
|
|
23
23
|
extra: import("../../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../../api/search/search-api-client.js").SearchAPIClient, import("../../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
24
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
24
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
25
25
|
serializedErrorType?: unknown;
|
|
26
26
|
pendingMeta?: unknown;
|
|
27
27
|
fulfilledMeta?: unknown;
|
|
@@ -31,7 +31,7 @@ export declare const fetchPage: import("@reduxjs/toolkit").AsyncThunk<ExecuteSea
|
|
|
31
31
|
rejectValue: import("../../../api/search/search-api-error-response.js").SearchAPIErrorWithStatusCode;
|
|
32
32
|
state: StateNeededByExecuteSearch;
|
|
33
33
|
extra: import("../../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../../api/search/search-api-client.js").SearchAPIClient, import("../../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
34
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
34
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
35
35
|
serializedErrorType?: unknown;
|
|
36
36
|
pendingMeta?: unknown;
|
|
37
37
|
fulfilledMeta?: unknown;
|
|
@@ -41,7 +41,7 @@ export declare const fetchMoreResults: import("@reduxjs/toolkit").AsyncThunk<Exe
|
|
|
41
41
|
rejectValue: import("../../../api/search/search-api-error-response.js").SearchAPIErrorWithStatusCode;
|
|
42
42
|
state: StateNeededByExecuteSearch;
|
|
43
43
|
extra: import("../../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../../api/search/search-api-client.js").SearchAPIClient, import("../../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
44
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
44
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
45
45
|
serializedErrorType?: unknown;
|
|
46
46
|
pendingMeta?: unknown;
|
|
47
47
|
fulfilledMeta?: unknown;
|
|
@@ -51,7 +51,7 @@ export declare const fetchFacetValues: import("@reduxjs/toolkit").AsyncThunk<Exe
|
|
|
51
51
|
rejectValue: import("../../../api/search/search-api-error-response.js").SearchAPIErrorWithStatusCode;
|
|
52
52
|
state: StateNeededByExecuteSearch;
|
|
53
53
|
extra: import("../../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../../api/search/search-api-client.js").SearchAPIClient, import("../../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
54
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
54
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
55
55
|
serializedErrorType?: unknown;
|
|
56
56
|
pendingMeta?: unknown;
|
|
57
57
|
fulfilledMeta?: unknown;
|
|
@@ -61,7 +61,7 @@ export declare const fetchInstantResults: import("@reduxjs/toolkit").AsyncThunk<
|
|
|
61
61
|
rejectValue: import("../../../api/search/search-api-error-response.js").SearchAPIErrorWithStatusCode;
|
|
62
62
|
state: import("../../../state/state-sections.js").ConfigurationSection & Partial<import("../../../state/state-sections.js").QuerySection & import("../../../state/state-sections.js").AdvancedSearchQueriesSection & import("../../../state/state-sections.js").PaginationSection & import("../../../state/state-sections.js").SortSection & import("../../../state/state-sections.js").FacetSection & import("../../../state/state-sections.js").NumericFacetSection & import("../../../state/state-sections.js").CategoryFacetSection & import("../../../state/state-sections.js").DateFacetSection & import("../../../state/state-sections.js").ContextSection & import("../../../state/state-sections.js").DidYouMeanSection & import("../../../state/state-sections.js").FieldsSection & import("../../../state/state-sections.js").PipelineSection & import("../../../state/state-sections.js").SearchHubSection & import("../../../state/state-sections.js").QuerySetSection & import("../../../state/state-sections.js").FacetOptionsSection & import("../../../state/state-sections.js").FacetOrderSection & import("../../../state/state-sections.js").DebugSection & import("../../../state/state-sections.js").SearchSection & import("../../../state/state-sections.js").FoldingSection & import("../../../state/state-sections.js").TriggerSection> & InstantResultSection;
|
|
63
63
|
extra: import("../../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../../api/search/search-api-client.js").SearchAPIClient, import("../../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
|
|
64
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("
|
|
64
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
65
65
|
serializedErrorType?: unknown;
|
|
66
66
|
pendingMeta?: unknown;
|
|
67
67
|
fulfilledMeta?: unknown;
|