@wox-launcher/wox-plugin 0.0.68 → 0.0.70
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/package.json +1 -1
- package/types/index.d.ts +7 -0
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { llm } from "./llm.js"
|
|
2
2
|
import { MetadataCommand, PluginSettingDefinitionItem } from "./setting.js"
|
|
3
3
|
|
|
4
|
+
export type MapString = { [key: string]: string }
|
|
5
|
+
|
|
4
6
|
export type Platform = "windows" | "darwin" | "linux"
|
|
5
7
|
|
|
6
8
|
export interface Plugin {
|
|
@@ -189,6 +191,11 @@ export interface PublicAPI {
|
|
|
189
191
|
*/
|
|
190
192
|
OnGetDynamicSetting: (ctx: Context, callback: (key: string) => PluginSettingDefinitionItem) => Promise<void>
|
|
191
193
|
|
|
194
|
+
/**
|
|
195
|
+
* Register deep link callback
|
|
196
|
+
*/
|
|
197
|
+
OnDeepLink: (ctx: Context, callback: (arguments: MapString) => void) => Promise<void>
|
|
198
|
+
|
|
192
199
|
/**
|
|
193
200
|
* Register query commands
|
|
194
201
|
*/
|