picgo-plugin-gitee-uploader
Version:
picgo uploader for gitee
27 lines (26 loc) • 539 B
TypeScript
export interface PluginConfig {
username: string;
password: string;
client_id: string;
client_secret: string;
repo: string;
branch?: string;
path?: string;
token: string;
customPath?: string;
customUrl?: string;
}
export declare type ImgType = {
fileName: string;
extname: string;
imgUrl: string;
width?: number;
height?: number;
type: string;
id: string;
sha?: string;
};
export declare type ImgZipType = {
f: string;
s: string;
};