@hitachivantara/app-shell-shared 1.0.0 → 1.1.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.
@@ -94,8 +94,9 @@ export declare interface HvAppShellViewContextValue {
94
94
 
95
95
  export declare type HvAppShellViewsConfig = {
96
96
  bundle: string;
97
- route: string;
97
+ route: RouteString;
98
98
  config?: Record<string, unknown>;
99
+ views?: HvAppShellViewsConfig[];
99
100
  };
100
101
 
101
102
  export declare interface MenuItem {
@@ -113,6 +114,8 @@ export declare interface MenuItemsContext {
113
114
  rootMenuItemId: string | undefined;
114
115
  }
115
116
 
117
+ declare type RouteString = `/${string}`;
118
+
116
119
  export declare const useHvAppShellConfig: () => HvAppShellContextValue;
117
120
 
118
121
  export declare const useHvMenuItems: () => MenuItemsContext;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hitachivantara/app-shell-shared",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "App Shell Shared",
5
5
  "author": "Hitachi Vantara - Boba Fett Team",
6
6
  "license": "Apache-2.0",
@@ -50,5 +50,5 @@
50
50
  "vite-plugin-dts": "^3.6.4",
51
51
  "vite-tsconfig-paths": "^4.0.5"
52
52
  },
53
- "gitHead": "eccbbda7fa0fa5cdb38c2665d9d6233dd9fc2eb5"
53
+ "gitHead": "6140d2027f6c2d215f1d3c015a9adafd0cf00de6"
54
54
  }