@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.
- package/package.json +1 -1
- package/types/index.d.ts +6 -7
package/package.json
CHANGED
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?:
|
|
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?:
|
|
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?:
|
|
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
|
|
237
|
+
* Additional data associated with this action
|
|
239
238
|
*/
|
|
240
|
-
ContextData:
|
|
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:
|
|
251
|
+
ContextData: MapString
|
|
253
252
|
}
|
|
254
253
|
|
|
255
254
|
export interface PluginInitParams {
|