piclist 1.8.9 → 1.8.11
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/.eslintignore +4 -0
- package/.eslintrc.js +50 -29
- package/.prettierrc +18 -0
- package/CHANGELOG.md +18 -0
- package/bin/picgo +25 -25
- package/bin/picgo-server +522 -491
- package/dist/core/Lifecycle.d.ts +1 -1
- package/dist/core/PicGo.d.ts +4 -4
- package/dist/i18n/en.d.ts +1 -1
- package/dist/i18n/index.d.ts +3 -4
- package/dist/i18n/zh-TW.d.ts +1 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/lib/Commander.d.ts +2 -2
- package/dist/lib/LifecyclePlugins.d.ts +1 -1
- package/dist/lib/Logger.d.ts +1 -1
- package/dist/lib/PluginHandler.d.ts +1 -1
- package/dist/lib/PluginLoader.d.ts +1 -1
- package/dist/lib/Request.d.ts +1 -1
- package/dist/plugins/beforetransformer/compress.d.ts +1 -1
- package/dist/plugins/beforetransformer/watermark.d.ts +1 -1
- package/dist/plugins/beforeupload/buildInRename.d.ts +1 -1
- package/dist/plugins/commander/config.d.ts +1 -1
- package/dist/plugins/commander/i18n.d.ts +1 -1
- package/dist/plugins/commander/index.d.ts +1 -1
- package/dist/plugins/commander/init.d.ts +1 -1
- package/dist/plugins/commander/pluginHandler.d.ts +1 -1
- package/dist/plugins/commander/proxy.d.ts +1 -1
- package/dist/plugins/commander/setting.d.ts +1 -1
- package/dist/plugins/commander/upload.d.ts +1 -1
- package/dist/plugins/commander/use.d.ts +1 -1
- package/dist/plugins/transformer/base64.d.ts +1 -1
- package/dist/plugins/transformer/index.d.ts +1 -1
- package/dist/plugins/transformer/path.d.ts +1 -1
- package/dist/plugins/uploader/aliyun.d.ts +1 -1
- package/dist/plugins/uploader/awss3plist.d.ts +1 -1
- package/dist/plugins/uploader/github.d.ts +1 -1
- package/dist/plugins/uploader/imgur.d.ts +1 -1
- package/dist/plugins/uploader/index.d.ts +1 -1
- package/dist/plugins/uploader/local.d.ts +1 -1
- package/dist/plugins/uploader/lsky.d.ts +1 -1
- package/dist/plugins/uploader/piclist.d.ts +1 -1
- package/dist/plugins/uploader/qiniu.d.ts +1 -1
- package/dist/plugins/uploader/s3/uploader.d.ts +1 -1
- package/dist/plugins/uploader/s3/utils.d.ts +1 -1
- package/dist/plugins/uploader/sftp.d.ts +1 -1
- package/dist/plugins/uploader/smms.d.ts +1 -1
- package/dist/plugins/uploader/tcyun.d.ts +1 -1
- package/dist/plugins/uploader/telegraph.d.ts +1 -1
- package/dist/plugins/uploader/upyun.d.ts +1 -1
- package/dist/plugins/uploader/webdav.d.ts +1 -1
- package/dist/types/index.d.ts +5 -5
- package/dist/utils/common.d.ts +1 -1
- package/dist/utils/createContext.d.ts +1 -1
- package/dist/utils/db.d.ts +2 -2
- package/dist/utils/getClipboardImage.d.ts +1 -1
- package/dist/utils/initUtils.d.ts +1 -1
- package/dist/utils/interfaces.d.ts +3 -3
- package/dist/utils/sshClient.d.ts +10 -11
- package/package.json +10 -7
- package/rollup.config.js +93 -93
package/dist/core/Lifecycle.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { EventEmitter } from 'events';
|
|
3
|
-
import
|
|
3
|
+
import { IBuildInWaterMarkOptions, IBuildInCompressOptions, IPicGo, Undefinable } from '../types';
|
|
4
4
|
export declare class Lifecycle extends EventEmitter {
|
|
5
5
|
private readonly ctx;
|
|
6
6
|
private readonly ttfLink;
|
package/dist/core/PicGo.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { EventEmitter } from 'events';
|
|
3
|
-
import Commander from '../lib/Commander';
|
|
3
|
+
import { Commander } from '../lib/Commander';
|
|
4
4
|
import { Logger } from '../lib/Logger';
|
|
5
|
-
import PluginHandler from '../lib/PluginHandler';
|
|
6
|
-
import Request from '../lib/Request';
|
|
7
|
-
import
|
|
5
|
+
import { PluginHandler } from '../lib/PluginHandler';
|
|
6
|
+
import { Request } from '../lib/Request';
|
|
7
|
+
import { IHelper, IImgInfo, IPicGo, IStringKeyMap, IPluginLoader, II18nManager, IPicGoPlugin, IPicGoPluginInterface, IRequest } from '../types';
|
|
8
8
|
export declare class PicGo extends EventEmitter implements IPicGo {
|
|
9
9
|
private _config;
|
|
10
10
|
private lifecycle;
|
package/dist/i18n/en.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ILocales } from './zh-CN';
|
|
2
2
|
export declare const EN: ILocales;
|
package/dist/i18n/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { type ILocale } from '@picgo/i18n/dist/types';
|
|
1
|
+
import { ILocalesKey } from './zh-CN';
|
|
2
|
+
import { IPicGo, IStringKeyMap, II18nManager } from '../types';
|
|
3
|
+
import { ILocale } from '@picgo/i18n/dist/types';
|
|
5
4
|
declare class I18nManager implements II18nManager {
|
|
6
5
|
private readonly i18n;
|
|
7
6
|
private readonly objectAdapter;
|
package/dist/i18n/zh-TW.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ILocales } from './zh-CN';
|
|
2
2
|
export declare const ZH_TW: ILocales;
|