picgo 1.5.4 → 1.5.6
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 +21 -0
- package/dist/i18n/zh-CN.d.ts +6 -0
- package/dist/index.cjs.js +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/types/index.d.ts +5 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -285,6 +285,8 @@ export interface ITcyunConfig {
|
|
|
285
285
|
appId: string;
|
|
286
286
|
/** 存储区域,例如 ap-beijing-1 */
|
|
287
287
|
area: string;
|
|
288
|
+
/** 请求的 ENDPOINT,设置后 `area` 字段会失效 */
|
|
289
|
+
endpoint: string;
|
|
288
290
|
/** 自定义存储路径,比如 img/ */
|
|
289
291
|
path: string;
|
|
290
292
|
/** 自定义域名,注意要加 `http://` 或者 `https://` */
|
|
@@ -293,6 +295,8 @@ export interface ITcyunConfig {
|
|
|
293
295
|
version: 'v5' | 'v4';
|
|
294
296
|
/** 针对图片的一些后缀处理参数 PicGo 2.4.0+ PicGo-Core 1.5.0+ */
|
|
295
297
|
options: string;
|
|
298
|
+
/** 是否支持极智压缩 */
|
|
299
|
+
slim: boolean;
|
|
296
300
|
}
|
|
297
301
|
/** GitHub 图床配置项 */
|
|
298
302
|
export interface IGithubConfig {
|
|
@@ -457,6 +461,7 @@ export interface IImgSize {
|
|
|
457
461
|
width: number;
|
|
458
462
|
height: number;
|
|
459
463
|
real?: boolean;
|
|
464
|
+
extname?: string;
|
|
460
465
|
}
|
|
461
466
|
/**
|
|
462
467
|
* for initUtils
|