mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
kindsys: Adapt to new flattened lineage syntax in Thema (#68034)
* Update all core kinds to flattened lineages
* Regen Go types, without any
* Regen Go types, s/interface{}/any/
* Update generated core typescript
* Update generate docs
* Fix defaults gen in veneer index jenny
* Flatten plugindef lineage
* Convert all plugin kinds to flattened form
* Switch back to interface{} for now
* Switch to fs.Sub in plugin DeclParser
* Mostly undesirable codegen changes, to be fixed
* Update mod and sum
* Update pfs tests to flattened lineages
* Update thema to latest, regen docs
This commit is contained in:
@@ -22,37 +22,35 @@ composableKinds: PanelCfg: {
|
||||
maturity: "experimental"
|
||||
|
||||
lineage: {
|
||||
seqs: [
|
||||
{
|
||||
schemas: [
|
||||
{
|
||||
Options: {
|
||||
common.OptionsWithLegend
|
||||
common.OptionsWithTooltip
|
||||
schemas: [{
|
||||
version: [0, 0]
|
||||
schema: {
|
||||
Options: {
|
||||
common.OptionsWithLegend
|
||||
common.OptionsWithTooltip
|
||||
|
||||
//Size of each bucket
|
||||
bucketSize?: int32
|
||||
//Offset buckets by this amount
|
||||
bucketOffset?: int32 | *0
|
||||
//Combines multiple series into a single histogram
|
||||
combine?: bool
|
||||
} @cuetsy(kind="interface")
|
||||
//Size of each bucket
|
||||
bucketSize?: int32
|
||||
//Offset buckets by this amount
|
||||
bucketOffset?: int32 | *0
|
||||
//Combines multiple series into a single histogram
|
||||
combine?: bool
|
||||
} @cuetsy(kind="interface")
|
||||
|
||||
FieldConfig: {
|
||||
common.AxisConfig
|
||||
common.HideableFieldConfig
|
||||
FieldConfig: {
|
||||
common.AxisConfig
|
||||
common.HideableFieldConfig
|
||||
|
||||
// Controls line width of the bars.
|
||||
lineWidth?: uint32 & <=10 | *1
|
||||
// Controls the fill opacity of the bars.
|
||||
fillOpacity?: uint32 & <=100 | *80
|
||||
// Set the mode of the gradient fill. Fill gradient is based on the line color. To change the color, use the standard color scheme field option.
|
||||
// Gradient appearance is influenced by the Fill opacity setting.
|
||||
gradientMode?: common.GraphGradientMode & (*"none" | _)
|
||||
} @cuetsy(kind="interface")
|
||||
},
|
||||
]
|
||||
},
|
||||
]
|
||||
// Controls line width of the bars.
|
||||
lineWidth?: uint32 & <=10 | *1
|
||||
// Controls the fill opacity of the bars.
|
||||
fillOpacity?: uint32 & <=100 | *80
|
||||
// Set the mode of the gradient fill. Fill gradient is based on the line color. To change the color, use the standard color scheme field option.
|
||||
// Gradient appearance is influenced by the Fill opacity setting.
|
||||
gradientMode?: common.GraphGradientMode & (*"none" | _)
|
||||
} @cuetsy(kind="interface")
|
||||
}
|
||||
}]
|
||||
lenses: []
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user