piclist 1.8.12 → 1.9.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/CHANGELOG.md +10 -0
- package/dist/core/Lifecycle.d.ts +3 -7
- package/dist/i18n/zh-CN.d.ts +19 -0
- package/dist/index.cjs.js +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/lib/LifecyclePlugins.d.ts +10 -1
- package/dist/plugins/commander/utils.d.ts +2 -0
- package/dist/plugins/transformer/index.d.ts +4 -2
- package/dist/plugins/uploader/alist.d.ts +2 -0
- package/dist/plugins/uploader/index.d.ts +4 -2
- package/dist/types/index.d.ts +10 -0
- package/package.json +1 -1
- package/rollup.config.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
# :tada: 1.9.0 (2024-07-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### :sparkles: Features
|
|
5
|
+
|
|
6
|
+
* **custom:** add buildin alist ([c7f5659](https://github.com/Kuingsmile/PicList-Core/commit/c7f5659))
|
|
7
|
+
* **custom:** optimize commander ([9e42652](https://github.com/Kuingsmile/PicList-Core/commit/9e42652))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
1
11
|
## :tada: 1.8.12 (2024-06-27)
|
|
2
12
|
|
|
3
13
|
|
package/dist/core/Lifecycle.d.ts
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { EventEmitter } from 'events';
|
|
3
|
-
import {
|
|
3
|
+
import { IPicGo } from '../types';
|
|
4
4
|
export declare class Lifecycle extends EventEmitter {
|
|
5
5
|
private readonly ctx;
|
|
6
|
-
private readonly ttfLink;
|
|
7
6
|
ttfPath: string;
|
|
8
7
|
constructor(ctx: IPicGo);
|
|
9
|
-
downloadTTF
|
|
10
|
-
helpGetOption
|
|
11
|
-
compressOptions: Undefinable<IBuildInCompressOptions>;
|
|
12
|
-
watermarkOptions: Undefinable<IBuildInWaterMarkOptions>;
|
|
13
|
-
};
|
|
8
|
+
private downloadTTF;
|
|
9
|
+
private helpGetOption;
|
|
14
10
|
start(input: any[]): Promise<IPicGo>;
|
|
15
11
|
private beforeTransform;
|
|
16
12
|
private doTransform;
|
package/dist/i18n/zh-CN.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export declare const ZH_CN: {
|
|
|
7
7
|
AUTH_FAILED: string;
|
|
8
8
|
PICBED_SMMS: string;
|
|
9
9
|
PICBED_SMMS_TOKEN: string;
|
|
10
|
+
PICBED_SMMS_MESSAGE_TOKEN: string;
|
|
10
11
|
PICBED_SMMS_BACKUP_DOMAIN: string;
|
|
11
12
|
PICBED_SMMS_MESSAGE_BACKUP_DOMAIN: string;
|
|
12
13
|
PICBED_LOCAL: string;
|
|
@@ -16,6 +17,21 @@ export declare const ZH_CN: {
|
|
|
16
17
|
PICBED_LOCAL_MESSAGE_CUSTOMURL: string;
|
|
17
18
|
PICBED_LOCAL_WEBPATH: string;
|
|
18
19
|
PICBED_LOCAL_MESSAGE_WEBPATH: string;
|
|
20
|
+
PICBED_ALIST_PLIST: string;
|
|
21
|
+
PICBED_ALIST_URL: string;
|
|
22
|
+
PICBED_ALIST_MESSAGE_URL: string;
|
|
23
|
+
PICBED_ALIST_TOKEN: string;
|
|
24
|
+
PICBED_ALIST_MESSAGE_TOKEN: string;
|
|
25
|
+
PICBED_ALIST_USERNAME: string;
|
|
26
|
+
PICBED_ALIST_MESSAGE_USERNAME: string;
|
|
27
|
+
PICBED_ALIST_PASSWORD: string;
|
|
28
|
+
PICBED_ALIST_MESSAGE_PASSWORD: string;
|
|
29
|
+
PICBED_ALIST_UPLOAD_PATH: string;
|
|
30
|
+
PICBED_ALIST_MESSAGE_UPLOAD_PATH: string;
|
|
31
|
+
PICBED_ALIST_WEB_PATH: string;
|
|
32
|
+
PICBED_ALIST_MESSAGE_WEB_PATH: string;
|
|
33
|
+
PICBED_ALIST_CUSTOMURL: string;
|
|
34
|
+
PICBED_ALIST_MESSAGE_CUSTOMURL: string;
|
|
19
35
|
PICBED_ALICLOUD: string;
|
|
20
36
|
PICBED_ALICLOUD_ACCESSKEYID: string;
|
|
21
37
|
PICBED_ALICLOUD_ACCESSKEYSECRET: string;
|
|
@@ -184,6 +200,7 @@ export declare const ZH_CN: {
|
|
|
184
200
|
PICBED_AWSS3PLIST_MESSAGE_REJECTUNAUTHORIZED: string;
|
|
185
201
|
PICBED_AWSS3PLIST_MESSAGE_ACL: string;
|
|
186
202
|
PICBED_AWSS3PLIST_MESSAGE_DISABLEBUCKETPREFIXTOURL: string;
|
|
203
|
+
BUILDIN_WATERMARK: string;
|
|
187
204
|
BUILDIN_WATERMARK_ISADDWATERMARK: string;
|
|
188
205
|
BUILDIN_WATERMARK_MESSAGE_ISADDWATERMARK: string;
|
|
189
206
|
BUILDIN_WATERMARK_WATERMARKTYPE: string;
|
|
@@ -204,8 +221,10 @@ export declare const ZH_CN: {
|
|
|
204
221
|
BUILDIN_WATERMARK_MESSAGE_WATERMARKIMAGEPATH: string;
|
|
205
222
|
BUILDIN_WATERMARK_WATERMARKPOSITION: string;
|
|
206
223
|
BUILDIN_WATERMARK_MESSAGE_WATERMARKPOSITION: string;
|
|
224
|
+
BUILDIN_RENAME: string;
|
|
207
225
|
BUILDIN_RENAME_FORMAT: string;
|
|
208
226
|
BUILDIN_RENAME_ENABLE: string;
|
|
227
|
+
BUILDIN_COMPRESS: string;
|
|
209
228
|
BUILDIN_COMPRESS_QUALITY: string;
|
|
210
229
|
BUILDIN_COMPRESS_MESSAGE_QUALITY: string;
|
|
211
230
|
BUILDIN_COMPRESS_ISCONVERT: string;
|