piclist 1.9.12 → 1.9.13
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 +23 -0
- package/dist/core/Lifecycle.d.ts +17 -1
- package/dist/i18n/zh-CN.d.ts +23 -15
- package/dist/index.cjs.js +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/plugins/beforetransformer/skipProcess.d.ts +5 -0
- package/dist/plugins/uploader/utils.d.ts +2 -0
- package/dist/types/index.d.ts +7 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,26 @@
|
|
|
1
|
+
## :tada: 1.9.13 (2025-06-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### :sparkles: Features
|
|
5
|
+
|
|
6
|
+
* **custom:** add skip process setting ([81da5b1](https://github.com/Kuingsmile/PicList-Core/commit/81da5b1))
|
|
7
|
+
* **custom:** add webPath support for aliyun ([a81fea6](https://github.com/Kuingsmile/PicList-Core/commit/a81fea6))
|
|
8
|
+
* **custom:** add webPath support for tcyun ([1000c8b](https://github.com/Kuingsmile/PicList-Core/commit/1000c8b))
|
|
9
|
+
* **custom:** add webPath support to custom api ([7e83d0e](https://github.com/Kuingsmile/PicList-Core/commit/7e83d0e))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### :bug: Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **custom:** fix an issue where upload will filed caused by backup domain setting ([0a6fdf8](https://github.com/Kuingsmile/PicList-Core/commit/0a6fdf8))
|
|
15
|
+
* **custom:** fix webdav webpath default value bug ([0184100](https://github.com/Kuingsmile/PicList-Core/commit/0184100))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### :package: Chore
|
|
19
|
+
|
|
20
|
+
* **custom:** add mcp server configuration ([03cdfe9](https://github.com/Kuingsmile/PicList-Core/commit/03cdfe9))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
1
24
|
## :tada: 1.9.12 (2025-06-03)
|
|
2
25
|
|
|
3
26
|
|
package/dist/core/Lifecycle.d.ts
CHANGED
|
@@ -5,10 +5,26 @@ export declare class Lifecycle extends EventEmitter {
|
|
|
5
5
|
private readonly ctx;
|
|
6
6
|
ttfPath: string;
|
|
7
7
|
constructor(ctx: IPicGo);
|
|
8
|
+
private initializeDirs;
|
|
8
9
|
private downloadTTF;
|
|
9
|
-
private
|
|
10
|
+
private getProcessingOptions;
|
|
11
|
+
private getUploaderType;
|
|
12
|
+
private getSkipExtensions;
|
|
10
13
|
start(input: any[], skipProcess?: boolean): Promise<IPicGo>;
|
|
14
|
+
private initializeContext;
|
|
15
|
+
private handleSkipProcess;
|
|
16
|
+
private executeLifecycle;
|
|
17
|
+
private handleError;
|
|
11
18
|
private preprocess;
|
|
19
|
+
private initializeRawInputPaths;
|
|
20
|
+
private processImages;
|
|
21
|
+
private processImage;
|
|
22
|
+
private applyProcessing;
|
|
23
|
+
private addWatermark;
|
|
24
|
+
private compressImage;
|
|
25
|
+
private convertHeicAndCompress;
|
|
26
|
+
private saveProcessedImage;
|
|
27
|
+
private getFileBaseName;
|
|
12
28
|
private buildInRename;
|
|
13
29
|
private beforeTransform;
|
|
14
30
|
private doTransform;
|
package/dist/i18n/zh-CN.d.ts
CHANGED
|
@@ -8,23 +8,25 @@ export declare const ZH_CN: {
|
|
|
8
8
|
PICBED_SMMS: string;
|
|
9
9
|
PICBED_SMMS_TOKEN: string;
|
|
10
10
|
PICBED_SMMS_MESSAGE_TOKEN: string;
|
|
11
|
-
|
|
11
|
+
PICBED_SMMS_BACKUPDOMAIN: string;
|
|
12
12
|
PICBED_SMMS_MESSAGE_BACKUP_DOMAIN: string;
|
|
13
13
|
PICBED_ADVANCEDPLIST: string;
|
|
14
14
|
PICBED_ADVANCEDPLIST_ENDPOINT: string;
|
|
15
15
|
PICBED_ADVANCEDPLIST_MESSAGE_ENDPOINT: string;
|
|
16
16
|
PICBED_ADVANCEDPLIST_METHOD: string;
|
|
17
17
|
PICBED_ADVANCEDPLIST_MESSAGE_METHOD: string;
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
PICBED_ADVANCEDPLIST_FORMDATAKEY: string;
|
|
19
|
+
PICBED_ADVANCEDPLIST_MESSAGE_FORMDATAKEY: string;
|
|
20
20
|
PICBED_ADVANCEDPLIST_HEADERS: string;
|
|
21
21
|
PICBED_ADVANCEDPLIST_MESSAGE_HEADERS: string;
|
|
22
22
|
PICBED_ADVANCEDPLIST_BODY: string;
|
|
23
23
|
PICBED_ADVANCEDPLIST_MESSAGE_BODY: string;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
PICBED_ADVANCEDPLIST_CUSTOMPREFIX: string;
|
|
25
|
+
PICBED_ADVANCEDPLIST_MESSAGE_CUSTOMPREFIX: string;
|
|
26
|
+
PICBED_ADVANCEDPLIST_WEBPATH: string;
|
|
27
|
+
PICBED_ADVANCEDPLIST_MESSAGE_WEBPATH: string;
|
|
28
|
+
PICBED_ADVANCEDPLIST_RESDATAPATH: string;
|
|
29
|
+
PICBED_ADVANCEDPLIST_MESSAGE_RESDATAPATH: string;
|
|
28
30
|
PICBED_LOCAL: string;
|
|
29
31
|
PICBED_LOCAL_PATH: string;
|
|
30
32
|
PICBED_LOCAL_MESSAGE_PATH: string;
|
|
@@ -41,9 +43,9 @@ export declare const ZH_CN: {
|
|
|
41
43
|
PICBED_ALIST_MESSAGE_USERNAME: string;
|
|
42
44
|
PICBED_ALIST_PASSWORD: string;
|
|
43
45
|
PICBED_ALIST_MESSAGE_PASSWORD: string;
|
|
44
|
-
|
|
46
|
+
PICBED_ALIST_UPLOADPATH: string;
|
|
45
47
|
PICBED_ALIST_MESSAGE_UPLOAD_PATH: string;
|
|
46
|
-
|
|
48
|
+
PICBED_ALIST_WEBPATH: string;
|
|
47
49
|
PICBED_ALIST_MESSAGE_WEB_PATH: string;
|
|
48
50
|
PICBED_ALIST_CUSTOMURL: string;
|
|
49
51
|
PICBED_ALIST_MESSAGE_CUSTOMURL: string;
|
|
@@ -53,10 +55,12 @@ export declare const ZH_CN: {
|
|
|
53
55
|
PICBED_ALICLOUD_BUCKET: string;
|
|
54
56
|
PICBED_ALICLOUD_AREA: string;
|
|
55
57
|
PICBED_ALICLOUD_PATH: string;
|
|
58
|
+
PICBED_ALICLOUD_WEBPATH: string;
|
|
56
59
|
PICBED_ALICLOUD_CUSTOMURL: string;
|
|
57
60
|
PICBED_ALICLOUD_OPTIONS: string;
|
|
58
61
|
PICBED_ALICLOUD_MESSAGE_AREA: string;
|
|
59
62
|
PICBED_ALICLOUD_MESSAGE_PATH: string;
|
|
63
|
+
PICBED_ALICLOUD_MESSAGE_WEBPATH: string;
|
|
60
64
|
PICBED_ALICLOUD_MESSAGE_OPTIONS: string;
|
|
61
65
|
PICBED_ALICLOUD_MESSAGE_CUSTOMURL: string;
|
|
62
66
|
PICBED_TENCENTCLOUD: string;
|
|
@@ -68,11 +72,13 @@ export declare const ZH_CN: {
|
|
|
68
72
|
PICBED_TENCENTCLOUD_AREA: string;
|
|
69
73
|
PICBED_TENCENTCLOUD_ENDPOINT: string;
|
|
70
74
|
PICBED_TENCENTCLOUD_PATH: string;
|
|
75
|
+
PICBED_TENCENTCLOUD_WEBPATH: string;
|
|
71
76
|
PICBED_TENCENTCLOUD_OPTIONS: string;
|
|
72
77
|
PICBED_TENCENTCLOUD_CUSTOMURL: string;
|
|
73
78
|
PICBED_TENCENTCLOUD_MESSAGE_APPID: string;
|
|
74
79
|
PICBED_TENCENTCLOUD_MESSAGE_AREA: string;
|
|
75
80
|
PICBED_TENCENTCLOUD_MESSAGE_PATH: string;
|
|
81
|
+
PICBED_TENCENTCLOUD_MESSAGE_WEBPATH: string;
|
|
76
82
|
PICBED_TENCENTCLOUD_MESSAGE_CUSTOMURL: string;
|
|
77
83
|
PICBED_TENCENTCLOUD_MESSAGE_OPTIONS: string;
|
|
78
84
|
PICBED_TENCENTCLOUD_MESSAGE_ENDPOINT: string;
|
|
@@ -121,8 +127,8 @@ export declare const ZH_CN: {
|
|
|
121
127
|
PICBED_UPYUN_URL: string;
|
|
122
128
|
PICBED_UPYUN_OPTIONS: string;
|
|
123
129
|
PICBED_UPYUN_ENDPOINT: string;
|
|
124
|
-
|
|
125
|
-
|
|
130
|
+
PICBED_UPYUN_ANTILEECHTOKEN: string;
|
|
131
|
+
PICBED_UPYUN_EXPIRETIME: string;
|
|
126
132
|
PICBED_UPYUN_MESSAGE_OPERATOR: string;
|
|
127
133
|
PICBED_UPYUN_MESSAGE_PASSWORD: string;
|
|
128
134
|
PICBED_UPYUN_MESSAGE_URL: string;
|
|
@@ -135,7 +141,7 @@ export declare const ZH_CN: {
|
|
|
135
141
|
PICBED_WEBDAVPLIST_USERNAME: string;
|
|
136
142
|
PICBED_WEBDAVPLIST_PASSWORD: string;
|
|
137
143
|
PICBED_WEBDAVPLIST_PATH: string;
|
|
138
|
-
|
|
144
|
+
PICBED_WEBDAVPLIST_WEBPATH: string;
|
|
139
145
|
PICBED_WEBDAVPLIST_CUSTOMURL: string;
|
|
140
146
|
PICBED_WEBDAVPLIST_AUTHTYPE: string;
|
|
141
147
|
PICBED_WEBDAVPLIST_OPTIONS: string;
|
|
@@ -225,16 +231,18 @@ export declare const ZH_CN: {
|
|
|
225
231
|
BUILDIN_WATERMARK_MESSAGE_WATERMARKDEGREE: string;
|
|
226
232
|
BUILDIN_WATERMARK_WATERMARKTEXT: string;
|
|
227
233
|
BUILDIN_WATERMARK_MESSAGE_WATERMARKTEXT: string;
|
|
228
|
-
|
|
234
|
+
BUILDIN_WATERMARK_WATERMARKFONTPATH: string;
|
|
229
235
|
BUILDIN_WATERMARK_MESSAGE_WATERMARKFONTPATH: string;
|
|
230
|
-
|
|
236
|
+
BUILDIN_WATERMARK_WATERMARKSCALERATIO: string;
|
|
231
237
|
BUILDIN_WATERMARK_MESSAGE_WATERMARKFONTRATIO: string;
|
|
232
|
-
|
|
238
|
+
BUILDIN_WATERMARK_WATERMARKCOLOR: string;
|
|
233
239
|
BUILDIN_WATERMARK_MESSAGE_WATERMARKFONTCOLOR: string;
|
|
234
240
|
BUILDIN_WATERMARK_WATERMARKIMAGEPATH: string;
|
|
235
241
|
BUILDIN_WATERMARK_MESSAGE_WATERMARKIMAGEPATH: string;
|
|
236
242
|
BUILDIN_WATERMARK_WATERMARKPOSITION: string;
|
|
237
243
|
BUILDIN_WATERMARK_MESSAGE_WATERMARKPOSITION: string;
|
|
244
|
+
BUILDIN_SKIPPROCESS: string;
|
|
245
|
+
BUILDIN_SKIPPROCESS_SKIPPROCESSEXTLIST: string;
|
|
238
246
|
BUILDIN_RENAME: string;
|
|
239
247
|
BUILDIN_RENAME_FORMAT: string;
|
|
240
248
|
BUILDIN_RENAME_ENABLE: string;
|