[v9.1.x] Grafana/schema: Fix plugins API regression. Add back "hidden" in LegendDisplayMode (#53966)

Co-authored-by: Esteban Beltran <academo@users.noreply.github.com>
This commit is contained in:
Grot (@grafanabot)
2022-08-19 11:25:00 -04:00
committed by GitHub
co-authored by Esteban Beltran
parent 5409e7a156
commit ba56a4dc12
2 changed files with 3 additions and 1 deletions
@@ -133,7 +133,8 @@ GraphThresholdsStyleConfig: {
LegendPlacement: "bottom" | "right" @cuetsy(kind="type")
// TODO docs
LegendDisplayMode: "list" | "table" @cuetsy(kind="enum")
// Note: "hidden" needs to remain as an option for plugins compatibility
LegendDisplayMode: "list" | "table" | "hidden" @cuetsy(kind="enum")
// TODO docs
TableSortByFieldState: {
@@ -168,6 +168,7 @@ export interface GraphThresholdsStyleConfig {
export type LegendPlacement = ('bottom' | 'right');
export enum LegendDisplayMode {
Hidden = 'hidden',
List = 'list',
Table = 'table',
}