mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Dashboard schema (#49993)
* user essentials mob! 🔱 * user essentials mob! 🔱 lastFile:pkg/coremodel/dashboard/lineage.cue * user essentials mob! 🔱 Co-authored-by: joshhunt <josh@trtr.co> Co-authored-by: polinaboneva <polina.boneva@grafana.com>
This commit is contained in:
@@ -76,6 +76,21 @@ interface FieldColor {
|
||||
seriesBy?: FieldColorSeriesByMode;
|
||||
}
|
||||
|
||||
interface GridPos {
|
||||
h: number;
|
||||
static?: boolean;
|
||||
w: number;
|
||||
x: number;
|
||||
y: number;
|
||||
}
|
||||
|
||||
const defaultGridPos: Partial<GridPos> = {
|
||||
h: 9,
|
||||
w: 12,
|
||||
x: 0,
|
||||
y: 0,
|
||||
};
|
||||
|
||||
interface Threshold {
|
||||
color: string;
|
||||
state?: string;
|
||||
@@ -123,12 +138,7 @@ interface Panel {
|
||||
}[];
|
||||
}[];
|
||||
};
|
||||
gridPos?: {
|
||||
h: number;
|
||||
w: number;
|
||||
x: number;
|
||||
y: number;
|
||||
};
|
||||
gridPos?: GridPos;
|
||||
id?: number;
|
||||
interval?: string;
|
||||
links?: DashboardLink[];
|
||||
|
||||
Reference in New Issue
Block a user