piclist 1.9.3 → 1.9.5
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/CHANGELOG.md +18 -0
- package/dist/core/Lifecycle.d.ts +1 -1
- package/dist/core/PicGo.d.ts +2 -0
- package/dist/index.cjs.js +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/types/index.d.ts +8 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -35,6 +35,10 @@ export interface IPicGo extends NodeJS.EventEmitter {
|
|
|
35
35
|
* the origin input
|
|
36
36
|
*/
|
|
37
37
|
rawInput: any[];
|
|
38
|
+
/**
|
|
39
|
+
* processed input path
|
|
40
|
+
*/
|
|
41
|
+
processedInput: any[];
|
|
38
42
|
/**
|
|
39
43
|
* register\unregister\get picgo's plugin
|
|
40
44
|
*/
|
|
@@ -97,6 +101,10 @@ export interface IPicGo extends NodeJS.EventEmitter {
|
|
|
97
101
|
* upload gogogo
|
|
98
102
|
*/
|
|
99
103
|
upload: (input?: any[]) => Promise<IImgInfo[] | Error>;
|
|
104
|
+
/**
|
|
105
|
+
* transform gogogo
|
|
106
|
+
*/
|
|
107
|
+
uploadReturnCtx: (input?: any[]) => Promise<IPicGo>;
|
|
100
108
|
}
|
|
101
109
|
/**
|
|
102
110
|
* for plugin config
|