@trackunit/iris-app-runtime-core-api 1.7.90 → 1.7.91
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/iris-app-runtime-core-api",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.91",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@graphql-typed-document-node/core": "^3.2.0",
|
|
11
|
-
"@trackunit/shared-utils": "1.9.
|
|
12
|
-
"@trackunit/geo-json-utils": "1.7.
|
|
11
|
+
"@trackunit/shared-utils": "1.9.81",
|
|
12
|
+
"@trackunit/geo-json-utils": "1.7.81"
|
|
13
13
|
},
|
|
14
14
|
"module": "./index.esm.js",
|
|
15
15
|
"main": "./index.cjs.js",
|
|
@@ -19,7 +19,7 @@ export declare const UserSubscriptionPackage: {
|
|
|
19
19
|
readonly CUSTOMER_PORTAL: "Customer Portal";
|
|
20
20
|
};
|
|
21
21
|
export type UserSubscriptionPackageType = keyof typeof UserSubscriptionPackage;
|
|
22
|
-
export interface
|
|
22
|
+
export interface SubscriptionFeature {
|
|
23
23
|
id: string;
|
|
24
24
|
name: string;
|
|
25
25
|
}
|
|
@@ -31,7 +31,7 @@ export interface UserSubscription {
|
|
|
31
31
|
/**
|
|
32
32
|
* Extra features enabled for the current user. Will be null if still loading.
|
|
33
33
|
*/
|
|
34
|
-
features: Array<
|
|
34
|
+
features: Array<SubscriptionFeature> | null;
|
|
35
35
|
/**
|
|
36
36
|
* Number of days you can see back in time for this subscription.
|
|
37
37
|
*
|
|
@@ -49,10 +49,6 @@ export interface UserSubscription {
|
|
|
49
49
|
*/
|
|
50
50
|
loading: boolean;
|
|
51
51
|
}
|
|
52
|
-
/**
|
|
53
|
-
* @deprecated Use UserSubscription instead
|
|
54
|
-
*/
|
|
55
|
-
export type IUserSubscriptionContext = UserSubscription;
|
|
56
52
|
export interface UserSubscriptionRuntimeApi {
|
|
57
53
|
getUserSubscriptionContext: () => Promise<UserSubscription>;
|
|
58
54
|
}
|