@trackunit/react-core-contexts-api 0.2.190 → 0.2.191
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": "@trackunit/react-core-contexts-api",
|
3
|
-
"version": "0.2.
|
3
|
+
"version": "0.2.191",
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
6
6
|
"engines": {
|
@@ -9,7 +9,7 @@
|
|
9
9
|
"dependencies": {
|
10
10
|
"jest-fetch-mock": "^3.0.3",
|
11
11
|
"@trackunit/shared-utils": "^0.0.92",
|
12
|
-
"@trackunit/geo-json-utils": "^0.0.
|
12
|
+
"@trackunit/geo-json-utils": "^0.0.5"
|
13
13
|
},
|
14
14
|
"module": "./index.esm.js",
|
15
15
|
"main": "./index.cjs.js",
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { GeoJsonPolygon } from "@trackunit/geo-json-utils";
|
1
|
+
import { GeoJsonMultiPolygon, GeoJsonPolygon } from "@trackunit/geo-json-utils";
|
2
2
|
export type ValueName = {
|
3
3
|
value: string;
|
4
4
|
name: string;
|
@@ -14,7 +14,8 @@ export type DateRangeFilterValue = {
|
|
14
14
|
from?: string;
|
15
15
|
to?: string;
|
16
16
|
};
|
17
|
-
export type
|
17
|
+
export type AreaFilterGeoJsonGeometryType = GeoJsonPolygon | GeoJsonMultiPolygon;
|
18
|
+
export type FilterValueType = string[] | ValueName[] | ValueName | AreaFilterGeoJsonGeometryType | MinMaxFilterValue | DateRangeFilterValue | string | number | BooleanValue | undefined;
|
18
19
|
export type FilterBarValues = Record<string, FilterValueType>;
|
19
20
|
export interface IFilterBarContext {
|
20
21
|
/**
|