feat(ui): Live Changes (CDC) tab — real-time Debezium stream with filters, volume bars and before/after diff
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user