@wox-launcher/wox-plugin 0.0.72 → 0.0.74

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 +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wox-launcher/wox-plugin",
3
- "version": "0.0.72",
3
+ "version": "0.0.74",
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
@@ -98,8 +98,8 @@ export interface Result {
98
98
 
99
99
  export interface ResultTail {
100
100
  Type: "text" | "image"
101
- Text: string
102
- Image: WoxImage
101
+ Text?: string
102
+ Image?: WoxImage
103
103
  }
104
104
 
105
105
  export interface RefreshableResult {
@@ -216,7 +216,7 @@ export interface PublicAPI {
216
216
  LLMStream: (ctx: Context, conversations: AI.Conversation[], callback: AI.ChatStreamFunc) => Promise<void>
217
217
  }
218
218
 
219
- export type WoxImageType = "absolute" | "relative" | "base64" | "svg" | "url" | "emoji"
219
+ export type WoxImageType = "absolute" | "relative" | "base64" | "svg" | "url" | "emoji" | "lottie"
220
220
 
221
221
  export interface WoxImage {
222
222
  ImageType: WoxImageType