@trackunit/react-core-contexts-api 0.2.157 → 0.2.158

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.157",
3
+ "version": "0.2.158",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -30,6 +30,9 @@ export type IrisAppOptions = {
30
30
  declare const mainApps: readonly ["fleet/list", "reports", "sites"];
31
31
  export type MainFleetApp = (typeof mainApps)[number];
32
32
  export type FleetAppStandardOptions = Page<MainFleetApp> & NeverIrisApp;
33
+ export type MarketplaceOptions = {
34
+ irisAppId: string;
35
+ };
33
36
  export declare const assetHomePageIds: readonly ["status", "movement", "events", "insights", "specification", "telematics", "activity-timeline", "contracts"];
34
37
  export type AssetHomePageId = (typeof assetHomePageIds)[number];
35
38
  export type AssetHomeStandardOptions = Page<AssetHomePageId> & NeverIrisApp;
@@ -55,7 +58,7 @@ export interface INavigationContext {
55
58
  gotoAppLibrary: (irisAppId?: string) => Promise<boolean>;
56
59
  gotoFleetApp: (options: IrisAppOptions | FleetAppStandardOptions) => Promise<boolean>;
57
60
  gotoAdmin: (url?: string) => Promise<boolean>;
58
- gotoMarketplace: () => Promise<boolean>;
61
+ gotoMarketplace: (options?: MarketplaceOptions) => Promise<boolean>;
59
62
  reloadManager: () => Promise<boolean>;
60
63
  }
61
64
  export {};