piclist 1.7.0 → 1.7.2

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,21 @@
1
+ /// <reference types="node" />
2
+ import { IPicGo } from '../../types';
3
+ export interface IMGTYPE {
4
+ imgUrl?: string;
5
+ type?: string;
6
+ key?: string;
7
+ id?: string;
8
+ }
9
+ export interface IV2FORMDATA {
10
+ file: {
11
+ value: Buffer;
12
+ options: {
13
+ filename: string;
14
+ };
15
+ };
16
+ ssl: string;
17
+ strategy_id?: string;
18
+ album_id?: string;
19
+ permission?: number;
20
+ }
21
+ export default function register(ctx: IPicGo): void;
@@ -393,6 +393,15 @@ export interface IPicListConfig {
393
393
  configName?: string;
394
394
  serverKey?: string;
395
395
  }
396
+ /** 内置lsky 图床配置项 */
397
+ export interface ILskyConfig {
398
+ version: string;
399
+ host: string;
400
+ token: string;
401
+ strategyId: string;
402
+ albumId: string;
403
+ permission: IStringKeyMap<string>;
404
+ }
396
405
  /** PicGo 配置文件类型定义 */
397
406
  export interface IConfig {
398
407
  picBed: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "piclist",
3
- "version": "1.7.0",
3
+ "version": "1.7.2",
4
4
  "description": "Modified PicGo core, A tool for picture uploading",
5
5
  "author": {
6
6
  "name": "Kuingsmile",