This commit is contained in:
2025-12-26 18:13:15 +08:00
parent 66e6370013
commit 413c147109
32 changed files with 2449 additions and 205 deletions

View File

@@ -1,4 +1,4 @@
export namespace XHS {
declare namespace XHS {
/** 笔记用户信息 */
export interface NoteUser {
/** 昵称 */
@@ -86,11 +86,11 @@ export namespace XHS {
}
/** 笔记 */
export interface Note {
export interface SearchNote {
/** 笔记ID */
id: string;
/** 模型类型如note笔记 */
model_type: string;
model_type: 'note' | 'hot_query' | string;
/** 笔记卡片 */
note_card: NoteCard;
/** 安全令牌 */
@@ -98,8 +98,8 @@ export namespace XHS {
}
}
export namespace XHS {
export interface ResultList<T = NoteCard> {
declare namespace XHS {
export interface ResultList<T = SearchNote> {
hasMore: boolean;
items: T[];
}