@coveo/quantic 3.26.1-pre.f7120f5ae4 → 3.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/force-app/main/default/staticresources/coveobueno/browser/bueno.js +27 -27
- package/force-app/main/default/staticresources/coveobueno/definitions/index.d.ts +3 -3
- package/force-app/main/default/staticresources/coveobueno/definitions/values/boolean-value.d.ts +2 -2
- package/force-app/main/default/staticresources/coveobueno/definitions/values/complex-value.d.ts +5 -5
- package/force-app/main/default/staticresources/coveobueno/definitions/values/enum-value.d.ts +2 -2
- package/force-app/main/default/staticresources/coveobueno/definitions/values/number-value.d.ts +2 -2
- package/force-app/main/default/staticresources/coveobueno/definitions/values/string-value.d.ts +2 -2
- package/force-app/main/default/staticresources/coveobueno/definitions/values/value.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/case-assist/headless.js +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/search/search/result.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/case-assist-engine/case-assist-engine-configuration.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-engine/commerce-engine-configuration.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/engine-configuration.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/insight-engine/insight-engine-configuration.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/recommendation-engine/recommendation-engine-configuration.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/search-engine/search-engine-configuration.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/facets/generator/headless-commerce-facet-generator.ssr.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/search/did-you-mean/headless-did-you-mean.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/category-facet/headless-core-category-facet-options.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/facet/headless-core-facet-options.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/date-facet/headless-core-date-filter.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/date-facet/headless-date-facet-options.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/numeric-facet/headless-core-numeric-filter.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/numeric-facet/headless-numeric-facet-options.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/smart-snippet/headless-core-smart-snippet.d.ts +6 -6
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facets/automatic-facet/headless-automatic-facet.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facets/facet/headless-facet-options.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/smart-snippet-questions-list/headless-insight-smart-snippet-questions-list.d.ts +6 -6
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/smart-snippet-questions-list/headless-smart-snippet-questions-list.d.ts +6 -6
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/case-assist-configuration/case-assist-configuration-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/case-assist-configuration/case-assist-configuration-state.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/configuration/configuration-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/configuration/configuration-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/category-facet-set/category-facet-set-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-api/request.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-set/facet-set-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/date-facet-set/date-facet-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/generic/interfaces/request.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/numeric-facet-set/numeric-facet-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/sort-criteria/criteria-parser.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/headless.js +3 -3
- package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +3 -3
- package/force-app/main/default/staticresources/coveoheadless/recommendation/headless.js +2 -2
- package/package.json +3 -3
|
@@ -60,7 +60,7 @@ export interface SearchConfigurationOptions {
|
|
|
60
60
|
/**
|
|
61
61
|
* The base URL to use to proxy Coveo search requests (e.g., `https://example.com/search`).
|
|
62
62
|
*
|
|
63
|
-
* This is an advanced option that you
|
|
63
|
+
* This is an advanced option that you only set if you proxy Coveo searchrequests through your own
|
|
64
64
|
* server. In most cases, you should not set this option.
|
|
65
65
|
*
|
|
66
66
|
* See [Headless proxy: Search](https://docs.coveo.com/en/headless/latest/usage/proxy#search).
|
|
@@ -33,10 +33,10 @@ export interface FacetGenerator extends Omit<CSRFacetGenerator, 'state' | 'facet
|
|
|
33
33
|
/**
|
|
34
34
|
* The state of each every facet returned by the Commerce API.
|
|
35
35
|
*
|
|
36
|
-
* In a server-side rendering (SSR) scenario,
|
|
36
|
+
* In a server-side rendering (SSR) scenario, use this state to render the facet UI components before the
|
|
37
37
|
* facet controller is hydrated on the client side.
|
|
38
38
|
*
|
|
39
|
-
* Once the facet generator controller has been hydrated,
|
|
39
|
+
* Once the facet generator controller has been hydrated, use the `getFacetController` method to retrieve
|
|
40
40
|
* the individual facet controllers and subscribe to their respective states.
|
|
41
41
|
*/
|
|
42
42
|
state: FacetGeneratorState;
|
|
@@ -13,7 +13,7 @@ export interface DidYouMean extends Controller {
|
|
|
13
13
|
/**
|
|
14
14
|
* Executes a search using the suggested query correction.
|
|
15
15
|
*
|
|
16
|
-
* Typically, you
|
|
16
|
+
* Typically, you only call this method when `state.hasQueryCorrection` is `true` and `state.wasAutomaticallyCorrected` is `false`.
|
|
17
17
|
* When this is the case, you could call this method when the user clicks a link to search with the suggested query correction rather than
|
|
18
18
|
* with the query they originally submitted.
|
|
19
19
|
*/
|
|
@@ -2,7 +2,7 @@ import { Schema } from '@coveo/bueno';
|
|
|
2
2
|
import { type CategoryFacetSortCriterion } from '../../../../features/facets/category-facet-set/interfaces/request.js';
|
|
3
3
|
export interface CategoryFacetOptions {
|
|
4
4
|
/**
|
|
5
|
-
* The field
|
|
5
|
+
* The field from which to display values in the facet.
|
|
6
6
|
* */
|
|
7
7
|
field: string;
|
|
8
8
|
/**
|
|
@@ -3,7 +3,7 @@ import { type FacetResultsMustMatch } from '../../../../features/facets/facet-ap
|
|
|
3
3
|
import { type FacetSortCriterion } from '../../../../features/facets/facet-set/interfaces/request.js';
|
|
4
4
|
export interface FacetOptions {
|
|
5
5
|
/**
|
|
6
|
-
* The field
|
|
6
|
+
* The field from which to display values in the facet.
|
|
7
7
|
* */
|
|
8
8
|
field: string;
|
|
9
9
|
/**
|
|
@@ -6,7 +6,7 @@ import { type Controller } from '../../../../controller/headless-controller.js';
|
|
|
6
6
|
*/
|
|
7
7
|
export interface DateFilterOptions {
|
|
8
8
|
/**
|
|
9
|
-
* The
|
|
9
|
+
* The values of which field to display in the filter.
|
|
10
10
|
*/
|
|
11
11
|
field: string;
|
|
12
12
|
/**
|
|
@@ -5,7 +5,7 @@ import { type RangeFacetRangeAlgorithm, type RangeFacetSortCriterion } from '../
|
|
|
5
5
|
import type { ConfigurationSection, DateFacetSection, SearchSection } from '../../../../../state/state-sections.js';
|
|
6
6
|
export interface DateFacetOptions {
|
|
7
7
|
/**
|
|
8
|
-
* The field
|
|
8
|
+
* The field from which to display values in the facet.
|
|
9
9
|
*/
|
|
10
10
|
field: string;
|
|
11
11
|
/**
|
|
@@ -18,7 +18,7 @@ export interface DateFacetOptions {
|
|
|
18
18
|
/**
|
|
19
19
|
* Whether the index should automatically create range values.
|
|
20
20
|
*
|
|
21
|
-
* Tip: If you set this parameter to true,
|
|
21
|
+
* Tip: If you set this parameter to true, ensure that the ['Use cache for numeric queries' option](https://docs.coveo.com/en/1833#use-cache-for-numeric-queries) is enabled for this facet's field in your index in order to speed up automatic range evaluation.
|
|
22
22
|
*/
|
|
23
23
|
generateAutomaticRanges: boolean;
|
|
24
24
|
/**
|
|
@@ -6,7 +6,7 @@ import { type Controller } from '../../../../controller/headless-controller.js';
|
|
|
6
6
|
*/
|
|
7
7
|
export interface NumericFilterOptions {
|
|
8
8
|
/**
|
|
9
|
-
* The
|
|
9
|
+
* The values of which field to display in the filter.
|
|
10
10
|
*/
|
|
11
11
|
field: string;
|
|
12
12
|
/**
|
|
@@ -9,7 +9,7 @@ import type { ConfigurationSection, NumericFacetSection, SearchSection } from '.
|
|
|
9
9
|
*/
|
|
10
10
|
export interface NumericFacetOptions {
|
|
11
11
|
/**
|
|
12
|
-
* The field
|
|
12
|
+
* The field from which to display values in the facet.
|
|
13
13
|
*/
|
|
14
14
|
field: string;
|
|
15
15
|
/**
|
|
@@ -22,7 +22,7 @@ export interface NumericFacetOptions {
|
|
|
22
22
|
/**
|
|
23
23
|
* Whether the index should automatically create range values.
|
|
24
24
|
*
|
|
25
|
-
* Tip: If you set this parameter to true,
|
|
25
|
+
* Tip: If you set this parameter to true, ensure that the ['Use cache for numeric queries' option](https://docs.coveo.com/en/1833#use-cache-for-numeric-queries) is enabled for this facet's field in your index in order to speed up automatic range evaluation.
|
|
26
26
|
*/
|
|
27
27
|
generateAutomaticRanges: boolean;
|
|
28
28
|
/**
|
|
@@ -63,7 +63,7 @@ export interface SmartSnippetCore extends Controller {
|
|
|
63
63
|
/**
|
|
64
64
|
* Selects the source, logging a UA event to the Coveo Platform if the source wasn't already selected before.
|
|
65
65
|
*
|
|
66
|
-
* In a DOM context,
|
|
66
|
+
* In a DOM context, call this method on all of the following events:
|
|
67
67
|
* * `contextmenu`
|
|
68
68
|
* * `click`
|
|
69
69
|
* * `mouseup`
|
|
@@ -73,13 +73,13 @@ export interface SmartSnippetCore extends Controller {
|
|
|
73
73
|
/**
|
|
74
74
|
* Prepares to select the source after a certain delay, sending analytics if it was never selected before.
|
|
75
75
|
*
|
|
76
|
-
* In a DOM context,
|
|
76
|
+
* In a DOM context, call this method on the `touchstart` event.
|
|
77
77
|
*/
|
|
78
78
|
beginDelayedSelectSource(): void;
|
|
79
79
|
/**
|
|
80
80
|
* Cancels the pending selection caused by `beginDelayedSelectSource`.
|
|
81
81
|
*
|
|
82
|
-
* In a DOM context,
|
|
82
|
+
* In a DOM context, call this method on the `touchend` event.
|
|
83
83
|
*/
|
|
84
84
|
cancelPendingSelectSource(): void;
|
|
85
85
|
}
|
|
@@ -95,7 +95,7 @@ export interface SmartSnippet extends SmartSnippetCore {
|
|
|
95
95
|
/**
|
|
96
96
|
* Selects a link inside the answer, logging a UA event to the Coveo Platform if it was never selected before.
|
|
97
97
|
*
|
|
98
|
-
* In a DOM context,
|
|
98
|
+
* In a DOM context, call this method on all of the following events:
|
|
99
99
|
* * `contextmenu`
|
|
100
100
|
* * `click`
|
|
101
101
|
* * `mouseup`
|
|
@@ -107,7 +107,7 @@ export interface SmartSnippet extends SmartSnippetCore {
|
|
|
107
107
|
/**
|
|
108
108
|
* Prepares to select a link inside the answer after a certain delay, sending analytics if it was never selected before.
|
|
109
109
|
*
|
|
110
|
-
* In a DOM context,
|
|
110
|
+
* In a DOM context, call this method on the `touchstart` event.
|
|
111
111
|
*
|
|
112
112
|
* @param link - The link to select.
|
|
113
113
|
*/
|
|
@@ -115,7 +115,7 @@ export interface SmartSnippet extends SmartSnippetCore {
|
|
|
115
115
|
/**
|
|
116
116
|
* Cancels the pending selection caused by `beginDelayedSelectInlineLink`.
|
|
117
117
|
*
|
|
118
|
-
* In a DOM context,
|
|
118
|
+
* In a DOM context, call this method on the `touchend` event.
|
|
119
119
|
*
|
|
120
120
|
* @param link - The link to select.
|
|
121
121
|
*/
|
|
@@ -6,7 +6,7 @@ import type { AutomaticFacet } from '../automatic-facet-generator/headless-autom
|
|
|
6
6
|
*/
|
|
7
7
|
export interface AutomaticFacetProps {
|
|
8
8
|
/**
|
|
9
|
-
* The field
|
|
9
|
+
* The field from which to display values in the facet.
|
|
10
10
|
*/
|
|
11
11
|
field: string;
|
|
12
12
|
}
|
|
@@ -3,7 +3,7 @@ import { type FacetResultsMustMatch } from '../../../features/facets/facet-api/r
|
|
|
3
3
|
import { type FacetSortCriterion } from '../../../features/facets/facet-set/interfaces/request.js';
|
|
4
4
|
export interface FacetOptions {
|
|
5
5
|
/**
|
|
6
|
-
* The field
|
|
6
|
+
* The field from which to display values in the facet.
|
|
7
7
|
* */
|
|
8
8
|
field: string;
|
|
9
9
|
/**
|
|
@@ -25,7 +25,7 @@ export interface SmartSnippetQuestionsList extends CoreSmartSnippetQuestionsList
|
|
|
25
25
|
/**
|
|
26
26
|
* Selects the source, logging a UA event to the Coveo Platform if the source hadn't been selected before.
|
|
27
27
|
*
|
|
28
|
-
* In a DOM context,
|
|
28
|
+
* In a DOM context, call this method on all of the following events:
|
|
29
29
|
* * `contextmenu`
|
|
30
30
|
* * `click`
|
|
31
31
|
* * `mouseup`
|
|
@@ -37,7 +37,7 @@ export interface SmartSnippetQuestionsList extends CoreSmartSnippetQuestionsList
|
|
|
37
37
|
/**
|
|
38
38
|
* Prepares to select the source after a certain delay, sending analytics if it hadn't been selected before.
|
|
39
39
|
*
|
|
40
|
-
* In a DOM context,
|
|
40
|
+
* In a DOM context, call this method on the `touchstart` event.
|
|
41
41
|
*
|
|
42
42
|
* @param identifier - The `questionAnswerId` of the smart snippet to collapse.
|
|
43
43
|
*/
|
|
@@ -45,7 +45,7 @@ export interface SmartSnippetQuestionsList extends CoreSmartSnippetQuestionsList
|
|
|
45
45
|
/**
|
|
46
46
|
* Cancels the pending selection caused by `beginDelayedSelect`.
|
|
47
47
|
*
|
|
48
|
-
* In a DOM context,
|
|
48
|
+
* In a DOM context, call this method on the `touchend` event.
|
|
49
49
|
*
|
|
50
50
|
* @param identifier - The `questionAnswerId` of the smart snippet to collapse.
|
|
51
51
|
*/
|
|
@@ -53,7 +53,7 @@ export interface SmartSnippetQuestionsList extends CoreSmartSnippetQuestionsList
|
|
|
53
53
|
/**
|
|
54
54
|
* Selects a link inside an answer, logging a UA event to the Coveo Platform if it was never selected before.
|
|
55
55
|
*
|
|
56
|
-
* In a DOM context,
|
|
56
|
+
* In a DOM context, call this method on all of the following events:
|
|
57
57
|
* * `contextmenu`
|
|
58
58
|
* * `click`
|
|
59
59
|
* * `mouseup`
|
|
@@ -66,7 +66,7 @@ export interface SmartSnippetQuestionsList extends CoreSmartSnippetQuestionsList
|
|
|
66
66
|
/**
|
|
67
67
|
* Prepares to select a link inside an answer after a certain delay, sending analytics if it was never selected before.
|
|
68
68
|
*
|
|
69
|
-
* In a DOM context,
|
|
69
|
+
* In a DOM context, call this method on the `touchstart` event.
|
|
70
70
|
*
|
|
71
71
|
* @param identifier - The `questionAnswerId` of the smart snippet containing the link.
|
|
72
72
|
* @param link - The link to select.
|
|
@@ -75,7 +75,7 @@ export interface SmartSnippetQuestionsList extends CoreSmartSnippetQuestionsList
|
|
|
75
75
|
/**
|
|
76
76
|
* Cancels the pending selection caused by `beginDelayedSelectInlineLink`.
|
|
77
77
|
*
|
|
78
|
-
* In a DOM context,
|
|
78
|
+
* In a DOM context, call this method on the `touchend` event.
|
|
79
79
|
*
|
|
80
80
|
* @param identifier - The `questionAnswerId` of the smart snippet containing the link.
|
|
81
81
|
* @param link - The link to select.
|
|
@@ -27,7 +27,7 @@ export interface SmartSnippetQuestionsList extends CoreSmartSnippetQuestionsList
|
|
|
27
27
|
/**
|
|
28
28
|
* Selects the source, logging a UA event to the Coveo Platform if the source hadn't been selected before.
|
|
29
29
|
*
|
|
30
|
-
* In a DOM context,
|
|
30
|
+
* In a DOM context, call this method on all of the following events:
|
|
31
31
|
* * `contextmenu`
|
|
32
32
|
* * `click`
|
|
33
33
|
* * `mouseup`
|
|
@@ -39,7 +39,7 @@ export interface SmartSnippetQuestionsList extends CoreSmartSnippetQuestionsList
|
|
|
39
39
|
/**
|
|
40
40
|
* Prepares to select the source after a certain delay, sending analytics if it hadn't been selected before.
|
|
41
41
|
*
|
|
42
|
-
* In a DOM context,
|
|
42
|
+
* In a DOM context, call this method on the `touchstart` event.
|
|
43
43
|
*
|
|
44
44
|
* @param identifier - The `questionAnswerId` of the smart snippet to collapse.
|
|
45
45
|
*/
|
|
@@ -47,7 +47,7 @@ export interface SmartSnippetQuestionsList extends CoreSmartSnippetQuestionsList
|
|
|
47
47
|
/**
|
|
48
48
|
* Cancels the pending selection caused by `beginDelayedSelect`.
|
|
49
49
|
*
|
|
50
|
-
* In a DOM context,
|
|
50
|
+
* In a DOM context, call this method on the `touchend` event.
|
|
51
51
|
*
|
|
52
52
|
* @param identifier - The `questionAnswerId` of the smart snippet to collapse.
|
|
53
53
|
*/
|
|
@@ -55,7 +55,7 @@ export interface SmartSnippetQuestionsList extends CoreSmartSnippetQuestionsList
|
|
|
55
55
|
/**
|
|
56
56
|
* Selects a link inside an answer, logging a UA event to the Coveo Platform if it was never selected before.
|
|
57
57
|
*
|
|
58
|
-
* In a DOM context,
|
|
58
|
+
* In a DOM context, call this method on all of the following events:
|
|
59
59
|
* * `contextmenu`
|
|
60
60
|
* * `click`
|
|
61
61
|
* * `mouseup`
|
|
@@ -68,7 +68,7 @@ export interface SmartSnippetQuestionsList extends CoreSmartSnippetQuestionsList
|
|
|
68
68
|
/**
|
|
69
69
|
* Prepares to select a link inside an answer after a certain delay, sending analytics if it was never selected before.
|
|
70
70
|
*
|
|
71
|
-
* In a DOM context,
|
|
71
|
+
* In a DOM context, call this method on the `touchstart` event.
|
|
72
72
|
*
|
|
73
73
|
* @param identifier - The `questionAnswerId` of the smart snippet containing the link.
|
|
74
74
|
* @param link - The link to select.
|
|
@@ -77,7 +77,7 @@ export interface SmartSnippetQuestionsList extends CoreSmartSnippetQuestionsList
|
|
|
77
77
|
/**
|
|
78
78
|
* Cancels the pending selection caused by `beginDelayedSelectInlineLink`.
|
|
79
79
|
*
|
|
80
|
-
* In a DOM context,
|
|
80
|
+
* In a DOM context, call this method on the `touchend` event.
|
|
81
81
|
*
|
|
82
82
|
* @param identifier - The `questionAnswerId` of the smart snippet containing the link.
|
|
83
83
|
* @param link - The link to select.
|
|
@@ -10,7 +10,7 @@ export interface SetCaseAssistConfigurationActionCreatorPayload {
|
|
|
10
10
|
/**
|
|
11
11
|
* The base URL to use to proxy Coveo case assist requests (e.g., `https://example.com/search`).
|
|
12
12
|
*
|
|
13
|
-
* This is an advanced option that you
|
|
13
|
+
* This is an advanced option that you only set if you proxy Coveo case assist through your own
|
|
14
14
|
* server. In most cases, you should not set this option.
|
|
15
15
|
*
|
|
16
16
|
* See [Headless proxy: Case Assist](https://docs.coveo.com/en/headless/latest/usage/proxy#case-assist).
|
|
@@ -11,7 +11,7 @@ export interface CaseAssistConfigurationState {
|
|
|
11
11
|
/**
|
|
12
12
|
* The base URL to use to proxy Coveo case assist requests (e.g., `https://example.com/search`).
|
|
13
13
|
*
|
|
14
|
-
* This is an advanced option that you
|
|
14
|
+
* This is an advanced option that you only set if you proxy Coveo case assist through your own
|
|
15
15
|
* server. In most cases, you should not set this option.
|
|
16
16
|
*
|
|
17
17
|
* See [Headless proxy: Case Assist](https://docs.coveo.com/en/headless/latest/usage/proxy#case-assist).
|
|
@@ -5,7 +5,7 @@ export type UpdateProxyBaseUrlPayload = {
|
|
|
5
5
|
/**
|
|
6
6
|
* The base URL to use to proxy Coveo commerce requests (e.g., `https://example.com/commerce`).
|
|
7
7
|
*
|
|
8
|
-
* This is an advanced option that you
|
|
8
|
+
* This is an advanced option that you only set if you proxy Coveo commerce requests through your own
|
|
9
9
|
* server. In most cases, you should not set this option.
|
|
10
10
|
*
|
|
11
11
|
* See [Headless proxy: Commerce](https://docs.coveo.com/en/headless/latest/usage/proxy#commerce).
|
|
@@ -23,7 +23,7 @@ export interface UpdateSearchConfigurationActionCreatorPayload {
|
|
|
23
23
|
/**
|
|
24
24
|
* The base URL to use to proxy Coveo search requests (e.g., `https://example.com/search`).
|
|
25
25
|
*
|
|
26
|
-
* This is an advanced option that you
|
|
26
|
+
* This is an advanced option that you only set if you proxy Coveo searchrequests through your own
|
|
27
27
|
* server. In most cases, you should not set this option.
|
|
28
28
|
*
|
|
29
29
|
* See [Headless proxy: Search](https://docs.coveo.com/en/headless/latest/usage/proxy#search).
|
|
@@ -76,7 +76,7 @@ export interface UpdateAnalyticsConfigurationActionCreatorPayload {
|
|
|
76
76
|
/**
|
|
77
77
|
* The base URL to use to proxy Coveo analytics requests (e.g., `https://example.com/analytics`).
|
|
78
78
|
*
|
|
79
|
-
* This is an advanced option that you
|
|
79
|
+
* This is an advanced option that you only set if you proxy Coveo analytics requests through your own
|
|
80
80
|
* server. In most cases, you should not set this option.
|
|
81
81
|
*
|
|
82
82
|
* See [Headless proxy: Analytics](https://docs.coveo.com/en/headless/latest/usage/proxy#analytics).
|
|
@@ -6,7 +6,7 @@ export interface BaseFacetRequest {
|
|
|
6
6
|
* By default, a unique random identifier is generated.
|
|
7
7
|
*/
|
|
8
8
|
facetId: string;
|
|
9
|
-
/** The field
|
|
9
|
+
/** The field from which to display values in the facet.*/
|
|
10
10
|
field: string;
|
|
11
11
|
/** Whether to exclude folded result parents when estimating the result count for each facet value.
|
|
12
12
|
*
|
|
@@ -7,7 +7,7 @@ export interface RegisterDateFacetActionCreatorPayload {
|
|
|
7
7
|
*/
|
|
8
8
|
facetId: string;
|
|
9
9
|
/**
|
|
10
|
-
* The field
|
|
10
|
+
* The field from which to display values in the facet.
|
|
11
11
|
*/
|
|
12
12
|
field: string;
|
|
13
13
|
/**
|
|
@@ -27,7 +27,7 @@ export interface RegisterDateFacetActionCreatorPayload {
|
|
|
27
27
|
/**
|
|
28
28
|
* Whether the index should automatically create range values.
|
|
29
29
|
*
|
|
30
|
-
* Tip: If you set this parameter to true,
|
|
30
|
+
* Tip: If you set this parameter to true, ensure that the ['Use cache for numeric queries' option](https://docs.coveo.com/en/1833#use-cache-for-numeric-queries) is enabled for this facet's field in your index in order to speed up automatic range evaluation.
|
|
31
31
|
*/
|
|
32
32
|
generateAutomaticRanges: boolean;
|
|
33
33
|
/**
|
|
@@ -9,7 +9,7 @@ export type RangeFacetRangeAlgorithm = 'even' | 'equiprobable';
|
|
|
9
9
|
export interface AutomaticRanges<T extends boolean> {
|
|
10
10
|
/** Whether the index should automatically create range values.
|
|
11
11
|
*
|
|
12
|
-
* Tip: If you set this parameter to true,
|
|
12
|
+
* Tip: If you set this parameter to true, ensure that the Use cache for numeric queries option is enabled for the Facet field in your index in order to speed up automatic range evaluation (see [Add or Edit Fields](https://docs.coveo.com/en/1982/index-content/add-or-edit-a-field)).
|
|
13
13
|
*/
|
|
14
14
|
generateAutomaticRanges: T;
|
|
15
15
|
}
|
|
@@ -7,7 +7,7 @@ export interface RegisterNumericFacetActionCreatorPayload {
|
|
|
7
7
|
*/
|
|
8
8
|
facetId: string;
|
|
9
9
|
/**
|
|
10
|
-
* The field
|
|
10
|
+
* The field from which to display values in the facet.
|
|
11
11
|
*/
|
|
12
12
|
field: string;
|
|
13
13
|
/**
|
|
@@ -27,7 +27,7 @@ export interface RegisterNumericFacetActionCreatorPayload {
|
|
|
27
27
|
/**
|
|
28
28
|
* Whether the index should automatically create range values.
|
|
29
29
|
*
|
|
30
|
-
* Tip: If you set this parameter to true,
|
|
30
|
+
* Tip: If you set this parameter to true, ensure that the ['Use cache for numeric queries' option](https://docs.coveo.com/en/1833#use-cache-for-numeric-queries) is enabled for this facet's field in your index in order to speed up automatic range evaluation.
|
|
31
31
|
*/
|
|
32
32
|
generateAutomaticRanges: boolean;
|
|
33
33
|
/**
|
|
@@ -7,7 +7,7 @@ import { type SortCriterion } from './criteria.js';
|
|
|
7
7
|
* - `relevancy`
|
|
8
8
|
* - `date ascending`/`date descending`
|
|
9
9
|
* - `qre`
|
|
10
|
-
* - `field ascending`/`field descending`, where you
|
|
10
|
+
* - `field ascending`/`field descending`, where you replace `field` with the name of a sortable field in your index (e.g., `criteria="size ascending"`).
|
|
11
11
|
*
|
|
12
12
|
* You can specify multiple sort criteria to be used in the same request by separating them with a comma (e.g., `criteria="size ascending, date ascending"` ).
|
|
13
13
|
*/
|