@elliemae/pui-scripting-object 1.51.1 → 1.51.3
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.
|
@@ -286,9 +286,13 @@ export declare enum ToastType {
|
|
|
286
286
|
*/
|
|
287
287
|
export type ToastOptions = {
|
|
288
288
|
/**
|
|
289
|
-
* title of the toast
|
|
289
|
+
* title of the toast
|
|
290
290
|
*/
|
|
291
|
-
|
|
291
|
+
title: string;
|
|
292
|
+
/**
|
|
293
|
+
* content of the toast
|
|
294
|
+
*/
|
|
295
|
+
content: string;
|
|
292
296
|
/**
|
|
293
297
|
* {@link ToastType}
|
|
294
298
|
*
|
|
@@ -598,7 +602,8 @@ export interface IApplication extends IScriptingObject {
|
|
|
598
602
|
* @example
|
|
599
603
|
* ```typescript
|
|
600
604
|
* await application.showToast({
|
|
601
|
-
*
|
|
605
|
+
* title: 'Greeting',
|
|
606
|
+
* content: 'Hello World',
|
|
602
607
|
* type: ToastType.INFO
|
|
603
608
|
* });
|
|
604
609
|
* ```
|
|
@@ -33,10 +33,6 @@ export declare enum LogLevels {
|
|
|
33
33
|
* log message
|
|
34
34
|
*/
|
|
35
35
|
export type LogMessage = {
|
|
36
|
-
/**
|
|
37
|
-
* application name
|
|
38
|
-
*/
|
|
39
|
-
appName: string;
|
|
40
36
|
/**
|
|
41
37
|
* message string
|
|
42
38
|
*/
|
|
@@ -162,7 +158,6 @@ export interface IModule extends IScriptingObject {
|
|
|
162
158
|
getParameters(): Promise<ModuleParameters>;
|
|
163
159
|
/**
|
|
164
160
|
* log a message to host application's logs
|
|
165
|
-
* @deprecated use Application.log instead
|
|
166
161
|
* @param message log message
|
|
167
162
|
* @param logLevel log level
|
|
168
163
|
*/
|