feat(api): 添加热门卡片与榜单接口及实现
- 新增热门帖子、热门作者、榜单接口及实现 - 新增api-documentation,更好的ai协作 - 修复types没有导出的问题 BREAKING CHANGES: 1.0.0->1.1.0(latest)
This commit is contained in:
12
types/user/search.ts
Normal file
12
types/user/search.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import type { UserProfile } from './profile';
|
||||
|
||||
// 用户搜索结果
|
||||
export interface UserSearchRequest {
|
||||
keyword: string;
|
||||
}
|
||||
|
||||
export interface UserSearchResponse {
|
||||
users: Array<UserProfile>
|
||||
total: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user