mirror of
https://github.com/Wanxp/obsidian-douban.git
synced 2026-04-07 02:48:43 +08:00
15 lines
373 B
TypeScript
15 lines
373 B
TypeScript
import {DoubanPluginSettings} from "src/douban/Douban";
|
|
import DoubanSubject from "../model/DoubanSubject";
|
|
import {Editor} from "obsidian";
|
|
|
|
export default interface DoubanSubjectLoadHandler<T extends DoubanSubject> {
|
|
|
|
parse(extract: T, settings: DoubanPluginSettings): string;
|
|
|
|
support(extract: DoubanSubject): boolean;
|
|
|
|
handle(url: string, editor: Editor): void;
|
|
|
|
|
|
}
|