@new-project-media/client-frontends-shared-types 1.3.12 → 1.4.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@new-project-media/client-frontends-shared-types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "tsc -p tsconfig.json",
|
|
6
6
|
"postbuild": "mkdir -p ../../dist/packages/client-frontends-shared-types/ && cp package.json ../../dist/packages/client-frontends-shared-types/",
|
|
@@ -77,6 +77,10 @@ type AggregationParam = {
|
|
|
77
77
|
size?: number;
|
|
78
78
|
};
|
|
79
79
|
};
|
|
80
|
+
export declare enum FilterOperator {
|
|
81
|
+
equals = "eq",
|
|
82
|
+
notEquals = "ne"
|
|
83
|
+
}
|
|
80
84
|
export type ClientApiListRequestQueryParams = {
|
|
81
85
|
page?: number;
|
|
82
86
|
export?: boolean;
|
|
@@ -84,6 +88,7 @@ export type ClientApiListRequestQueryParams = {
|
|
|
84
88
|
filters?: Array<{
|
|
85
89
|
field: string;
|
|
86
90
|
value: string | string[];
|
|
91
|
+
operator?: FilterOperator;
|
|
87
92
|
}>;
|
|
88
93
|
ranges?: Array<{
|
|
89
94
|
field: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isCentroidAggregation = exports.isAggregationItem = void 0;
|
|
3
|
+
exports.FilterOperator = exports.isCentroidAggregation = exports.isAggregationItem = void 0;
|
|
4
4
|
const isAggregationItem = (item) => {
|
|
5
5
|
return !!item && 'buckets' in item;
|
|
6
6
|
};
|
|
@@ -9,4 +9,9 @@ const isCentroidAggregation = (item) => {
|
|
|
9
9
|
return !!item && 'location' in item;
|
|
10
10
|
};
|
|
11
11
|
exports.isCentroidAggregation = isCentroidAggregation;
|
|
12
|
+
var FilterOperator;
|
|
13
|
+
(function (FilterOperator) {
|
|
14
|
+
FilterOperator["equals"] = "eq";
|
|
15
|
+
FilterOperator["notEquals"] = "ne";
|
|
16
|
+
})(FilterOperator || (exports.FilterOperator = FilterOperator = {}));
|
|
12
17
|
//# sourceMappingURL=common.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../../../packages/client-frontends-shared-types/src/lib/dataGrid/api/common.ts"],"names":[],"mappings":";;;AA+EO,MAAM,iBAAiB,GAAG,CAC/B,IAA6E,EACpD,EAAE;IAC3B,OAAO,CAAC,CAAC,IAAI,IAAI,SAAS,IAAI,IAAI,CAAA;AACpC,CAAC,CAAA;AAJY,QAAA,iBAAiB,qBAI7B;AAUM,MAAM,qBAAqB,GAAG,CACnC,IAA6E,EAChD,EAAE;IAC/B,OAAO,CAAC,CAAC,IAAI,IAAI,UAAU,IAAI,IAAI,CAAA;AACrC,CAAC,CAAA;AAJY,QAAA,qBAAqB,yBAIjC"}
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../../../packages/client-frontends-shared-types/src/lib/dataGrid/api/common.ts"],"names":[],"mappings":";;;AA+EO,MAAM,iBAAiB,GAAG,CAC/B,IAA6E,EACpD,EAAE;IAC3B,OAAO,CAAC,CAAC,IAAI,IAAI,SAAS,IAAI,IAAI,CAAA;AACpC,CAAC,CAAA;AAJY,QAAA,iBAAiB,qBAI7B;AAUM,MAAM,qBAAqB,GAAG,CACnC,IAA6E,EAChD,EAAE;IAC/B,OAAO,CAAC,CAAC,IAAI,IAAI,UAAU,IAAI,IAAI,CAAA;AACrC,CAAC,CAAA;AAJY,QAAA,qBAAqB,yBAIjC;AAYD,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,+BAAa,CAAA;IACb,kCAAgB,CAAA;AAClB,CAAC,EAHW,cAAc,8BAAd,cAAc,QAGzB"}
|