@trackunit/react-core-contexts-api 1.4.146 → 1.4.148
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": "1.4.
|
3
|
+
"version": "1.4.148",
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
6
6
|
"engines": {
|
@@ -8,9 +8,9 @@
|
|
8
8
|
},
|
9
9
|
"dependencies": {
|
10
10
|
"jest-fetch-mock": "^3.0.3",
|
11
|
-
"@trackunit/shared-utils": "1.5.
|
12
|
-
"@trackunit/geo-json-utils": "1.3.
|
13
|
-
"@trackunit/react-test-setup": "1.0.
|
11
|
+
"@trackunit/shared-utils": "1.5.141",
|
12
|
+
"@trackunit/geo-json-utils": "1.3.139",
|
13
|
+
"@trackunit/react-test-setup": "1.0.31"
|
14
14
|
},
|
15
15
|
"module": "./index.esm.js",
|
16
16
|
"main": "./index.cjs.js",
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export type AdditionalProperties = Record<string, string | number | boolean | null | undefined |
|
1
|
+
export type AdditionalProperties = Record<string, string | number | boolean | null | undefined | Array<string | number>>;
|
2
2
|
/**
|
3
3
|
* @deprecated Specify an event type by extending BaseEvent
|
4
4
|
*/
|
@@ -15,7 +15,7 @@ export type DateRangeFilterValue = {
|
|
15
15
|
to?: string;
|
16
16
|
};
|
17
17
|
export type AreaFilterGeoJsonGeometryType = GeoJsonPolygon | GeoJsonMultiPolygon;
|
18
|
-
export type FilterValueType = string
|
18
|
+
export type FilterValueType = Array<string> | Array<ValueName> | ValueName | AreaFilterGeoJsonGeometryType | MinMaxFilterValue | DateRangeFilterValue | string | number | BooleanValue | undefined;
|
19
19
|
export type FilterBarValues = Record<string, FilterValueType>;
|
20
20
|
export interface FilterBarContext {
|
21
21
|
/**
|
@@ -6,7 +6,7 @@ export interface IUserSubscriptionContext {
|
|
6
6
|
/**
|
7
7
|
* Extra features enabled for the current user. Will be null if still loading.
|
8
8
|
*/
|
9
|
-
features: IFeature
|
9
|
+
features: Array<IFeature> | null;
|
10
10
|
/**
|
11
11
|
* Number of days you can see back in time for this subscription.
|
12
12
|
*
|