@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.
- package/bundle.js +1 -1
- package/bundle.js.map +1 -1
- package/constants/event-type.d.ts +15 -11
- package/package.json +1 -1
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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