piclist 2.2.2 → 2.3.1

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.
@@ -31,7 +31,7 @@ export interface IPicGo extends NodeJS.EventEmitter {
31
31
  setConfig: (config: IStringKeyMap<any>) => void;
32
32
  unsetConfig: (key: string, propName: string) => void;
33
33
  upload: (input?: any[]) => Promise<IImgInfo[] | Error>;
34
- uploadReturnCtx: (input?: any[]) => Promise<IPicGo>;
34
+ uploadReturnCtx: (input?: any[]) => Promise<IUploadResultWithBackup>;
35
35
  }
36
36
  export interface IPluginConfig {
37
37
  name: string;
@@ -661,4 +661,8 @@ export interface IBuildInListItem {
661
661
  autoRename?: boolean;
662
662
  manualRename?: boolean;
663
663
  }
664
+ export interface IUploadResultWithBackup {
665
+ output: IImgInfo[];
666
+ backupOutput: IImgInfo[];
667
+ }
664
668
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "piclist",
3
- "version": "2.2.2",
3
+ "version": "2.3.1",
4
4
  "description": "Modified PicGo core, A tool for picture uploading",
5
5
  "author": {
6
6
  "name": "Kuingsmile",