@wox-launcher/wox-plugin 0.0.44 → 0.0.46

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 +2 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -32,6 +32,7 @@ export interface Result {
32
32
  Icon: WoxImage;
33
33
  Preview?: WoxPreview;
34
34
  Score?: number;
35
+ ContextData: string;
35
36
  Actions: ResultAction[];
36
37
  RefreshInterval: number;
37
38
  OnRefresh: (current: RefreshableResult) => Promise<RefreshableResult>;
@@ -110,7 +111,7 @@ export interface WoxImage {
110
111
  ImageType: WoxImageType;
111
112
  ImageData: string;
112
113
  }
113
- export type WoxPreviewType = "markdown" | "text" | "image";
114
+ export type WoxPreviewType = "markdown" | "text" | "image" | "url";
114
115
  export interface WoxPreview {
115
116
  PreviewType: WoxPreviewType;
116
117
  PreviewData: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wox-launcher/wox-plugin",
3
- "version": "0.0.44",
3
+ "version": "0.0.46",
4
4
  "description": "All nodejs plugin for Wox should use types in this package",
5
5
  "repository": {
6
6
  "type": "git",