Files
chart/viewer/model.go
2026-03-15 21:41:38 +03:00

37 lines
547 B
Go

package viewer
type pageData struct {
Title string
HasSnapshot bool
Error string
Meta []fieldRow
Sections []sectionView
}
type sectionView struct {
ID string
Title string
Kind string
Rows []fieldRow
Columns []string
Items []tableRow
Groups []tableGroupView
}
type fieldRow struct {
Key string
Value string
}
type tableRow struct {
Status string
Cells map[string]string
RawCells map[string]any
}
type tableGroupView struct {
Title string
Columns []string
Items []tableRow
}