@trackunit/react-core-contexts-api 0.0.61 → 0.0.63
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.js +5 -1
- package/package.json +1 -1
- package/userSubscriptionContext.d.ts +5 -5
package/index.js
CHANGED
@@ -1,10 +1,14 @@
|
|
1
1
|
var UserSubscriptionPackageType;
|
2
2
|
|
3
3
|
(function (UserSubscriptionPackageType) {
|
4
|
+
UserSubscriptionPackageType["EXPAND_FLEET_OWNER"] = "Expand (Fleet Owner)";
|
5
|
+
UserSubscriptionPackageType["EVOLVE_FLEET_OWNER"] = "Evolve (Fleet Owner)";
|
6
|
+
UserSubscriptionPackageType["EXPLORE_FLEET_OWNER"] = "Explore (Fleet Owner)"; // OLD PACKAGES
|
7
|
+
|
4
8
|
UserSubscriptionPackageType["Collect"] = "COLLECT";
|
5
9
|
UserSubscriptionPackageType["Insight"] = "INSIGHT";
|
6
|
-
UserSubscriptionPackageType["None"] = "NONE";
|
7
10
|
UserSubscriptionPackageType["View"] = "VIEW";
|
11
|
+
UserSubscriptionPackageType["None"] = "NONE";
|
8
12
|
})(UserSubscriptionPackageType || (UserSubscriptionPackageType = {}));
|
9
13
|
|
10
14
|
export { UserSubscriptionPackageType };
|
package/package.json
CHANGED
@@ -7,15 +7,15 @@ export interface IUserSubscriptionContext {
|
|
7
7
|
* Extra features enabled for the current user. Will be null if still loading
|
8
8
|
*/
|
9
9
|
features: IFeature[] | null;
|
10
|
-
hasCollectPackage: boolean;
|
11
|
-
hasViewPackage: boolean;
|
12
|
-
hasInsightPackage: boolean;
|
13
10
|
}
|
14
11
|
export declare enum UserSubscriptionPackageType {
|
12
|
+
EXPAND_FLEET_OWNER = "Expand (Fleet Owner)",
|
13
|
+
EVOLVE_FLEET_OWNER = "Evolve (Fleet Owner)",
|
14
|
+
EXPLORE_FLEET_OWNER = "Explore (Fleet Owner)",
|
15
15
|
Collect = "COLLECT",
|
16
16
|
Insight = "INSIGHT",
|
17
|
-
|
18
|
-
|
17
|
+
View = "VIEW",
|
18
|
+
None = "NONE"
|
19
19
|
}
|
20
20
|
export interface IFeature {
|
21
21
|
id: string;
|