@coveo/headless 3.28.4-pre.4ba48974db → 3.28.4-pre.4dbee2e113
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/dist/cjs/case-assist/headless.cjs +1 -1
- package/dist/cjs/commerce/headless.cjs +1 -1
- package/dist/cjs/headless.cjs +1 -1
- package/dist/cjs/insight/headless.cjs +1 -1
- package/dist/cjs/insight/node.cjs.stats.json +1 -1
- package/dist/cjs/node.cjs.stats.json +1 -1
- package/dist/cjs/recommendation/headless.cjs +1 -1
- package/dist/cjs/ssr/headless.cjs +1 -1
- package/dist/cjs/ssr/node.cjs.stats.json +1 -1
- package/dist/cjs/ssr-commerce/headless.cjs +1 -1
- package/dist/cjs/ssr-commerce-next/headless.cjs +1 -1
- package/dist/cjs/ssr-next/headless.cjs +1 -1
- package/dist/cjs/ssr-next/node.cjs.stats.json +1 -1
- package/dist/definitions/controllers/core/sort/headless-core-sort.d.ts +12 -0
- package/dist/esm/utils/version.js +1 -1
- package/dist/quantic/browser.cjs.stats.json +1 -1
- package/dist/quantic/case-assist/headless.js +1 -1
- package/dist/quantic/commerce/headless.js +1 -1
- package/dist/quantic/headless.js +1 -1
- package/dist/quantic/headless.js.map +2 -2
- package/dist/quantic/insight/browser.cjs.stats.json +1 -1
- package/dist/quantic/insight/headless.js +1 -1
- package/dist/quantic/insight/headless.js.map +2 -2
- package/dist/quantic/recommendation/headless.js +1 -1
- package/package.json +1 -1
|
@@ -32,6 +32,18 @@ export interface Sort extends Controller {
|
|
|
32
32
|
* Verifies whether the specified sort criterion is the currently active one.
|
|
33
33
|
*
|
|
34
34
|
* @param criterion - The sort criterion to evaluate.
|
|
35
|
+
* Can be a single criterion or an array of criteria.
|
|
36
|
+
* The criteria in an array will be applied sequentially. For example, if there's a tie on the 1st criterion, the API uses the 2nd criterion to break the tie. However, this only works when combining:
|
|
37
|
+
* `SortByRelevancy` followed by one or more `SortByField` or `SortByDate` criteria.
|
|
38
|
+
* `SortByQRE` followed by one or more `SortByField` or `SortByDate` criteria.
|
|
39
|
+
* Two or more `SortByField` criteria.
|
|
40
|
+
* A single `SortByDate` criterion and one or more `SortByField` criteria in any order.
|
|
41
|
+
*
|
|
42
|
+
* Examples:
|
|
43
|
+
* * `SortByRelevancy`, `SortByField`
|
|
44
|
+
* * `SortByQRE`, `SortByField`
|
|
45
|
+
* * `SortByDate`, `SortByField`, `SortByField`
|
|
46
|
+
*
|
|
35
47
|
* @returns `true` if the specified sort criterion is the currently active one; `false` otherwise.
|
|
36
48
|
*/
|
|
37
49
|
isSortedBy(criterion: SortCriterion | SortCriterion[]): boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = "3.28.4-pre.
|
|
1
|
+
export const VERSION = "3.28.4-pre.4dbee2e113" || 'Test version';
|
|
2
2
|
export const COVEO_FRAMEWORK = ['@coveo/atomic', '@coveo/quantic'];
|