@trackunit/react-core-contexts-api 0.2.117 → 0.2.119

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
@@ -110,6 +110,7 @@ const assetHomePageIds = [
110
110
  "specification",
111
111
  "telematics",
112
112
  "activity-timeline",
113
+ "customers",
113
114
  ];
114
115
  const siteHomePageIds = ["overview", "assets", "asset-visibility"];
115
116
  /**
package/index.esm.js CHANGED
@@ -106,6 +106,7 @@ const assetHomePageIds = [
106
106
  "specification",
107
107
  "telematics",
108
108
  "activity-timeline",
109
+ "customers",
109
110
  ];
110
111
  const siteHomePageIds = ["overview", "assets", "asset-visibility"];
111
112
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-core-contexts-api",
3
- "version": "0.2.117",
3
+ "version": "0.2.119",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -27,7 +27,7 @@ export type IrisAppOptions = {
27
27
  declare const mainApps: readonly ["fleet/list", "reports", "sites"];
28
28
  export type MainFleetApp = (typeof mainApps)[number];
29
29
  export type FleetAppStandardOptions = Page<MainFleetApp> & NeverIrisApp;
30
- export declare const assetHomePageIds: readonly ["status", "movement", "events", "insights", "specification", "telematics", "activity-timeline"];
30
+ export declare const assetHomePageIds: readonly ["status", "movement", "events", "insights", "specification", "telematics", "activity-timeline", "customers"];
31
31
  export type AssetHomePageId = (typeof assetHomePageIds)[number];
32
32
  export type AssetHomeStandardOptions = Page<AssetHomePageId> & NeverIrisApp;
33
33
  export declare const siteHomePageIds: readonly ["overview", "assets", "asset-visibility"];
@@ -47,5 +47,6 @@ export interface INavigationContext {
47
47
  gotoSiteHome: (siteId: string, options?: IrisAppOptions | SiteHomeStandardOptions) => Promise<boolean>;
48
48
  gotoAppLibrary: (irisAppId?: string) => Promise<boolean>;
49
49
  gotoFleetApp: (options: IrisAppOptions | FleetAppStandardOptions) => Promise<boolean>;
50
+ gotoCustomer: (customerId?: string) => Promise<boolean>;
50
51
  }
51
52
  export {};