@wox-launcher/wox-plugin 0.0.71 → 0.0.72

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 +7 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wox-launcher/wox-plugin",
3
- "version": "0.0.71",
3
+ "version": "0.0.72",
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
@@ -85,6 +85,7 @@ export interface Result {
85
85
  Score?: number
86
86
  Group?: string
87
87
  GroupScore?: number
88
+ Tails?: ResultTail[]
88
89
  ContextData?: string
89
90
  Actions?: ResultAction[]
90
91
  // refresh result after specified interval, in milliseconds. If this value is 0, Wox will not refresh this result
@@ -95,6 +96,12 @@ export interface Result {
95
96
  OnRefresh?: (current: RefreshableResult) => Promise<RefreshableResult>
96
97
  }
97
98
 
99
+ export interface ResultTail {
100
+ Type: "text" | "image"
101
+ Text: string
102
+ Image: WoxImage
103
+ }
104
+
98
105
  export interface RefreshableResult {
99
106
  Title: string
100
107
  SubTitle: string