chore: batch commit remaining changes
Includes search engine improvements, Alembic migrations, new services (pubmed_daily_update, query_expansion), frontend updates, and documentation sync.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user