mirror of
https://github.com/stardrophere/InsightRadar.git
synced 2026-08-04 21:07:25 +08:00
搜索功能加入
This commit is contained in:
@@ -20,7 +20,7 @@ export interface UnifiedEvent {
|
||||
tags: string[]
|
||||
}
|
||||
|
||||
/** 分页包装 */
|
||||
/** 分页响应 */
|
||||
export interface PaginatedEvents {
|
||||
total: number
|
||||
has_more: boolean
|
||||
@@ -48,3 +48,17 @@ export interface SystemStats {
|
||||
error_tasks_today: number
|
||||
last_sync_at: string | null
|
||||
}
|
||||
|
||||
/** 搜索时间点数据 */
|
||||
export interface TimelineDataPoint {
|
||||
time_label: string
|
||||
count: number
|
||||
event_ids: number[]
|
||||
}
|
||||
|
||||
/** 时间线搜索结果 */
|
||||
export interface SearchTimelineResponse {
|
||||
keyword: string
|
||||
timeline: TimelineDataPoint[]
|
||||
events: UnifiedEvent[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user