@wox-launcher/wox-plugin 0.0.29 → 0.0.31

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 CHANGED
@@ -63,11 +63,3 @@ export interface WoxImage {
63
63
  ImageType: WoxImageType;
64
64
  ImageData: string;
65
65
  }
66
- export interface WoxImageCreator {
67
- FromAbsolutePath(path: string): WoxImage;
68
- FromRelativeToPluginPath(path: string): WoxImage;
69
- FromSvg(svg: string): WoxImage;
70
- FromBase64(base64: string): WoxImage;
71
- FromRemote(url: string): WoxImage;
72
- }
73
- export declare const WoxImageCreator: WoxImageCreator;
package/dist/index.js CHANGED
@@ -1,35 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WoxImageCreator = void 0;
4
- exports.WoxImageCreator = {
5
- FromAbsolutePath: function (path) {
6
- return {
7
- ImageType: "AbsolutePath",
8
- ImageData: path
9
- };
10
- },
11
- FromRelativeToPluginPath: function (path) {
12
- return {
13
- ImageType: "RelativeToPluginPath",
14
- ImageData: path
15
- };
16
- },
17
- FromSvg: function (svg) {
18
- return {
19
- ImageType: "Svg",
20
- ImageData: svg
21
- };
22
- },
23
- FromBase64: function (base64) {
24
- return {
25
- ImageType: "Base64",
26
- ImageData: base64
27
- };
28
- },
29
- FromRemote: function (url) {
30
- return {
31
- ImageType: "Remote",
32
- ImageData: url
33
- };
34
- }
35
- };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wox-launcher/wox-plugin",
3
- "version": "0.0.29",
3
+ "version": "0.0.31",
4
4
  "description": "All nodejs plugin for Wox should use types in this package",
5
5
  "repository": {
6
6
  "type": "git",