Skip to main content

commands

Functions

invokeBundleWidget()

invokeBundleWidget(payload): Promise<string>

Defined in: commands.ts:14

Invoke the bundle_widget command.

Parameters

ParameterType
payload{ apisBlobUrl: string; baseUrl: string; widgetId: string; }
payload.apisBlobUrlstring
payload.baseUrlstring
payload.widgetIdstring

Returns

Promise<string>


invokeExitApp()

invokeExitApp(payload): Promise<void>

Defined in: commands.ts:25

Invoke the exit_app command.

Parameters

ParameterType
payload{ settings: Settings; }
payload.settingsSettings

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

ParameterType
payload{ components: string[]; }
payload.componentsstring[]

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

ParameterType
payload{ newShortcut: string; oldShortcut: string; }
payload.newShortcut?string
payload.oldShortcut?string

Returns

Promise<void>