mirror of
https://github.com/grafana/grafana.git
synced 2024-12-02 05:29:42 -06:00
3d33de1751
Lead all top-level properties that we do not intend to export with an underscore. In 2.2.0, only definitions starting with a capital letter were exported. As well, properties with a leading underscore were not visible to an entire package - just within the same file. 3.0.0 still considers them hidden, however, they are now visible to an entire package.
25 lines
548 B
CUE
25 lines
548 B
CUE
package panels
|
|
|
|
// A row is a logical divider within a dashboard. It is used
|
|
// to group panels together.
|
|
#Row: {
|
|
// Whether the row is collapsed or not.
|
|
collapsed: bool | *true
|
|
// Name of default data source.
|
|
datasource?: string
|
|
// Grid position.
|
|
gridPos?: _gridPos
|
|
// Dashboard panels.
|
|
panels?: [...{}]
|
|
// Name of template variable to repeat for.
|
|
repeat?: string
|
|
// Whether to display the title.
|
|
showTitle: bool | *true
|
|
// Title.
|
|
title?: string
|
|
// Size of title.
|
|
titleSize: string | *"h6"
|
|
// Panel type.
|
|
type: string | *"row"
|
|
}
|