@ginstone/nga-api
Version:
34 lines (33 loc) • 710 B
TypeScript
import { CurrentUser } from "../field/CurrentUser";
import { Forum, ForumRaw } from "../field/Forum";
import { TopicInfo } from "../field/TopicInfo";
export declare class ThreadBody {
/**
* 当前用户
*/
readonly currentUser: CurrentUser;
/**
* 当前版面信息
*/
readonly forum?: Forum;
/**
* 主题总数
*/
readonly total: number;
/**
* 每页主题数量
*/
readonly size: number;
/**
* 主题列表
*/
readonly topics: TopicInfo[];
constructor(raw: ThreadBodyRaw);
}
export interface ThreadBodyRaw {
__CU: CurrentUser;
__F: ForumRaw;
__ROWS: number;
__T__ROWS_PAGE: number;
__T: any;
}