mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-06-15 04:06:56 +08:00
feat: 实现消息长度分布图
This commit is contained in:
@@ -229,6 +229,10 @@ export async function getYearlyActivity(sessionId: string, filter?: any): Promis
|
||||
return sendToWorker('getYearlyActivity', { sessionId, filter })
|
||||
}
|
||||
|
||||
export async function getMessageLengthDistribution(sessionId: string, filter?: any): Promise<any[]> {
|
||||
return sendToWorker('getMessageLengthDistribution', { sessionId, filter })
|
||||
}
|
||||
|
||||
export async function getMessageTypeDistribution(sessionId: string, filter?: any): Promise<any[]> {
|
||||
return sendToWorker('getMessageTypeDistribution', { sessionId, filter })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user