update
This commit is contained in:
10
typings/note.ts → typings/note.d.ts
vendored
10
typings/note.ts → typings/note.d.ts
vendored
@@ -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[];
|
||||
}
|
||||
Reference in New Issue
Block a user