@wox-launcher/wox-plugin 0.0.50 → 0.0.51
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/dist/index.d.ts +3 -9
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -38,12 +38,6 @@ export interface Query {
|
|
|
38
38
|
* NOTE: Only available when query type is input
|
|
39
39
|
*/
|
|
40
40
|
Search: string;
|
|
41
|
-
/**
|
|
42
|
-
* if this query is a shortcut expand query, this property will be origin query before expand
|
|
43
|
-
*
|
|
44
|
-
* NOTE: Only available when query type is input
|
|
45
|
-
*/
|
|
46
|
-
ShortcutFrom: string;
|
|
47
41
|
/**
|
|
48
42
|
* User selected or drag-drop data, can be text or file or image etc
|
|
49
43
|
*
|
|
@@ -97,9 +91,9 @@ export interface PluginInitContext {
|
|
|
97
91
|
PluginDirectory: string;
|
|
98
92
|
}
|
|
99
93
|
export interface ChangeQueryParam {
|
|
100
|
-
QueryType:
|
|
101
|
-
QueryText
|
|
102
|
-
QuerySelection
|
|
94
|
+
QueryType: "input" | "selection";
|
|
95
|
+
QueryText?: string;
|
|
96
|
+
QuerySelection?: Selection;
|
|
103
97
|
}
|
|
104
98
|
export interface PublicAPI {
|
|
105
99
|
/**
|