UNPKG

@wahaha216/koishi-plugin-jmcomic

Version:

下载JM本子,无需python。支持pdf、zip加密。

33 lines (32 loc) 956 B
import { JMPhotoAbstract } from "../abstract/JMPhotoAbstract"; import { IJMPhoto } from "../types/JMClient"; export declare class JMAppPhoto extends JMPhotoAbstract { private series; private tags; private name; private addtime; private series_id; private is_favorite; private liked; constructor(json: IJMPhoto); setSeries(series: string[]): void; getSeries(): string[]; setTags(tags: string): void; getTags(): string; setName(name: string): void; getName(): string; setAddtime(addtime: string): void; getAddtime(): string; setSeriesId(seriesId: string): void; getSeriesId(): string; setIsFavorite(isFavorite: boolean): void; getIsFavorite(): boolean; setLiked(liked: boolean): void; getLiked(): boolean; /** * 从JSON数据返回JMPhoto实体类 * @param json JMPhoto JSON数据 * @returns */ static fromJson(json: IJMPhoto): JMAppPhoto; }