chore: batch commit remaining changes
CI / backend (push) Canceled after 0s
CI / frontend (push) Canceled after 0s

Includes search engine improvements, Alembic migrations,
new services (pubmed_daily_update, query_expansion),
frontend updates, and documentation sync.
This commit is contained in:
34047007@qq.com
2026-07-27 08:35:12 +08:00
parent 35b0a5c565
commit 62ca8fa6b8
82 changed files with 314248 additions and 1519 deletions
+47 -1
View File
@@ -315,19 +315,47 @@ export interface TagOption {
[key: string]: unknown
}
/** 用户保存的自定义筛选器 */
export interface SavedFilter {
id: string
name: string
query_string: string
sort_order: number
}
/** 搜索请求体 */
export interface SearchRequestBody {
query: string
field: string
field?: string
page: number
page_size: number
sort?: string
cursor_date?: string
cursor_id?: string
year_from?: number
year_to?: number
date_from?: string
date_to?: string
journal_tiers?: string[]
tag_ids?: string[]
pub_types?: string[]
is_oa?: boolean | null
language?: string | null
languages?: string[]
nlm_subsets?: string[]
retracted?: string
negative_result?: string
precision_mode?: string
// PubMed 筛选器
has_abstract?: boolean
is_free_full_text?: boolean
has_full_text?: boolean
has_associated_data?: boolean
species?: string[]
sex?: string[]
age?: string[]
medline_only?: boolean
exclude_preprints?: boolean
}
/** 个人文件夹 */
@@ -349,3 +377,21 @@ export interface PaginatedResponse<T> {
page?: number
page_size?: number
}
/** 搜索结果卡片显示设置 */
export interface DisplaySettings {
showAuthors: boolean
showAffiliation: boolean
showJournal: boolean
showPmid: boolean
showDoi: boolean
showAbstract: boolean
showStudyTypes: boolean
showTags: boolean
showCitedBy: boolean
showAiSummary: boolean
showActions: boolean
showBadges: boolean
showSummary: boolean
showPubmed: boolean
}