@luigi-project/client 2.27.1-dev.202602230049 → 2.27.1-dev.202602250050
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-client.d.ts +3 -3
- package/package.json +1 -1
package/luigi-client.d.ts
CHANGED
|
@@ -78,7 +78,7 @@ export declare interface ClientPermissions {
|
|
|
78
78
|
|
|
79
79
|
export declare interface AlertSettings {
|
|
80
80
|
text?: string;
|
|
81
|
-
type
|
|
81
|
+
type?: 'info' | 'success' | 'warning' | 'error';
|
|
82
82
|
links?: {
|
|
83
83
|
[key: string]: { text: string; url?: string; dismissKey?: string };
|
|
84
84
|
};
|
|
@@ -198,7 +198,7 @@ export declare interface UxManager {
|
|
|
198
198
|
* // Logic to execute when the confirmation modal is dismissed
|
|
199
199
|
* });
|
|
200
200
|
*/
|
|
201
|
-
showConfirmationModal: (settings: ConfirmationModalSettings) => Promise<
|
|
201
|
+
showConfirmationModal: <T = unknown>(settings: ConfirmationModalSettings) => Promise<T>;
|
|
202
202
|
|
|
203
203
|
/**
|
|
204
204
|
* Gets the current locale.
|
|
@@ -427,7 +427,7 @@ export declare interface LinkManager {
|
|
|
427
427
|
* console.log(res.data) //=> {foo: 'bar'}
|
|
428
428
|
* });
|
|
429
429
|
*/
|
|
430
|
-
openAsModal: (nodepath: string, modalSettings?: ModalSettings) => Promise<
|
|
430
|
+
openAsModal: <T = unknown>(nodepath: string, modalSettings?: ModalSettings) => Promise<T>;
|
|
431
431
|
|
|
432
432
|
/**
|
|
433
433
|
* Updates the current title and size of a modal. If `routing.showModalPathInUrl` is set to `true`, the URL will be updated with the modal settings data.
|
package/package.json
CHANGED