@luigi-project/core-modular 0.0.7-dev.202605170109 → 0.0.7-dev.202605190111

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
@@ -18,5 +18,5 @@
18
18
  "micro-frontends",
19
19
  "microfrontends"
20
20
  ],
21
- "version": "0.0.7-dev.202605170109"
21
+ "version": "0.0.7-dev.202605190111"
22
22
  }
@@ -125,4 +125,14 @@ export declare class RoutingService {
125
125
  * @returns {Promise<void>} A promise that resolves when error handling is complete.
126
126
  */
127
127
  showPageNotFoundError(pathToRedirect: string, notFoundPath: string, isAnyPathMatched?: boolean): Promise<void>;
128
+ /**
129
+ * Handles viewUrl misconfiguration scenario. If a node has no viewUrl, no children,
130
+ * and is not a compound node, it redirects to the root default child node.
131
+ * @param node - active node data
132
+ * @param viewUrl - the url of the current mf view
133
+ * @param previousPathData - previous path data
134
+ * @param pathUrlRaw - path url without hash
135
+ * @returns true if misconfiguration was detected and handled
136
+ */
137
+ handleViewUrlMisconfigured(node: Node, viewUrl: string, previousPathData: PathData, pathUrlRaw: string): Promise<boolean>;
128
138
  }
@@ -98,6 +98,7 @@ export interface Node {
98
98
  hideFromNav?: boolean;
99
99
  hideSideNav?: boolean;
100
100
  icon?: string;
101
+ intendToHaveEmptyViewUrl?: boolean;
101
102
  isRootNode?: boolean;
102
103
  keepSelectedForChildren?: boolean;
103
104
  label?: string;