piclist 1.9.12 → 1.9.14

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.
@@ -0,0 +1,5 @@
1
+ import { IPicGo, IPluginConfig } from '../../types';
2
+ declare const _default: {
3
+ config: (ctx: IPicGo) => IPluginConfig[];
4
+ };
5
+ export default _default;
@@ -1,3 +1,4 @@
1
+ import { IPicGo } from '../../types';
1
2
  export declare function formatPathHelper({ path, startSlash, endSlash, rootToEmpty }: {
2
3
  path?: string;
3
4
  startSlash?: boolean;
@@ -22,3 +23,4 @@ export declare const buildInUploaderNames: {
22
23
  upyun: string;
23
24
  webdavplist: string;
24
25
  };
26
+ export declare const createField: (ctx: IPicGo, picBedName: string, name: string, type: any, defaultValue: any, required: boolean, i18nPrefix?: string, extras?: any) => any;
@@ -268,6 +268,7 @@ export interface IAdvancedPlistConfig {
268
268
  body?: string;
269
269
  resDataPath?: string;
270
270
  customPrefix?: string;
271
+ webPath?: string;
271
272
  }
272
273
  /** 内置alist 图床配置项 */
273
274
  export interface IAlistConfig {
@@ -335,6 +336,7 @@ export interface ITcyunConfig {
335
336
  endpoint: string;
336
337
  path: string;
337
338
  /** 自定义域名,注意要加 `http://` 或者 `https://` */
339
+ webPath: string;
338
340
  customUrl: string;
339
341
  /** COS 版本,v4 或者 v5 */
340
342
  version: 'v5' | 'v4';
@@ -366,6 +368,8 @@ export interface IAliyunConfig {
366
368
  area: string;
367
369
  /** 自定义存储路径 */
368
370
  path: string;
371
+ /** 网站路径,用于拼接网址路径 */
372
+ webPath: string;
369
373
  /** 自定义域名,注意要加 `http://` 或者 `https://` */
370
374
  customUrl: string;
371
375
  /** 针对图片的一些后缀处理参数 PicGo 2.2.0+ PicGo-Core 1.4.0+ */
@@ -683,4 +687,7 @@ export interface IBuildInCompressOptions {
683
687
  isFlop?: boolean;
684
688
  [propName: string]: any;
685
689
  }
690
+ export interface IBuildInSkipProcessOptions {
691
+ skipProcessExtList?: string;
692
+ }
686
693
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "piclist",
3
- "version": "1.9.12",
3
+ "version": "1.9.14",
4
4
  "description": "Modified PicGo core, A tool for picture uploading",
5
5
  "author": {
6
6
  "name": "Kuingsmile",
@@ -138,7 +138,7 @@
138
138
  "qiniu": "7.9.0",
139
139
  "resolve": "^1.8.1",
140
140
  "rimraf": "^5.0.1",
141
- "sharp": "^0.34.2",
141
+ "sharp": "^0.32.1",
142
142
  "text-to-svg": "^3.1.5",
143
143
  "tunnel": "^0.0.6",
144
144
  "uuid": "^9.0.1",
@@ -153,6 +153,6 @@
153
153
  },
154
154
  "plugins": {},
155
155
  "engines": {
156
- "node": ">= 18.17.0"
156
+ "node": ">= 16.0.0"
157
157
  }
158
158
  }