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.
- package/dist/i18n/zh-CN.d.ts +13 -0
- package/dist/index.cjs.js +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/plugins/uploader/lsky.d.ts +21 -0
- package/dist/types/index.d.ts +9 -0
- package/package.json +1 -1
|
@@ -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;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -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: {
|