@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/luigi.js +18 -18
- package/luigi.js.map +1 -1
- package/package.json +1 -1
- package/services/routing.service.d.ts +10 -0
- package/types/navigation.d.ts +1 -0
package/package.json
CHANGED
|
@@ -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
|
}
|