mirror of
https://github.com/Wanxp/obsidian-douban.git
synced 2026-04-04 08:38:41 +08:00
15 lines
400 B
TypeScript
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, []);
|
|
}
|
|
}
|