@wox-launcher/wox-plugin 0.0.62 → 0.0.63
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.js +2 -2
- package/package.json +1 -1
- package/types/index.d.ts +7 -1
- package/dist/context.d.ts +0 -3
- package/dist/image.d.ts +0 -2
- package/dist/index.d.ts +0 -2
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "
|
|
2
|
-
export * from "
|
|
1
|
+
export * from "./context.js";
|
|
2
|
+
export * from "./image.js";
|
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -177,9 +177,15 @@ export interface WoxPreview {
|
|
|
177
177
|
PreviewProperties: Record<string, string>
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
export interface Context {
|
|
180
|
+
export declare interface Context {
|
|
181
181
|
Values: { [key: string]: string }
|
|
182
182
|
Get: (key: string) => string | undefined
|
|
183
183
|
Set: (key: string, value: string) => void
|
|
184
184
|
Exists: (key: string) => boolean
|
|
185
185
|
}
|
|
186
|
+
|
|
187
|
+
export function NewContext(): Context;
|
|
188
|
+
|
|
189
|
+
export function NewContextWithValue(key: string, value: string): Context;
|
|
190
|
+
|
|
191
|
+
export function NewBase64WoxImage(imageData: string): WoxImage;
|
package/dist/context.d.ts
DELETED
package/dist/image.d.ts
DELETED
package/dist/index.d.ts
DELETED