mirror of
https://github.com/grafana/grafana.git
synced 2025-01-04 13:17:16 -06:00
9691af83ee
* Go program to output openapi * Fix number type syntax Resolves error: 'unsupported op for number &' * Render just the schemas * Use args as entrypoints and add test * Update README, tidy go.mod
34 lines
755 B
CUE
34 lines
755 B
CUE
package variables
|
|
|
|
_variable: {
|
|
// Currently selected value.
|
|
current: {
|
|
selected: bool | *false
|
|
text: string | [...string]
|
|
value: string | [...string]
|
|
}
|
|
// Whether to hide the label and variable.
|
|
// * 0 - Show all.
|
|
// * 1 - Hide label.
|
|
// * 2 - Hide label and variable.
|
|
hide: int >= 0 <= 2 | *0
|
|
// Enable include all option.
|
|
includeAll: bool | *false
|
|
// When includeAll is enabled, this sets its value.
|
|
allValue?: string
|
|
// Optional display name.
|
|
label?: string
|
|
// Allows mutltiple values to be selected at the same time.
|
|
multi: bool | *false
|
|
// Variable name.
|
|
name: string
|
|
// Options for variable.
|
|
options: [...{
|
|
selected: bool
|
|
text: string
|
|
value: string
|
|
}]
|
|
// Skip URL sync.
|
|
skipUrlSync: bool | *false
|
|
}
|