piclist 0.8.12 → 0.8.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/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
|
@@ -298,6 +298,8 @@ export interface ITcyunConfig {
|
|
|
298
298
|
/** 存储区域,例如 ap-beijing-1 */
|
|
299
299
|
area: string;
|
|
300
300
|
/** 自定义存储路径,比如 img/ */
|
|
301
|
+
/** endpoint: string */
|
|
302
|
+
endpoint: string;
|
|
301
303
|
path: string;
|
|
302
304
|
/** 自定义域名,注意要加 `http://` 或者 `https://` */
|
|
303
305
|
customUrl: string;
|
|
@@ -305,6 +307,8 @@ export interface ITcyunConfig {
|
|
|
305
307
|
version: 'v5' | 'v4';
|
|
306
308
|
/** 针对图片的一些后缀处理参数 PicGo 2.4.0+ PicGo-Core 1.5.0+ */
|
|
307
309
|
options: string;
|
|
310
|
+
/** 是否支持极智压缩 */
|
|
311
|
+
slim: boolean;
|
|
308
312
|
}
|
|
309
313
|
/** GitHub 图床配置项 */
|
|
310
314
|
export interface IGithubConfig {
|
|
@@ -509,6 +513,7 @@ export interface IImgSize {
|
|
|
509
513
|
width: number;
|
|
510
514
|
height: number;
|
|
511
515
|
real?: boolean;
|
|
516
|
+
extname?: string;
|
|
512
517
|
}
|
|
513
518
|
/**
|
|
514
519
|
* for initUtils
|