@trackunit/react-core-contexts-api 1.4.147 → 1.4.149-alpha-bd113689dde.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/index.cjs.js
CHANGED
|
@@ -128,6 +128,7 @@ const isIrisOptions = (options) => {
|
|
|
128
128
|
};
|
|
129
129
|
|
|
130
130
|
const UserSubscriptionPackage = {
|
|
131
|
+
ENTRY_FLEET_OWNER: "Entry (Fleet Owner)",
|
|
131
132
|
EXPLORE_FLEET_OWNER: "Explore (Fleet Owner)",
|
|
132
133
|
EVOLVE_FLEET_OWNER: "Evolve (Fleet Owner)",
|
|
133
134
|
EXPAND_FLEET_OWNER: "Expand (Fleet Owner)",
|
package/index.esm.js
CHANGED
|
@@ -126,6 +126,7 @@ const isIrisOptions = (options) => {
|
|
|
126
126
|
};
|
|
127
127
|
|
|
128
128
|
const UserSubscriptionPackage = {
|
|
129
|
+
ENTRY_FLEET_OWNER: "Entry (Fleet Owner)",
|
|
129
130
|
EXPLORE_FLEET_OWNER: "Explore (Fleet Owner)",
|
|
130
131
|
EVOLVE_FLEET_OWNER: "Evolve (Fleet Owner)",
|
|
131
132
|
EXPAND_FLEET_OWNER: "Expand (Fleet Owner)",
|
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.149-alpha-bd113689dde.0",
|
|
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.142-alpha-bd113689dde.0",
|
|
12
|
+
"@trackunit/geo-json-utils": "1.3.140-alpha-bd113689dde.0",
|
|
13
|
+
"@trackunit/react-test-setup": "1.0.32-alpha-bd113689dde.0"
|
|
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
|
*
|
|
@@ -25,6 +25,7 @@ export interface IUserSubscriptionContext {
|
|
|
25
25
|
loading: boolean;
|
|
26
26
|
}
|
|
27
27
|
export declare const UserSubscriptionPackage: {
|
|
28
|
+
readonly ENTRY_FLEET_OWNER: "Entry (Fleet Owner)";
|
|
28
29
|
readonly EXPLORE_FLEET_OWNER: "Explore (Fleet Owner)";
|
|
29
30
|
readonly EVOLVE_FLEET_OWNER: "Evolve (Fleet Owner)";
|
|
30
31
|
readonly EXPAND_FLEET_OWNER: "Expand (Fleet Owner)";
|