@new-project-media/client-frontends-shared-types 2.0.6 → 2.0.7
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 +1 -1
- package/src/lib/dataGrid/api/common.d.ts +12 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@new-project-media/client-frontends-shared-types",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.7",
|
|
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/",
|
|
@@ -104,20 +104,22 @@ type GeoBounds = {
|
|
|
104
104
|
bottomRight: Location;
|
|
105
105
|
};
|
|
106
106
|
type GeoShape = number[][][];
|
|
107
|
+
export type ClientApiListRequestFilter = {
|
|
108
|
+
field: string;
|
|
109
|
+
value: string | string[];
|
|
110
|
+
operator?: FilterOperator;
|
|
111
|
+
};
|
|
112
|
+
export type ClientApiListRequestRange = {
|
|
113
|
+
field: string;
|
|
114
|
+
to?: string;
|
|
115
|
+
from?: string;
|
|
116
|
+
};
|
|
107
117
|
export type ClientApiListRequestQueryParams = {
|
|
108
118
|
page?: number;
|
|
109
119
|
export?: boolean;
|
|
110
120
|
pageSize?: number;
|
|
111
|
-
filters?:
|
|
112
|
-
|
|
113
|
-
value: string | string[];
|
|
114
|
-
operator?: FilterOperator;
|
|
115
|
-
}>;
|
|
116
|
-
ranges?: Array<{
|
|
117
|
-
field: string;
|
|
118
|
-
to?: string;
|
|
119
|
-
from?: string;
|
|
120
|
-
}>;
|
|
121
|
+
filters?: ClientApiListRequestFilter[];
|
|
122
|
+
ranges?: ClientApiListRequestRange[];
|
|
121
123
|
aggregations?: AggregationParam[];
|
|
122
124
|
globalStats?: string[];
|
|
123
125
|
searchTerm?: string;
|