@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.
Files changed (2) hide show
  1. package/dist/index.d.ts +3 -9
  2. 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: string;
101
- QueryText: string;
102
- QuerySelection: Selection;
94
+ QueryType: "input" | "selection";
95
+ QueryText?: string;
96
+ QuerySelection?: Selection;
103
97
  }
104
98
  export interface PublicAPI {
105
99
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wox-launcher/wox-plugin",
3
- "version": "0.0.50",
3
+ "version": "0.0.51",
4
4
  "description": "All nodejs plugin for Wox should use types in this package",
5
5
  "repository": {
6
6
  "type": "git",