picgo 1.5.10 → 1.6.0
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/.github/workflows/release.yml +60 -0
- package/.node-version +1 -1
- package/CHANGELOG.md +20 -0
- package/README.md +1 -1
- package/dist/core/Lifecycle.d.ts +14 -15
- package/dist/core/PicGo.d.ts +48 -49
- package/dist/i18n/en.d.ts +2 -2
- package/dist/i18n/index.d.ts +18 -18
- package/dist/i18n/zh-CN.d.ts +97 -97
- package/dist/i18n/zh-TW.d.ts +2 -2
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +10 -10
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -0
- package/dist/lib/Commander.d.ts +22 -22
- package/dist/lib/LifecyclePlugins.d.ts +17 -17
- package/dist/lib/Logger.d.ts +19 -19
- package/dist/lib/PluginHandler.d.ts +10 -10
- package/dist/lib/PluginLoader.d.ts +27 -27
- package/dist/lib/Request.d.ts +12 -12
- package/dist/plugins/commander/config.d.ts +3 -3
- package/dist/plugins/commander/i18n.d.ts +3 -3
- package/dist/plugins/commander/index.d.ts +3 -3
- package/dist/plugins/commander/init.d.ts +3 -3
- package/dist/plugins/commander/pluginHandler.d.ts +3 -3
- package/dist/plugins/commander/proxy.d.ts +3 -3
- package/dist/plugins/commander/setting.d.ts +5 -5
- package/dist/plugins/commander/upload.d.ts +3 -3
- package/dist/plugins/commander/use.d.ts +3 -3
- package/dist/plugins/transformer/base64.d.ts +5 -5
- package/dist/plugins/transformer/index.d.ts +3 -3
- package/dist/plugins/transformer/path.d.ts +5 -5
- package/dist/plugins/uploader/aliyun.d.ts +2 -2
- package/dist/plugins/uploader/github.d.ts +2 -2
- package/dist/plugins/uploader/imgur.d.ts +2 -2
- package/dist/plugins/uploader/index.d.ts +3 -3
- package/dist/plugins/uploader/qiniu.d.ts +2 -2
- package/dist/plugins/uploader/smms.d.ts +2 -2
- package/dist/plugins/uploader/tcyun.d.ts +8 -8
- package/dist/plugins/uploader/upyun.d.ts +2 -2
- package/dist/types/index.d.ts +540 -542
- package/dist/types/oldRequest.d.ts +19 -19
- package/dist/utils/common.d.ts +118 -106
- package/dist/utils/createContext.d.ts +6 -6
- package/dist/utils/db.d.ts +15 -15
- package/dist/utils/enum.d.ts +27 -27
- package/dist/utils/eventBus.d.ts +3 -4
- package/dist/utils/getClipboardImage.d.ts +4 -4
- package/dist/utils/initUtils.d.ts +26 -26
- package/dist/utils/interfaces.d.ts +202 -203
- package/dist/utils/static.d.ts +1 -1
- package/eslint.config.js +134 -0
- package/package.json +39 -37
- package/rollup.config.js +59 -66
- package/.eslintignore +0 -2
- package/.eslintrc.js +0 -25
- package/.github/workflows/alpha.yml +0 -22
- package/.github/workflows/main.yml +0 -22
- package/.github/workflows/manually.yml +0 -19
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
name: release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- master
|
|
7
|
+
- alpha
|
|
8
|
+
workflow_dispatch:
|
|
9
|
+
inputs:
|
|
10
|
+
publish_tag:
|
|
11
|
+
description: 'npm tag to publish with (default: latest)'
|
|
12
|
+
required: false
|
|
13
|
+
default: 'latest'
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
build-and-publish:
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
permissions:
|
|
19
|
+
contents: read
|
|
20
|
+
packages: write
|
|
21
|
+
steps:
|
|
22
|
+
- name: Checkout
|
|
23
|
+
uses: actions/checkout@v4
|
|
24
|
+
|
|
25
|
+
- name: Setup pnpm
|
|
26
|
+
uses: pnpm/action-setup@v4
|
|
27
|
+
with:
|
|
28
|
+
run_install: false
|
|
29
|
+
version: 10
|
|
30
|
+
|
|
31
|
+
- name: Setup Node.js
|
|
32
|
+
uses: actions/setup-node@v6
|
|
33
|
+
with:
|
|
34
|
+
node-version: 20
|
|
35
|
+
registry-url: https://registry.npmjs.org
|
|
36
|
+
cache: pnpm
|
|
37
|
+
|
|
38
|
+
- name: Install dependencies
|
|
39
|
+
run: pnpm install --frozen-lockfile
|
|
40
|
+
|
|
41
|
+
- name: Build
|
|
42
|
+
run: pnpm run build
|
|
43
|
+
|
|
44
|
+
- name: Publish (master)
|
|
45
|
+
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
|
46
|
+
run: pnpm publish --access public
|
|
47
|
+
env:
|
|
48
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
49
|
+
|
|
50
|
+
- name: Publish (alpha)
|
|
51
|
+
if: github.event_name == 'push' && github.ref == 'refs/heads/alpha'
|
|
52
|
+
run: pnpm publish --tag alpha --access public
|
|
53
|
+
env:
|
|
54
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
55
|
+
|
|
56
|
+
- name: Publish (manual)
|
|
57
|
+
if: github.event_name == 'workflow_dispatch'
|
|
58
|
+
run: pnpm publish --tag "${{ inputs.publish_tag || 'latest' }}" --access public
|
|
59
|
+
env:
|
|
60
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
package/.node-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
22
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
# :tada: 1.6.0 (2025-12-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### :package: Chore
|
|
5
|
+
|
|
6
|
+
* **custom:** move yarn to pnpm ([f174f8c](https://github.com/PicGo/PicGo-Core/commit/f174f8c))
|
|
7
|
+
* **custom:** update eslint && readme ([8e2b4fe](https://github.com/PicGo/PicGo-Core/commit/8e2b4fe))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## :tada: 1.5.11 (2025-11-14)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### :bug: Bug Fixes
|
|
15
|
+
|
|
16
|
+
* add linux terminal fallback error handler ([47f7274](https://github.com/PicGo/PicGo-Core/commit/47f7274)), closes [#179](https://github.com/PicGo/PicGo-Core/issues/179)
|
|
17
|
+
* url encode bug ([afbddcb](https://github.com/PicGo/PicGo-Core/commit/afbddcb))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
1
21
|
## :tada: 1.5.10 (2025-11-13)
|
|
2
22
|
|
|
3
23
|
|
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ A tool for picture uploading. Both CLI & api supports. It also supports plugin s
|
|
|
29
29
|
|
|
30
30
|
## Installation
|
|
31
31
|
|
|
32
|
-
PicGo should be installed with node.js >=
|
|
32
|
+
PicGo should be installed with node.js >= 16 (v1.5.0-alpha.5 and small) & node.js >= 20 (since v1.6.0).
|
|
33
33
|
|
|
34
34
|
### Global install
|
|
35
35
|
|
package/dist/core/Lifecycle.d.ts
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
private
|
|
9
|
-
private
|
|
10
|
-
private
|
|
11
|
-
private
|
|
12
|
-
private
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export default Lifecycle;
|
|
1
|
+
import { EventEmitter } from 'events';
|
|
2
|
+
import { IPicGo } from '../types';
|
|
3
|
+
export declare class Lifecycle extends EventEmitter {
|
|
4
|
+
private readonly ctx;
|
|
5
|
+
constructor(ctx: IPicGo);
|
|
6
|
+
start(input: any[]): Promise<IPicGo>;
|
|
7
|
+
private beforeTransform;
|
|
8
|
+
private doTransform;
|
|
9
|
+
private beforeUpload;
|
|
10
|
+
private doUpload;
|
|
11
|
+
private afterUpload;
|
|
12
|
+
private handlePlugins;
|
|
13
|
+
}
|
|
14
|
+
export default Lifecycle;
|
package/dist/core/PicGo.d.ts
CHANGED
|
@@ -1,49 +1,48 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
private
|
|
10
|
-
private
|
|
11
|
-
private
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
private
|
|
33
|
-
private
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
1
|
+
import { EventEmitter } from 'events';
|
|
2
|
+
import Commander from '../lib/Commander';
|
|
3
|
+
import { Logger } from '../lib/Logger';
|
|
4
|
+
import { IHelper, IImgInfo, IPicGo, IStringKeyMap, IPluginLoader, II18nManager, IPicGoPlugin, IPicGoPluginInterface, IRequest } from '../types';
|
|
5
|
+
import Request from '../lib/Request';
|
|
6
|
+
import PluginHandler from '../lib/PluginHandler';
|
|
7
|
+
export declare class PicGo extends EventEmitter implements IPicGo {
|
|
8
|
+
private _config;
|
|
9
|
+
private lifecycle;
|
|
10
|
+
private db;
|
|
11
|
+
private _pluginLoader;
|
|
12
|
+
configPath: string;
|
|
13
|
+
baseDir: string;
|
|
14
|
+
helper: IHelper;
|
|
15
|
+
log: Logger;
|
|
16
|
+
cmd: Commander;
|
|
17
|
+
output: IImgInfo[];
|
|
18
|
+
input: any[];
|
|
19
|
+
pluginHandler: PluginHandler;
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated will be removed in v1.5.0+
|
|
22
|
+
*
|
|
23
|
+
* use request instead
|
|
24
|
+
*/
|
|
25
|
+
Request: Request;
|
|
26
|
+
i18n: II18nManager;
|
|
27
|
+
VERSION: string;
|
|
28
|
+
GUI_VERSION?: string;
|
|
29
|
+
get pluginLoader(): IPluginLoader;
|
|
30
|
+
constructor(configPath?: string);
|
|
31
|
+
private initConfigPath;
|
|
32
|
+
private initConfig;
|
|
33
|
+
private init;
|
|
34
|
+
/**
|
|
35
|
+
* easily mannually load a plugin
|
|
36
|
+
* if provide plugin name, will register plugin by name
|
|
37
|
+
* or just instantiate a plugin
|
|
38
|
+
*/
|
|
39
|
+
use(plugin: IPicGoPlugin, name?: string): IPicGoPluginInterface;
|
|
40
|
+
registerCommands(): void;
|
|
41
|
+
getConfig<T>(name?: string): T;
|
|
42
|
+
saveConfig(config: IStringKeyMap<any>): void;
|
|
43
|
+
removeConfig(key: string, propName: string): void;
|
|
44
|
+
setConfig(config: IStringKeyMap<any>): void;
|
|
45
|
+
unsetConfig(key: string, propName: string): void;
|
|
46
|
+
get request(): IRequest['request'];
|
|
47
|
+
upload(input?: any[]): Promise<IImgInfo[] | Error>;
|
|
48
|
+
}
|
package/dist/i18n/en.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ILocales } from './zh-CN';
|
|
2
|
-
export declare const EN: ILocales;
|
|
1
|
+
import { ILocales } from './zh-CN';
|
|
2
|
+
export declare const EN: ILocales;
|
package/dist/i18n/index.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { ILocalesKey } from './zh-CN';
|
|
2
|
-
import { IPicGo } from '../types';
|
|
3
|
-
import { IStringKeyMap, II18nManager } from '../types/index';
|
|
4
|
-
import { ILocale } from '@picgo/i18n/dist/types';
|
|
5
|
-
declare class I18nManager implements II18nManager {
|
|
6
|
-
private readonly i18n;
|
|
7
|
-
private readonly objectAdapter;
|
|
8
|
-
private readonly ctx;
|
|
9
|
-
constructor(ctx: IPicGo);
|
|
10
|
-
private loadOutterI18n;
|
|
11
|
-
private getOutterI18nFolder;
|
|
12
|
-
translate<T extends string>(key: ILocalesKey | T, args?: IStringKeyMap<string>): string;
|
|
13
|
-
setLanguage(language: string): void;
|
|
14
|
-
addLocale(language: string, locales: ILocale): boolean;
|
|
15
|
-
addLanguage(language: string, locales: ILocale): boolean;
|
|
16
|
-
getLanguageList(): string[];
|
|
17
|
-
}
|
|
18
|
-
export { I18nManager };
|
|
1
|
+
import { ILocalesKey } from './zh-CN';
|
|
2
|
+
import { IPicGo } from '../types';
|
|
3
|
+
import { IStringKeyMap, II18nManager } from '../types/index';
|
|
4
|
+
import { ILocale } from '@picgo/i18n/dist/types';
|
|
5
|
+
declare class I18nManager implements II18nManager {
|
|
6
|
+
private readonly i18n;
|
|
7
|
+
private readonly objectAdapter;
|
|
8
|
+
private readonly ctx;
|
|
9
|
+
constructor(ctx: IPicGo);
|
|
10
|
+
private loadOutterI18n;
|
|
11
|
+
private getOutterI18nFolder;
|
|
12
|
+
translate<T extends string>(key: ILocalesKey | T, args?: IStringKeyMap<string>): string;
|
|
13
|
+
setLanguage(language: string): void;
|
|
14
|
+
addLocale(language: string, locales: ILocale): boolean;
|
|
15
|
+
addLanguage(language: string, locales: ILocale): boolean;
|
|
16
|
+
getLanguageList(): string[];
|
|
17
|
+
}
|
|
18
|
+
export { I18nManager };
|
package/dist/i18n/zh-CN.d.ts
CHANGED
|
@@ -1,97 +1,97 @@
|
|
|
1
|
-
export declare const ZH_CN: {
|
|
2
|
-
UPLOAD_FAILED: string;
|
|
3
|
-
CHECK_SETTINGS: string;
|
|
4
|
-
CHECK_SETTINGS_AND_NETWORK: string;
|
|
5
|
-
UPLOAD_FAILED_REASON: string;
|
|
6
|
-
SERVER_ERROR: string;
|
|
7
|
-
AUTH_FAILED: string;
|
|
8
|
-
PICBED_SMMS: string;
|
|
9
|
-
PICBED_SMMS_TOKEN: string;
|
|
10
|
-
PICBED_SMMS_BACKUP_DOMAIN: string;
|
|
11
|
-
PICBED_SMMS_MESSAGE_BACKUP_DOMAIN: string;
|
|
12
|
-
PICBED_ALICLOUD: string;
|
|
13
|
-
PICBED_ALICLOUD_ACCESSKEYID: string;
|
|
14
|
-
PICBED_ALICLOUD_ACCESSKEYSECRET: string;
|
|
15
|
-
PICBED_ALICLOUD_BUCKET: string;
|
|
16
|
-
PICBED_ALICLOUD_AREA: string;
|
|
17
|
-
PICBED_ALICLOUD_PATH: string;
|
|
18
|
-
PICBED_ALICLOUD_CUSTOMURL: string;
|
|
19
|
-
PICBED_ALICLOUD_OPTIONS: string;
|
|
20
|
-
PICBED_ALICLOUD_MESSAGE_AREA: string;
|
|
21
|
-
PICBED_ALICLOUD_MESSAGE_PATH: string;
|
|
22
|
-
PICBED_ALICLOUD_MESSAGE_OPTIONS: string;
|
|
23
|
-
PICBED_ALICLOUD_MESSAGE_CUSTOMURL: string;
|
|
24
|
-
PICBED_TENCENTCLOUD: string;
|
|
25
|
-
PICBED_TENCENTCLOUD_VERSION: string;
|
|
26
|
-
PICBED_TENCENTCLOUD_SECRETID: string;
|
|
27
|
-
PICBED_TENCENTCLOUD_SECRETKEY: string;
|
|
28
|
-
PICBED_TENCENTCLOUD_APPID: string;
|
|
29
|
-
PICBED_TENCENTCLOUD_BUCKET: string;
|
|
30
|
-
PICBED_TENCENTCLOUD_AREA: string;
|
|
31
|
-
PICBED_TENCENTCLOUD_ENDPOINT: string;
|
|
32
|
-
PICBED_TENCENTCLOUD_PATH: string;
|
|
33
|
-
PICBED_TENCENTCLOUD_OPTIONS: string;
|
|
34
|
-
PICBED_TENCENTCLOUD_CUSTOMURL: string;
|
|
35
|
-
PICBED_TENCENTCLOUD_SLIM: string;
|
|
36
|
-
PICBED_TENCENTCLOUD_SLIM_TIP: string;
|
|
37
|
-
PICBED_TENCENTCLOUD_SLIM_CONFIRM: string;
|
|
38
|
-
PICBED_TENCENTCLOUD_SLIM_CANCEL: string;
|
|
39
|
-
PICBED_TENCENTCLOUD_MESSAGE_APPID: string;
|
|
40
|
-
PICBED_TENCENTCLOUD_MESSAGE_AREA: string;
|
|
41
|
-
PICBED_TENCENTCLOUD_MESSAGE_ENDPOINT: string;
|
|
42
|
-
PICBED_TENCENTCLOUD_MESSAGE_PATH: string;
|
|
43
|
-
PICBED_TENCENTCLOUD_MESSAGE_CUSTOMURL: string;
|
|
44
|
-
PICBED_TENCENTCLOUD_MESSAGE_OPTIONS: string;
|
|
45
|
-
PICBED_GITHUB: string;
|
|
46
|
-
PICBED_GITHUB_TOKEN: string;
|
|
47
|
-
PICBED_GITHUB_REPO: string;
|
|
48
|
-
PICBED_GITHUB_PATH: string;
|
|
49
|
-
PICBED_GITHUB_BRANCH: string;
|
|
50
|
-
PICBED_GITHUB_CUSTOMURL: string;
|
|
51
|
-
PICBED_GITHUB_MESSAGE_REPO: string;
|
|
52
|
-
PICBED_GITHUB_MESSAGE_BRANCH: string;
|
|
53
|
-
PICBED_GITHUB_MESSAGE_PATH: string;
|
|
54
|
-
PICBED_GITHUB_MESSAGE_CUSTOMURL: string;
|
|
55
|
-
PICBED_QINIU: string;
|
|
56
|
-
PICBED_QINIU_ACCESSKEY: string;
|
|
57
|
-
PICBED_QINIU_SECRETKEY: string;
|
|
58
|
-
PICBED_QINIU_BUCKET: string;
|
|
59
|
-
PICBED_QINIU_PATH: string;
|
|
60
|
-
PICBED_QINIU_URL: string;
|
|
61
|
-
PICBED_QINIU_OPTIONS: string;
|
|
62
|
-
PICBED_QINIU_AREA: string;
|
|
63
|
-
PICBED_QINIU_MESSAGE_PATH: string;
|
|
64
|
-
PICBED_QINIU_MESSAGE_AREA: string;
|
|
65
|
-
PICBED_QINIU_MESSAGE_OPTIONS: string;
|
|
66
|
-
PICBED_QINIU_MESSAGE_URL: string;
|
|
67
|
-
PICBED_IMGUR: string;
|
|
68
|
-
PICBED_IMGUR_CLIENTID: string;
|
|
69
|
-
PICBED_IMGUR_PROXY: string;
|
|
70
|
-
PICBED_IMGUR_MESSAGE_PROXY: string;
|
|
71
|
-
PICBED_UPYUN: string;
|
|
72
|
-
PICBED_UPYUN_BUCKET: string;
|
|
73
|
-
PICBED_UPYUN_OPERATOR: string;
|
|
74
|
-
PICBED_UPYUN_PASSWORD: string;
|
|
75
|
-
PICBED_UPYUN_PATH: string;
|
|
76
|
-
PICBED_UPYUN_URL: string;
|
|
77
|
-
PICBED_UPYUN_OPTIONS: string;
|
|
78
|
-
PICBED_UPYUN_MESSAGE_OPERATOR: string;
|
|
79
|
-
PICBED_UPYUN_MESSAGE_PASSWORD: string;
|
|
80
|
-
PICBED_UPYUN_MESSAGE_URL: string;
|
|
81
|
-
PICBED_UPYUN_MESSAGE_OPTIONS: string;
|
|
82
|
-
PICBED_UPYUN_MESSAGE_PATH: string;
|
|
83
|
-
PLUGIN_HANDLER_PLUGIN_INSTALL_SUCCESS: string;
|
|
84
|
-
PLUGIN_HANDLER_PLUGIN_INSTALL_FAILED: string;
|
|
85
|
-
PLUGIN_HANDLER_PLUGIN_INSTALL_FAILED_REASON: string;
|
|
86
|
-
PLUGIN_HANDLER_PLUGIN_INSTALL_FAILED_PATH: string;
|
|
87
|
-
PLUGIN_HANDLER_PLUGIN_UNINSTALL_SUCCESS: string;
|
|
88
|
-
PLUGIN_HANDLER_PLUGIN_UNINSTALL_FAILED: string;
|
|
89
|
-
PLUGIN_HANDLER_PLUGIN_UNINSTALL_FAILED_REASON: string;
|
|
90
|
-
PLUGIN_HANDLER_PLUGIN_UNINSTALL_FAILED_VALID: string;
|
|
91
|
-
PLUGIN_HANDLER_PLUGIN_UPDATE_SUCCESS: string;
|
|
92
|
-
PLUGIN_HANDLER_PLUGIN_UPDATE_FAILED: string;
|
|
93
|
-
PLUGIN_HANDLER_PLUGIN_UPDATE_FAILED_REASON: string;
|
|
94
|
-
PLUGIN_HANDLER_PLUGIN_UPDATE_FAILED_VALID: string;
|
|
95
|
-
};
|
|
96
|
-
export
|
|
97
|
-
export
|
|
1
|
+
export declare const ZH_CN: {
|
|
2
|
+
UPLOAD_FAILED: string;
|
|
3
|
+
CHECK_SETTINGS: string;
|
|
4
|
+
CHECK_SETTINGS_AND_NETWORK: string;
|
|
5
|
+
UPLOAD_FAILED_REASON: string;
|
|
6
|
+
SERVER_ERROR: string;
|
|
7
|
+
AUTH_FAILED: string;
|
|
8
|
+
PICBED_SMMS: string;
|
|
9
|
+
PICBED_SMMS_TOKEN: string;
|
|
10
|
+
PICBED_SMMS_BACKUP_DOMAIN: string;
|
|
11
|
+
PICBED_SMMS_MESSAGE_BACKUP_DOMAIN: string;
|
|
12
|
+
PICBED_ALICLOUD: string;
|
|
13
|
+
PICBED_ALICLOUD_ACCESSKEYID: string;
|
|
14
|
+
PICBED_ALICLOUD_ACCESSKEYSECRET: string;
|
|
15
|
+
PICBED_ALICLOUD_BUCKET: string;
|
|
16
|
+
PICBED_ALICLOUD_AREA: string;
|
|
17
|
+
PICBED_ALICLOUD_PATH: string;
|
|
18
|
+
PICBED_ALICLOUD_CUSTOMURL: string;
|
|
19
|
+
PICBED_ALICLOUD_OPTIONS: string;
|
|
20
|
+
PICBED_ALICLOUD_MESSAGE_AREA: string;
|
|
21
|
+
PICBED_ALICLOUD_MESSAGE_PATH: string;
|
|
22
|
+
PICBED_ALICLOUD_MESSAGE_OPTIONS: string;
|
|
23
|
+
PICBED_ALICLOUD_MESSAGE_CUSTOMURL: string;
|
|
24
|
+
PICBED_TENCENTCLOUD: string;
|
|
25
|
+
PICBED_TENCENTCLOUD_VERSION: string;
|
|
26
|
+
PICBED_TENCENTCLOUD_SECRETID: string;
|
|
27
|
+
PICBED_TENCENTCLOUD_SECRETKEY: string;
|
|
28
|
+
PICBED_TENCENTCLOUD_APPID: string;
|
|
29
|
+
PICBED_TENCENTCLOUD_BUCKET: string;
|
|
30
|
+
PICBED_TENCENTCLOUD_AREA: string;
|
|
31
|
+
PICBED_TENCENTCLOUD_ENDPOINT: string;
|
|
32
|
+
PICBED_TENCENTCLOUD_PATH: string;
|
|
33
|
+
PICBED_TENCENTCLOUD_OPTIONS: string;
|
|
34
|
+
PICBED_TENCENTCLOUD_CUSTOMURL: string;
|
|
35
|
+
PICBED_TENCENTCLOUD_SLIM: string;
|
|
36
|
+
PICBED_TENCENTCLOUD_SLIM_TIP: string;
|
|
37
|
+
PICBED_TENCENTCLOUD_SLIM_CONFIRM: string;
|
|
38
|
+
PICBED_TENCENTCLOUD_SLIM_CANCEL: string;
|
|
39
|
+
PICBED_TENCENTCLOUD_MESSAGE_APPID: string;
|
|
40
|
+
PICBED_TENCENTCLOUD_MESSAGE_AREA: string;
|
|
41
|
+
PICBED_TENCENTCLOUD_MESSAGE_ENDPOINT: string;
|
|
42
|
+
PICBED_TENCENTCLOUD_MESSAGE_PATH: string;
|
|
43
|
+
PICBED_TENCENTCLOUD_MESSAGE_CUSTOMURL: string;
|
|
44
|
+
PICBED_TENCENTCLOUD_MESSAGE_OPTIONS: string;
|
|
45
|
+
PICBED_GITHUB: string;
|
|
46
|
+
PICBED_GITHUB_TOKEN: string;
|
|
47
|
+
PICBED_GITHUB_REPO: string;
|
|
48
|
+
PICBED_GITHUB_PATH: string;
|
|
49
|
+
PICBED_GITHUB_BRANCH: string;
|
|
50
|
+
PICBED_GITHUB_CUSTOMURL: string;
|
|
51
|
+
PICBED_GITHUB_MESSAGE_REPO: string;
|
|
52
|
+
PICBED_GITHUB_MESSAGE_BRANCH: string;
|
|
53
|
+
PICBED_GITHUB_MESSAGE_PATH: string;
|
|
54
|
+
PICBED_GITHUB_MESSAGE_CUSTOMURL: string;
|
|
55
|
+
PICBED_QINIU: string;
|
|
56
|
+
PICBED_QINIU_ACCESSKEY: string;
|
|
57
|
+
PICBED_QINIU_SECRETKEY: string;
|
|
58
|
+
PICBED_QINIU_BUCKET: string;
|
|
59
|
+
PICBED_QINIU_PATH: string;
|
|
60
|
+
PICBED_QINIU_URL: string;
|
|
61
|
+
PICBED_QINIU_OPTIONS: string;
|
|
62
|
+
PICBED_QINIU_AREA: string;
|
|
63
|
+
PICBED_QINIU_MESSAGE_PATH: string;
|
|
64
|
+
PICBED_QINIU_MESSAGE_AREA: string;
|
|
65
|
+
PICBED_QINIU_MESSAGE_OPTIONS: string;
|
|
66
|
+
PICBED_QINIU_MESSAGE_URL: string;
|
|
67
|
+
PICBED_IMGUR: string;
|
|
68
|
+
PICBED_IMGUR_CLIENTID: string;
|
|
69
|
+
PICBED_IMGUR_PROXY: string;
|
|
70
|
+
PICBED_IMGUR_MESSAGE_PROXY: string;
|
|
71
|
+
PICBED_UPYUN: string;
|
|
72
|
+
PICBED_UPYUN_BUCKET: string;
|
|
73
|
+
PICBED_UPYUN_OPERATOR: string;
|
|
74
|
+
PICBED_UPYUN_PASSWORD: string;
|
|
75
|
+
PICBED_UPYUN_PATH: string;
|
|
76
|
+
PICBED_UPYUN_URL: string;
|
|
77
|
+
PICBED_UPYUN_OPTIONS: string;
|
|
78
|
+
PICBED_UPYUN_MESSAGE_OPERATOR: string;
|
|
79
|
+
PICBED_UPYUN_MESSAGE_PASSWORD: string;
|
|
80
|
+
PICBED_UPYUN_MESSAGE_URL: string;
|
|
81
|
+
PICBED_UPYUN_MESSAGE_OPTIONS: string;
|
|
82
|
+
PICBED_UPYUN_MESSAGE_PATH: string;
|
|
83
|
+
PLUGIN_HANDLER_PLUGIN_INSTALL_SUCCESS: string;
|
|
84
|
+
PLUGIN_HANDLER_PLUGIN_INSTALL_FAILED: string;
|
|
85
|
+
PLUGIN_HANDLER_PLUGIN_INSTALL_FAILED_REASON: string;
|
|
86
|
+
PLUGIN_HANDLER_PLUGIN_INSTALL_FAILED_PATH: string;
|
|
87
|
+
PLUGIN_HANDLER_PLUGIN_UNINSTALL_SUCCESS: string;
|
|
88
|
+
PLUGIN_HANDLER_PLUGIN_UNINSTALL_FAILED: string;
|
|
89
|
+
PLUGIN_HANDLER_PLUGIN_UNINSTALL_FAILED_REASON: string;
|
|
90
|
+
PLUGIN_HANDLER_PLUGIN_UNINSTALL_FAILED_VALID: string;
|
|
91
|
+
PLUGIN_HANDLER_PLUGIN_UPDATE_SUCCESS: string;
|
|
92
|
+
PLUGIN_HANDLER_PLUGIN_UPDATE_FAILED: string;
|
|
93
|
+
PLUGIN_HANDLER_PLUGIN_UPDATE_FAILED_REASON: string;
|
|
94
|
+
PLUGIN_HANDLER_PLUGIN_UPDATE_FAILED_VALID: string;
|
|
95
|
+
};
|
|
96
|
+
export type ILocalesKey = keyof typeof ZH_CN;
|
|
97
|
+
export type ILocales = typeof ZH_CN;
|
package/dist/i18n/zh-TW.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ILocales } from './zh-CN';
|
|
2
|
-
export declare const ZH_TW: ILocales;
|
|
1
|
+
import { ILocales } from './zh-CN';
|
|
2
|
+
export declare const ZH_TW: ILocales;
|