mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-04-22 08:57:44 +08:00
refactor: 重构数据库逻辑
This commit is contained in:
34
electron/main/worker/query/index.ts
Normal file
34
electron/main/worker/query/index.ts
Normal file
@@ -0,0 +1,34 @@
|
||||
/**
|
||||
* 查询模块入口
|
||||
* 统一导出基础查询和高级分析函数
|
||||
*/
|
||||
|
||||
// 基础查询
|
||||
export {
|
||||
getAvailableYears,
|
||||
getMemberActivity,
|
||||
getHourlyActivity,
|
||||
getDailyActivity,
|
||||
getWeekdayActivity,
|
||||
getMonthlyActivity,
|
||||
getMessageTypeDistribution,
|
||||
getTimeRange,
|
||||
getMemberNameHistory,
|
||||
getAllSessions,
|
||||
getSession,
|
||||
} from './basic'
|
||||
|
||||
// 高级分析
|
||||
export {
|
||||
getRepeatAnalysis,
|
||||
getCatchphraseAnalysis,
|
||||
getNightOwlAnalysis,
|
||||
getDragonKingAnalysis,
|
||||
getDivingAnalysis,
|
||||
getCheckInAnalysis,
|
||||
getMonologueAnalysis,
|
||||
getMemeBattleAnalysis,
|
||||
getMentionAnalysis,
|
||||
getLaughAnalysis,
|
||||
} from './advanced'
|
||||
|
||||
Reference in New Issue
Block a user