obsidian-douban/src/org/wanxp/douban/data/model/SearchPage.ts
Wanxp 9fe0d1bfc9 fix #139
1. 优化导入配置,增加更多导入时的选项
2. 优化导入结果的显示,现在会在结果文本中显示具体的条件
2025-03-06 18:54:01 +08:00

15 lines
400 B
TypeScript

import { SearchPageInfo } from "./SearchPageInfo";
import { SupportType } from "../../../constant/Constsant";
import {SearchPageTypeOf} from "./SearchPageTypeOf";
export class SearchPage extends SearchPageTypeOf<any> {
public static empty(type: SupportType): SearchPage {
return new SearchPage(0, 0, 0, type, []);
}
static emptyWithNoType() {
return new SearchPage(0, 0, 0, null, []);
}
}