UNPKG

koishi-plugin-pica-comics

Version:

一个用于搜索和下载 Pica 漫画的 Koishi 插件。

30 lines (29 loc) 844 B
import { Context, Schema } from 'koishi'; export declare const name = "pica-comics"; export declare const inject: { required: string[]; }; export interface Config { username?: string; password?: string; useForwardForSearch: boolean; useForwardForImages: boolean; showImageInSearch: boolean; downloadPath: string; defaultToPdf: boolean; pdfPassword?: string; enableCompression: boolean; compressionQuality: number; pdfSendMethod: 'buffer' | 'file'; obfuscateTitle: boolean; obfuscateSeparator: string; downloadConcurrency: number; downloadTimeout: number; downloadRetries: number; apiHost: string; apiKey: string; hmacKey: string; debug: boolean; } export declare const Config: Schema<Config>; export declare function apply(ctx: Context, config: Config): void;