eservices-core 1.0.551 → 1.0.552
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.
|
@@ -28,6 +28,7 @@ declare namespace Filter {
|
|
|
28
28
|
var _a: (name: string, values: IFilterEnum) => string;
|
|
29
29
|
export var and: (...expressions: string[]) => string;
|
|
30
30
|
export var is: (name: string, value: string) => string;
|
|
31
|
+
export var or: (...expressions: string[]) => string;
|
|
31
32
|
export { _a as in };
|
|
32
33
|
}
|
|
33
34
|
export default Filter;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* eservices-core v1.0.
|
|
2
|
+
* eservices-core v1.0.552
|
|
3
3
|
* (c) 2023 ESERVICES
|
|
4
4
|
*/
|
|
5
5
|
'use strict';
|
|
@@ -5191,6 +5191,9 @@ Filter.and = function and(...expressions) {
|
|
|
5191
5191
|
};
|
|
5192
5192
|
Filter.is = function is(name, value) {
|
|
5193
5193
|
return `@${name} is ${value}`;
|
|
5194
|
+
};
|
|
5195
|
+
Filter.or = function or(...expressions) {
|
|
5196
|
+
return expressions.join(' or ');
|
|
5194
5197
|
};
|
|
5195
5198
|
|
|
5196
5199
|
/**
|