MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / getMonthlyActivity

Function getMonthlyActivity

apps/desktop/main/worker/query/basic.ts:66–70  ·  view source on GitHub ↗
(sessionId: string, filter?: TimeFilter)

Source from the content-addressed store, hash-verified

64}
65
66export function getMonthlyActivity(sessionId: string, filter?: TimeFilter): any[] {
67 const db = openDatabaseAdapter(sessionId)
68 if (!db) return []
69 return coreGetMonthlyActivity(db, filter)
70}
71
72export function getYearlyActivity(sessionId: string, filter?: TimeFilter): any[] {
73 const db = openDatabaseAdapter(sessionId)

Callers 1

dbWorker.tsFile · 0.90

Calls 1

openDatabaseAdapterFunction · 0.90

Tested by

no test coverage detected