DashboardSchema: Remove some old panel types (#78590)

This commit is contained in:
Torkel Ödegaard
2023-11-24 14:53:28 +01:00
committed by GitHub
parent 02a079e64a
commit 54bca5e590
13 changed files with 91 additions and 218 deletions

View File

@@ -89,7 +89,7 @@ lineage: schemas: [{
version?: uint32
// List of dashboard panels
panels?: [...(#Panel | #RowPanel | #GraphPanel | #HeatmapPanel)]
panels?: [...(#Panel | #RowPanel)]
// Configured template variables
templating?: {
@@ -713,31 +713,11 @@ lineage: schemas: [{
id: uint32
// List of panels in the row
panels: [...(#Panel | #GraphPanel | #HeatmapPanel)]
panels: [...#Panel]
// Name of template variable to repeat for.
repeat?: string
} @cuetsy(kind="interface") @grafana(TSVeneer="type")
// Support for legacy graph panel.
// @deprecated this a deprecated panel type
#GraphPanel: {
type: "graph"
// @deprecated this is part of deprecated graph panel
legend?: {
show: bool | *true
sort?: string
sortDesc?: bool
}
...
} @cuetsy(kind="interface")
// Support for legacy heatmap panel.
// @deprecated this a deprecated panel type
#HeatmapPanel: {
type: "heatmap"
...
} @cuetsy(kind="interface")
}
},
]