feat(ui): Live Changes (CDC) tab — real-time Debezium stream with filters, volume bars and before/after diff

This commit is contained in:
mo
2026-06-27 01:44:26 +02:00
parent 1a454f76cf
commit 921342442f
6 changed files with 299 additions and 3 deletions
+24
View File
@@ -46,6 +46,30 @@ export type FeedEntry = {
level: string
}
export type CdcChange = {
id: string
ts: string
source: string
table: string
topic: string
op: string
summary: string
before: Record<string, unknown> | null
after: Record<string, unknown> | null
}
export type CdcStats = {
ok: boolean
window_minutes: number
total: number
by_source: Record<string, number>
by_op: Record<string, number>
by_table: Record<string, number>
buckets: { t: string; n: number }[]
connected: boolean
consumed: number
}
export type DomainStatus = {
level: 'ok' | 'warn' | 'down' | 'unknown'
label: string