@wox-launcher/wox-plugin 0.0.105 → 0.0.107

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/package.json +1 -1
  2. package/types/index.d.ts +6 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wox-launcher/wox-plugin",
3
- "version": "0.0.105",
3
+ "version": "0.0.107",
4
4
  "description": "All nodejs plugin for Wox should use types in this package",
5
5
  "repository": {
6
6
  "type": "git",
package/types/index.d.ts CHANGED
@@ -104,7 +104,6 @@ export interface Result {
104
104
  Group?: string
105
105
  GroupScore?: number
106
106
  Tails?: ResultTail[]
107
- ContextData?: string
108
107
  Actions?: ResultAction[]
109
108
  }
110
109
 
@@ -115,7 +114,7 @@ export interface ResultTail {
115
114
  /** Tail id, should be unique. It's optional, if you don't set it, Wox will assign a random id for you */
116
115
  Id?: string
117
116
  /** Additional data associate with this tail, can be retrieved later */
118
- ContextData?: string
117
+ ContextData?: MapString
119
118
  }
120
119
 
121
120
  /**
@@ -186,7 +185,7 @@ export interface ExecuteResultAction {
186
185
  /**
187
186
  * Additional data associate with this action, can be retrieved later
188
187
  */
189
- ContextData?: string
188
+ ContextData?: MapString
190
189
  }
191
190
 
192
191
  export interface FormResultAction {
@@ -218,7 +217,7 @@ export interface FormResultAction {
218
217
  /**
219
218
  * Additional data associate with this action, can be retrieved later
220
219
  */
221
- ContextData?: string
220
+ ContextData?: MapString
222
221
  }
223
222
 
224
223
  export interface ActionContext {
@@ -235,9 +234,9 @@ export interface ActionContext {
235
234
  */
236
235
  ResultActionId: string
237
236
  /**
238
- * Additional data associated with this result
237
+ * Additional data associated with this action
239
238
  */
240
- ContextData: string
239
+ ContextData: MapString
241
240
  }
242
241
 
243
242
  export interface FormActionContext extends ActionContext {
@@ -249,7 +248,7 @@ export interface MRUData {
249
248
  Title: string
250
249
  SubTitle: string
251
250
  Icon: WoxImage
252
- ContextData: string
251
+ ContextData: MapString
253
252
  }
254
253
 
255
254
  export interface PluginInitParams {