@gen3/core 0.11.47 → 0.11.49
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 +6 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/dts/features/filters/types.d.ts +6 -0
- package/dist/dts/features/filters/types.d.ts.map +1 -1
- package/dist/dts/features/guppy/range.d.ts +25 -0
- package/dist/dts/features/guppy/range.d.ts.map +1 -0
- package/dist/dts/features/guppy/tests/range.unit.test.d.ts +2 -0
- package/dist/dts/features/guppy/tests/range.unit.test.d.ts.map +1 -0
- package/dist/dts/types/index.d.ts +2 -108
- package/dist/dts/types/index.d.ts.map +1 -1
- package/dist/dts/types/ranges.d.ts +11 -0
- package/dist/dts/types/ranges.d.ts.map +1 -0
- package/dist/dts/types/types.d.ts +109 -0
- package/dist/dts/types/types.d.ts.map +1 -0
- package/dist/esm/index.js +6 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +19 -2
- package/package.json +3 -2
package/dist/cjs/index.js
CHANGED
|
@@ -880,6 +880,11 @@ const isFilterSet = (input)=>{
|
|
|
880
880
|
}
|
|
881
881
|
return true;
|
|
882
882
|
};
|
|
883
|
+
/**
|
|
884
|
+
* Type guard for Includes
|
|
885
|
+
* @param o - operator to check
|
|
886
|
+
* @category Filters
|
|
887
|
+
*/ const isIncludes = (o)=>o.operator === 'includes' || o.operator === 'in';
|
|
883
888
|
const isUnion = (value)=>{
|
|
884
889
|
return typeof value === 'object' && value !== null && value.operator === 'or' && Array.isArray(value.operands);
|
|
885
890
|
};
|
|
@@ -6089,6 +6094,7 @@ exports.isHistogramDataArrayAnEnum = isHistogramDataArrayAnEnum;
|
|
|
6089
6094
|
exports.isHistogramDataCollection = isHistogramDataCollection;
|
|
6090
6095
|
exports.isHistogramRangeData = isHistogramRangeData;
|
|
6091
6096
|
exports.isHttpStatusError = isHttpStatusError;
|
|
6097
|
+
exports.isIncludes = isIncludes;
|
|
6092
6098
|
exports.isIndexedFilterSetEmpty = isIndexedFilterSetEmpty;
|
|
6093
6099
|
exports.isIntersection = isIntersection;
|
|
6094
6100
|
exports.isIntersectionOrUnion = isIntersectionOrUnion;
|