mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 02:40:26 -06:00
37 lines
1.2 KiB
Go
37 lines
1.2 KiB
Go
package dtos
|
|
|
|
type IndexViewData struct {
|
|
User *CurrentUser
|
|
Settings map[string]interface{}
|
|
AppUrl string
|
|
AppSubUrl string
|
|
GoogleAnalyticsId string
|
|
GoogleTagManagerId string
|
|
NavTree []*NavLink
|
|
BuildVersion string
|
|
BuildCommit string
|
|
Theme string
|
|
NewGrafanaVersionExists bool
|
|
NewGrafanaVersion string
|
|
}
|
|
|
|
type PluginCss struct {
|
|
Light string `json:"light"`
|
|
Dark string `json:"dark"`
|
|
}
|
|
|
|
type NavLink struct {
|
|
Id string `json:"id,omitempty"`
|
|
Text string `json:"text,omitempty"`
|
|
Description string `json:"description,omitempty"`
|
|
SubTitle string `json:"subTitle,omitempty"`
|
|
Icon string `json:"icon,omitempty"`
|
|
Img string `json:"img,omitempty"`
|
|
Url string `json:"url,omitempty"`
|
|
Target string `json:"target,omitempty"`
|
|
Divider bool `json:"divider,omitempty"`
|
|
HideFromMenu bool `json:"hideFromMenu,omitempty"`
|
|
HideFromTabs bool `json:"hideFromTabs,omitempty"`
|
|
Children []*NavLink `json:"children,omitempty"`
|
|
}
|