@luigi-project/container 1.4.0-dev.202411250033 → 1.4.0-dev.202411270032

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.
@@ -1,11 +1,15 @@
1
- // TODO: Add and extend event to inclide custom typings/interface to make it easier to use on the listener parameter
2
- export interface ParamsEvent extends Event {}
1
+ /**
2
+ * ParamsEvent interface is used to make the handling of listener parameter easier
3
+ */
4
+ export interface ParamsEvent extends Event {
5
+ [key: string]: any; // eslint-disable-line @typescript-eslint/no-explicit-any
6
+ }
3
7
 
4
8
  /**
5
9
  * PathExistsEvent interface is used to make it easier to use the `linkManager().pathExists()` promise based function
6
10
  * on the core application side.
7
- *
8
- * It enforces the use of the callback function, since the latter is hardcoded to be **'callback'**.
11
+ *
12
+ * It enforces the use of the callback function, since the latter is hardcoded to be **'callback'**.
9
13
  * This allows to send back the boolean value if the path exists or not.
10
14
  * @Example
11
15
  * ```
@@ -16,10 +20,10 @@ export interface ParamsEvent extends Event {}
16
20
  * ```
17
21
  */
18
22
  export interface PathExistsEvent extends Event {
19
- /**
20
- *
21
- * @param value the boolean value that is to be sent back to the the path exists promise i.e.: `linkManager().pathExists().then(value...)
22
- * @returns void
23
- */
24
- callback: (value: boolean) => void;
25
- }
23
+ /**
24
+ *
25
+ * @param value the boolean value that is to be sent back to the the path exists promise i.e.: `linkManager().pathExists().then(value...)
26
+ * @returns void
27
+ */
28
+ callback: (value: boolean) => void;
29
+ }
package/package.json CHANGED
@@ -20,5 +20,5 @@
20
20
  "micro-frontends",
21
21
  "microfrontends"
22
22
  ],
23
- "version": "1.4.0-dev.202411250033"
23
+ "version": "1.4.0-dev.202411270032"
24
24
  }