@wox-launcher/wox-plugin 0.0.54 → 0.0.56
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 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -115,7 +115,7 @@ export interface PublicAPI {
|
|
|
115
115
|
/**
|
|
116
116
|
* Write log
|
|
117
117
|
*/
|
|
118
|
-
Log: (msg: string) => Promise<void>;
|
|
118
|
+
Log: (level: "Info" | "Error" | "Debug" | "Warning", msg: string) => Promise<void>;
|
|
119
119
|
/**
|
|
120
120
|
* Get translation of current language
|
|
121
121
|
*/
|
|
@@ -142,7 +142,7 @@ export interface WoxImage {
|
|
|
142
142
|
ImageType: WoxImageType;
|
|
143
143
|
ImageData: string;
|
|
144
144
|
}
|
|
145
|
-
export type WoxPreviewType = "markdown" | "text" | "image" | "url";
|
|
145
|
+
export type WoxPreviewType = "markdown" | "text" | "image" | "url" | "pdf";
|
|
146
146
|
export interface WoxPreview {
|
|
147
147
|
PreviewType: WoxPreviewType;
|
|
148
148
|
PreviewData: string;
|