obsidian-douban/src/org/wanxp/douban/data/model/SearchPage.ts
Wanxp c09f96d3b8 fix #143 #132 #124
1. 增加游戏同步功能
2. 修复自定义参数配置问题
3. 增加搜索默认类型
4. 增加全部搜索为空时的提示
2025-03-11 14:45:14 +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, 1, 0, type, []);
}
static emptyWithNoType() {
return new SearchPage(0, 1, 0, null, []);
}
}