- 新增热门帖子、热门作者、榜单接口及实现 - 新增api-documentation,更好的ai协作 - 修复types没有导出的问题 BREAKING CHANGES: 1.0.0->1.1.0(latest)
13 lines
220 B
TypeScript
13 lines
220 B
TypeScript
import type { UserProfile } from './profile';
|
|
|
|
// 用户搜索结果
|
|
export interface UserSearchRequest {
|
|
keyword: string;
|
|
}
|
|
|
|
export interface UserSearchResponse {
|
|
users: Array<UserProfile>
|
|
total: number;
|
|
}
|
|
|