@wox-launcher/wox-plugin 0.0.67 → 0.0.68

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 +7 -7
  2. package/types/index.d.ts +4 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wox-launcher/wox-plugin",
3
- "version": "0.0.67",
3
+ "version": "0.0.68",
4
4
  "description": "All nodejs plugin for Wox should use types in this package",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,12 +14,12 @@
14
14
  "types"
15
15
  ],
16
16
  "devDependencies": {
17
- "@typescript-eslint/eslint-plugin": "^6.6.0",
18
- "@typescript-eslint/parser": "^6.6.0",
19
- "eslint": "^8.49.0",
20
- "eslint-config-prettier": "9.0.0",
21
- "prettier": "3.0.2",
22
- "typescript": "^5.2.2"
17
+ "@typescript-eslint/eslint-plugin": "^7.13.1",
18
+ "@typescript-eslint/parser": "^7.13.1",
19
+ "eslint": "^9.5.0",
20
+ "eslint-config-prettier": "9.1.0",
21
+ "prettier": "3.3.2",
22
+ "typescript": "^5.4.5"
23
23
  },
24
24
  "dependencies": {},
25
25
  "scripts": {
package/types/index.d.ts CHANGED
@@ -74,7 +74,6 @@ export interface Query {
74
74
  IsGlobalQuery(): boolean
75
75
  }
76
76
 
77
-
78
77
  export interface Result {
79
78
  Id?: string
80
79
  Title: string
@@ -208,7 +207,7 @@ export interface WoxImage {
208
207
  ImageData: string
209
208
  }
210
209
 
211
- export type WoxPreviewType = "markdown" | "text" | "image" | "url" | "pdf"
210
+ export type WoxPreviewType = "markdown" | "text" | "image" | "url" | "file"
212
211
 
213
212
  export interface WoxPreview {
214
213
  PreviewType: WoxPreviewType
@@ -223,8 +222,8 @@ export declare interface Context {
223
222
  Exists: (key: string) => boolean
224
223
  }
225
224
 
226
- export function NewContext(): Context;
225
+ export function NewContext(): Context
227
226
 
228
- export function NewContextWithValue(key: string, value: string): Context;
227
+ export function NewContextWithValue(key: string, value: string): Context
229
228
 
230
- export function NewBase64WoxImage(imageData: string): WoxImage;
229
+ export function NewBase64WoxImage(imageData: string): WoxImage