feat(gmw): public features #7-14 — scam domains, top channels, hourly heatmap, category drill-down, coverage stats, channel culture glossary, term KB, edit history

ALSO fixes: dashboard.repository still JOINed dropped user_reputations table (listUsers/getUserDetail crash).
This commit is contained in:
asepharyana committed 2026-08-18 20:45:12 +07:00
1 parent 2a8f6d9062
commit 00e8d68ce5
38 files changed
+1542 -25

No files matched your search

@@ -1,6 +1,7 @@
import { orpc } from "@/lib/orpc/client";
import type {
AttachmentRecord,
EditHistoryRow,
MessageActivityBucket,
MessageRecord,
SemanticSearchResult,
@@ -80,4 +81,10 @@ export const messagesApi = {
orpc.messages.activity({ days }) as unknown as Promise<
MessageActivityBucket[]
>,
// Public, read-only recent message edits (evasion tracker).
getRecentEdits: (limit = 50, channelId?: string) =>
orpc.messages.editHistory({ limit, channelId }) as unknown as Promise<
EditHistoryRow[]
>,
};