commands
Functions
invokeBundleWidget()
invokeBundleWidget(
payload
):Promise
<string
>
Defined in: commands.ts:14
Invoke the bundle_widget
command.
Parameters
Parameter | Type |
---|---|
payload | { apisBlobUrl : string ; baseUrl : string ; widgetId : string ; } |
payload.apisBlobUrl | string |
payload.baseUrl | string |
payload.widgetId | string |
Returns
Promise
<string
>
invokeExitApp()
invokeExitApp(
payload
):Promise
<void
>
Defined in: commands.ts:25
Invoke the exit_app
command.
Parameters
Parameter | Type |
---|---|
payload | { settings : Settings ; } |
payload.settings | Settings |
Returns
Promise
<void
>
invokeLoadSettings()
invokeLoadSettings():
Promise
<Settings
>
Defined in: commands.ts:39
Invoke the load_settings
command.
Returns
Promise
<Settings
>
invokeOpenInWidgetsDir()
invokeOpenInWidgetsDir(
payload
):Promise
<void
>
Defined in: commands.ts:32
Invoke the open_in_widgets_dir
command.
Parameters
Parameter | Type |
---|---|
payload | { components : string []; } |
payload.components | string [] |
Returns
Promise
<void
>
invokeRescanWidgets()
invokeRescanWidgets():
Promise
<WidgetCollection
>
Defined in: commands.ts:46
Invoke the rescan_widgets
command.
Returns
Promise
<WidgetCollection
>
invokeUpdateToggleShortcut()
invokeUpdateToggleShortcut(
payload
):Promise
<void
>
Defined in: commands.ts:53
Invoke the update_toggle_shortcut
command.
Parameters
Parameter | Type |
---|---|
payload | { newShortcut : string ; oldShortcut : string ; } |
payload.newShortcut ? | string |
payload.oldShortcut ? | string |
Returns
Promise
<void
>