@ -17,139 +17,139 @@ import (
// Defines values for DashboardGraphTooltip.
const (
Model GraphTooltipN0 Model GraphTooltip = 0
GraphTooltipN0 GraphTooltip = 0
Model GraphTooltipN1 Model GraphTooltip = 1
GraphTooltipN1 GraphTooltip = 1
Model GraphTooltipN2 Model GraphTooltip = 2
GraphTooltipN2 GraphTooltip = 2
)
// Defines values for DashboardStyle.
const (
Model StyleDark Model Style = "dark"
StyleDark Style = "dark"
Model StyleLight Model Style = "light"
StyleLight Style = "light"
)
// Defines values for DashboardTimezone.
const (
Model TimezoneBrowser Model Timezone = "browser"
TimezoneBrowser Timezone = "browser"
Model TimezoneEmpty Model Timezone = ""
TimezoneEmpty Timezone = ""
Model TimezoneUtc Model Timezone = "utc"
TimezoneUtc Timezone = "utc"
)
// Defines values for DashboardDashboardCursorSync.
const (
Model DashboardCursorSyncN0 Model DashboardCursorSync = 0
DashboardCursorSyncN0 DashboardCursorSync = 0
Model DashboardCursorSyncN1 Model DashboardCursorSync = 1
DashboardCursorSyncN1 DashboardCursorSync = 1
Model DashboardCursorSyncN2 Model DashboardCursorSync = 2
DashboardCursorSyncN2 DashboardCursorSync = 2
)
// Defines values for DashboardDashboardLinkType.
const (
Model DashboardLinkTypeDashboards Model DashboardLinkType = "dashboards"
DashboardLinkTypeDashboards DashboardLinkType = "dashboards"
Model DashboardLinkTypeLink Model DashboardLinkType = "link"
DashboardLinkTypeLink DashboardLinkType = "link"
)
// Defines values for DashboardFieldColorModeId.
const (
Model FieldColorModeIdContinuousGrYlRd Model FieldColorModeId = "continuous-GrYlRd"
FieldColorModeIdContinuousGrYlRd FieldColorModeId = "continuous-GrYlRd"
Model FieldColorModeIdFixed Model FieldColorModeId = "fixed"
FieldColorModeIdFixed FieldColorModeId = "fixed"
Model FieldColorModeIdPaletteClassic Model FieldColorModeId = "palette-classic"
FieldColorModeIdPaletteClassic FieldColorModeId = "palette-classic"
Model FieldColorModeIdPaletteSaturated Model FieldColorModeId = "palette-saturated"
FieldColorModeIdPaletteSaturated FieldColorModeId = "palette-saturated"
Model FieldColorModeIdThresholds Model FieldColorModeId = "thresholds"
FieldColorModeIdThresholds FieldColorModeId = "thresholds"
)
// Defines values for DashboardFieldColorSeriesByMode.
const (
Model FieldColorSeriesByModeLast Model FieldColorSeriesByMode = "last"
FieldColorSeriesByModeLast FieldColorSeriesByMode = "last"
Model FieldColorSeriesByModeMax Model FieldColorSeriesByMode = "max"
FieldColorSeriesByModeMax FieldColorSeriesByMode = "max"
Model FieldColorSeriesByModeMin Model FieldColorSeriesByMode = "min"
FieldColorSeriesByModeMin FieldColorSeriesByMode = "min"
)
// Defines values for DashboardGraphPanelType.
const (
Model GraphPanelTypeGraph Model GraphPanelType = "graph"
GraphPanelTypeGraph GraphPanelType = "graph"
)
// Defines values for DashboardHeatmapPanelType.
const (
Model HeatmapPanelTypeHeatmap Model HeatmapPanelType = "heatmap"
HeatmapPanelTypeHeatmap HeatmapPanelType = "heatmap"
)
// Defines values for DashboardPanelRepeatDirection.
const (
Model PanelRepeatDirectionH Model PanelRepeatDirection = "h"
PanelRepeatDirectionH PanelRepeatDirection = "h"
Model PanelRepeatDirectionV Model PanelRepeatDirection = "v"
PanelRepeatDirectionV PanelRepeatDirection = "v"
)
// Defines values for DashboardRowPanelType.
const (
Model RowPanelTypeRow Model RowPanelType = "row"
RowPanelTypeRow RowPanelType = "row"
)
// Defines values for DashboardThresholdsConfigMode.
const (
Model ThresholdsConfigModeAbsolute Model ThresholdsConfigMode = "absolute"
ThresholdsConfigModeAbsolute ThresholdsConfigMode = "absolute"
Model ThresholdsConfigModePercentage Model ThresholdsConfigMode = "percentage"
ThresholdsConfigModePercentage ThresholdsConfigMode = "percentage"
)
// Defines values for DashboardThresholdsMode.
const (
Model ThresholdsModeAbsolute Model ThresholdsMode = "absolute"
ThresholdsModeAbsolute ThresholdsMode = "absolute"
Model ThresholdsModePercentage Model ThresholdsMode = "percentage"
ThresholdsModePercentage ThresholdsMode = "percentage"
)
// Defines values for DashboardVariableModelType.
const (
Model VariableModelTypeAdhoc Model VariableModelType = "adhoc"
VariableModelTypeAdhoc VariableModelType = "adhoc"
Model VariableModelTypeConstant Model VariableModelType = "constant"
VariableModelTypeConstant VariableModelType = "constant"
Model VariableModelTypeCustom Model VariableModelType = "custom"
VariableModelTypeCustom VariableModelType = "custom"
Model VariableModelTypeDatasource Model VariableModelType = "datasource"
VariableModelTypeDatasource VariableModelType = "datasource"
Model VariableModelTypeInterval Model VariableModelType = "interval"
VariableModelTypeInterval VariableModelType = "interval"
Model VariableModelTypeQuery Model VariableModelType = "query"
VariableModelTypeQuery VariableModelType = "query"
Model VariableModelTypeSystem Model VariableModelType = "system"
VariableModelTypeSystem VariableModelType = "system"
Model VariableModelTypeTextbox Model VariableModelType = "textbox"
VariableModelTypeTextbox VariableModelType = "textbox"
)
// Defines values for DashboardVariableType.
const (
Model VariableTypeAdhoc Model VariableType = "adhoc"
VariableTypeAdhoc VariableType = "adhoc"
Model VariableTypeConstant Model VariableType = "constant"
VariableTypeConstant VariableType = "constant"
Model VariableTypeCustom Model VariableType = "custom"
VariableTypeCustom VariableType = "custom"
Model VariableTypeDatasource Model VariableType = "datasource"
VariableTypeDatasource VariableType = "datasource"
Model VariableTypeInterval Model VariableType = "interval"
VariableTypeInterval VariableType = "interval"
Model VariableTypeQuery Model VariableType = "query"
VariableTypeQuery VariableType = "query"
Model VariableTypeSystem Model VariableType = "system"
VariableTypeSystem VariableType = "system"
Model VariableTypeTextbox Model VariableType = "textbox"
VariableTypeTextbox VariableType = "textbox"
)
// Dashboard defines model for dashboard.
@ -159,7 +159,7 @@ const (
type Model struct {
Annotations * struct {
// TODO docs
List [ ] Model AnnotationQuery ` json:"list" `
List [ ] AnnotationQuery ` json:"list" `
} ` json:"annotations,omitempty" `
// Description of dashboard.
@ -169,16 +169,16 @@ type Model struct {
Editable bool ` json:"editable" `
// TODO docs
FiscalYearStartMonth * int ` json:"fiscalYearStartMonth,omitempty" `
GnetId * string ` json:"gnetId,omitempty" `
GraphTooltip Model GraphTooltip ` json:"graphTooltip" `
FiscalYearStartMonth * int ` json:"fiscalYearStartMonth,omitempty" `
GnetId * string ` json:"gnetId,omitempty" `
GraphTooltip GraphTooltip ` json:"graphTooltip" `
// Unique numeric identifier for the dashboard.
// TODO must isolate or remove identifiers local to a Grafana instance...?
Id * int64 ` json:"id,omitempty" `
// TODO docs
Links * [ ] Model DashboardLink ` json:"links,omitempty" `
Links * [ ] DashboardLink ` json:"links,omitempty" `
// TODO docs
LiveNow * bool ` json:"liveNow,omitempty" `
@ -193,13 +193,13 @@ type Model struct {
SchemaVersion int ` json:"schemaVersion" `
// Theme of dashboard.
Style Model Style ` json:"style" `
Style Style ` json:"style" `
// Tags associated with dashboard.
Tags * [ ] string ` json:"tags,omitempty" `
Templating * struct {
// TODO docs
List [ ] Model VariableModel ` json:"list" `
List [ ] VariableModel ` json:"list" `
} ` json:"templating,omitempty" `
// Time range for dashboard, e.g. last 6 hours, last 7 days, etc
@ -228,7 +228,7 @@ type Model struct {
} ` json:"timepicker,omitempty" `
// Timezone of dashboard,
Timezone * Model Timezone ` json:"timezone,omitempty" `
Timezone * Timezone ` json:"timezone,omitempty" `
// Title of dashboard.
Title * string ` json:"title,omitempty" `
@ -247,26 +247,26 @@ type Model struct {
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model GraphTooltip int
type GraphTooltip int
// Theme of dashboard.
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model Style string
type Style string
// Timezone of dashboard,
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model Timezone string
type Timezone string
// TODO docs
// FROM: AnnotationQuery in grafana-data/src/types/annotations.ts
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model AnnotationQuery struct {
type AnnotationQuery struct {
BuiltIn int ` json:"builtIn" `
// Datasource to use for annotation.
@ -298,8 +298,8 @@ type ModelAnnotationQuery struct {
// with types derived from plugins in the Instance variant.
// When working directly from CUE, importers can extend this
// type directly to achieve the same effect.
Target * Model Target ` json:"target,omitempty" `
Type string ` json:"type" `
Target * Target ` json:"target,omitempty" `
Type string ` json:"type" `
}
// 0 for no shared crosshair or tooltip (default).
@ -308,37 +308,37 @@ type ModelAnnotationQuery struct {
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model DashboardCursorSync int
type DashboardCursorSync int
// FROM public/app/features/dashboard/state/DashboardModels.ts - ish
// TODO docs
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model DashboardLink struct {
AsDropdown bool ` json:"asDropdown" `
Icon * string ` json:"icon,omitempty" `
IncludeVars bool ` json:"includeVars" `
KeepTime bool ` json:"keepTime" `
Tags [ ] string ` json:"tags" `
TargetBlank bool ` json:"targetBlank" `
Title string ` json:"title" `
Tooltip * string ` json:"tooltip,omitempty" `
Type Model DashboardLinkType ` json:"type" `
Url * string ` json:"url,omitempty" `
type DashboardLink struct {
AsDropdown bool ` json:"asDropdown" `
Icon * string ` json:"icon,omitempty" `
IncludeVars bool ` json:"includeVars" `
KeepTime bool ` json:"keepTime" `
Tags [ ] string ` json:"tags" `
TargetBlank bool ` json:"targetBlank" `
Title string ` json:"title" `
Tooltip * string ` json:"tooltip,omitempty" `
Type DashboardLinkType ` json:"type" `
Url * string ` json:"url,omitempty" `
}
// DashboardDashboardLinkType defines model for DashboardDashboardLink.Type.
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model DashboardLinkType string
type DashboardLinkType string
// TODO docs
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model FieldColor struct {
type FieldColor struct {
// Stores the fixed color value if mode is fixed
FixedColor * string ` json:"fixedColor,omitempty" `
@ -346,41 +346,41 @@ type ModelFieldColor struct {
Mode interface { } ` json:"mode" `
// TODO docs
SeriesBy * Model FieldColorSeriesByMode ` json:"seriesBy,omitempty" `
SeriesBy * FieldColorSeriesByMode ` json:"seriesBy,omitempty" `
}
// TODO docs
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model FieldColorModeId string
type FieldColorModeId string
// TODO docs
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model FieldColorSeriesByMode string
type FieldColorSeriesByMode string
// DashboardGraphPanel defines model for dashboard.GraphPanel.
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model GraphPanel struct {
type GraphPanel struct {
// Support for legacy graph and heatmap panels.
Type Model GraphPanelType ` json:"type" `
Type GraphPanelType ` json:"type" `
}
// Support for legacy graph and heatmap panels.
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model GraphPanelType string
type GraphPanelType string
// DashboardGridPos defines model for dashboard.GridPos.
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model GridPos struct {
type GridPos struct {
// Panel
H int ` json:"h" `
@ -401,15 +401,15 @@ type ModelGridPos struct {
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model HeatmapPanel struct {
Type Model HeatmapPanelType ` json:"type" `
type HeatmapPanel struct {
Type HeatmapPanelType ` json:"type" `
}
// DashboardHeatmapPanelType defines model for DashboardHeatmapPanel.Type.
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model HeatmapPanelType string
type HeatmapPanelType string
// Dashboard panels. Panels are canonically defined inline
// because they share a version timeline with the dashboard
@ -417,7 +417,7 @@ type ModelHeatmapPanelType string
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model Panel struct {
type Panel struct {
// The datasource used in all targets.
Datasource * struct {
Type * string ` json:"type,omitempty" `
@ -429,7 +429,7 @@ type ModelPanel struct {
FieldConfig struct {
Defaults struct {
// TODO docs
Color * Model FieldColor ` json:"color,omitempty" `
Color * FieldColor ` json:"color,omitempty" `
// custom is specified by the PanelFieldConfig field
// in panel plugin schemas.
@ -475,8 +475,8 @@ type ModelPanel struct {
//
// When defined, this value can be used as an identifier within the datasource scope, and
// may be used to update the results
Path * string ` json:"path,omitempty" `
Thresholds * Model ThresholdsConfig ` json:"thresholds,omitempty" `
Path * string ` json:"path,omitempty" `
Thresholds * ThresholdsConfig ` json:"thresholds,omitempty" `
// Numeric Options
Unit * string ` json:"unit,omitempty" `
@ -495,7 +495,7 @@ type ModelPanel struct {
} ` json:"properties" `
} ` json:"overrides" `
} ` json:"fieldConfig" `
GridPos * Model GridPos ` json:"gridPos,omitempty" `
GridPos * GridPos ` json:"gridPos,omitempty" `
// TODO docs
Id * int ` json:"id,omitempty" `
@ -506,7 +506,7 @@ type ModelPanel struct {
// Panel links.
// TODO fill this out - seems there are a couple variants?
Links * [ ] Model DashboardLink ` json:"links,omitempty" `
Links * [ ] DashboardLink ` json:"links,omitempty" `
// TODO docs
MaxDataPoints * float32 ` json:"maxDataPoints,omitempty" `
@ -523,13 +523,13 @@ type ModelPanel struct {
// Direction to repeat in if 'repeat' is set.
// "h" for horizontal, "v" for vertical.
RepeatDirection Model PanelRepeatDirection ` json:"repeatDirection" `
RepeatDirection PanelRepeatDirection ` json:"repeatDirection" `
// TODO docs
Tags * [ ] string ` json:"tags,omitempty" `
// TODO docs
Targets * [ ] Model Target ` json:"targets,omitempty" `
Targets * [ ] Target ` json:"targets,omitempty" `
// TODO docs - seems to be an old field from old dashboard alerts?
Thresholds * [ ] interface { } ` json:"thresholds,omitempty" `
@ -564,13 +564,13 @@ type ModelPanel struct {
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model PanelRepeatDirection string
type PanelRepeatDirection string
// Row panel
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model RowPanel struct {
type RowPanel struct {
Collapsed bool ` json:"collapsed" `
// Name of default datasource.
@ -578,21 +578,21 @@ type ModelRowPanel struct {
Type * string ` json:"type,omitempty" `
Uid * string ` json:"uid,omitempty" `
} ` json:"datasource,omitempty" `
GridPos * Model GridPos ` json:"gridPos,omitempty" `
GridPos * GridPos ` json:"gridPos,omitempty" `
Id int ` json:"id" `
Panels [ ] interface { } ` json:"panels" `
// Name of template variable to repeat for.
Repeat * string ` json:"repeat,omitempty" `
Title * string ` json:"title,omitempty" `
Type Model RowPanelType ` json:"type" `
Repeat * string ` json:"repeat,omitempty" `
Title * string ` json:"title,omitempty" `
Type RowPanelType ` json:"type" `
}
// DashboardRowPanelType defines model for DashboardRowPanel.Type.
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model RowPanelType string
type RowPanelType string
// Schema for panel targets is specified by datasource
// plugins. We use a placeholder definition, which the Go
@ -604,13 +604,13 @@ type ModelRowPanelType string
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model Target map [ string ] interface { }
type Target map [ string ] interface { }
// TODO docs
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model Threshold struct {
type Threshold struct {
// TODO docs
Color string ` json:"color" `
@ -628,8 +628,8 @@ type ModelThreshold struct {
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model ThresholdsConfig struct {
Mode Model ThresholdsConfigMode ` json:"mode" `
type ThresholdsConfig struct {
Mode ThresholdsConfigMode ` json:"mode" `
// Must be sorted by 'value', first value is always -Infinity
Steps [ ] struct {
@ -651,20 +651,20 @@ type ModelThresholdsConfig struct {
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model ThresholdsConfigMode string
type ThresholdsConfigMode string
// DashboardThresholdsMode defines model for dashboard.ThresholdsMode.
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model ThresholdsMode string
type ThresholdsMode string
// TODO docs
// FIXME this is extremely underspecfied; wasn't obvious which typescript types corresponded to it
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model Transformation struct {
type Transformation struct {
Id string ` json:"id" `
Options map [ string ] interface { } ` json:"options" `
}
@ -676,17 +676,17 @@ type ModelTransformation struct {
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model VariableModel struct {
Label * string ` json:"label,omitempty" `
Name string ` json:"name" `
Type Model VariableModelType ` json:"type" `
type VariableModel struct {
Label * string ` json:"label,omitempty" `
Name string ` json:"name" `
Type VariableModelType ` json:"type" `
}
// DashboardVariableModelType defines model for DashboardVariableModel.Type.
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model VariableModelType string
type VariableModelType string
// FROM: packages/grafana-data/src/types/templateVars.ts
// TODO docs
@ -694,7 +694,7 @@ type ModelVariableModelType string
//
// THIS TYPE IS INTENDED FOR INTERNAL USE BY THE GRAFANA BACKEND, AND IS SUBJECT TO BREAKING CHANGES.
// Equivalent Go types at stable import paths are provided in https://github.com/grafana/grok.
type Model VariableType string
type VariableType string
//go:embed coremodel.cue
var cueFS embed . FS