@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.
- package/dist/index.d.ts +2 -1
- 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;
|