@gen3/core 0.12.65 → 0.12.66
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/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/dts/features/facets/types.d.ts +8 -0
- package/dist/dts/features/facets/types.d.ts.map +1 -1
- package/dist/dts/features/filters/filters.d.ts.map +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +8 -0
- package/package.json +2 -2
package/dist/cjs/index.js
CHANGED
|
@@ -1593,8 +1593,8 @@ const isOperationWithField = (operation)=>{
|
|
|
1593
1593
|
const isOperatorWithFieldAndArrayOfOperands = (operation)=>{
|
|
1594
1594
|
if (typeof operation === 'object' && operation !== null && 'operands' in operation && Array.isArray(operation.operands) && 'field' in operation && typeof operation.field === 'string' // Assuming `field` should be a string
|
|
1595
1595
|
) {
|
|
1596
|
-
const { operator } = operation
|
|
1597
|
-
return operator === 'in' || operator === '
|
|
1596
|
+
const { operator } = operation;
|
|
1597
|
+
return operator === 'in' || operator === 'includes' || operator === 'excludes' || operator === 'excludeifany';
|
|
1598
1598
|
}
|
|
1599
1599
|
return false;
|
|
1600
1600
|
};
|