mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 02:40:26 -06:00
ed128ea964
* Frontend: Foundations for multi tenant frontend * improve manifest parsing for multi-tenant frontend (#78876) * add test * add test * ?? * Updates * Added cache * test cleanup * lint * fix test * fix error templates * cleanup * remove copy * revert changes to list testdata * comment cleanup * prepare integration tests * Remove integrety --------- Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
50 lines
1.5 KiB
Go
50 lines
1.5 KiB
Go
package dtos
|
|
|
|
import (
|
|
"html/template"
|
|
|
|
"github.com/grafana/grafana/pkg/services/navtree"
|
|
)
|
|
|
|
type IndexViewData struct {
|
|
User *CurrentUser
|
|
Settings *FrontendSettingsDTO
|
|
AppUrl string
|
|
AppSubUrl string
|
|
GoogleAnalyticsId string
|
|
GoogleAnalytics4Id string
|
|
GoogleAnalytics4SendManualPageViews bool
|
|
GoogleTagManagerId string
|
|
NavTree *navtree.NavTreeRoot
|
|
BuildVersion string
|
|
BuildCommit string
|
|
ThemeType string
|
|
NewGrafanaVersionExists bool
|
|
NewGrafanaVersion string
|
|
AppName string
|
|
AppNameBodyClass string
|
|
FavIcon template.URL
|
|
AppleTouchIcon template.URL
|
|
AppTitle string
|
|
ContentDeliveryURL string
|
|
LoadingLogo template.URL
|
|
CSPContent string
|
|
CSPEnabled bool
|
|
IsDevelopmentEnv bool
|
|
// Nonce is a cryptographic identifier for use with Content Security Policy.
|
|
Nonce string
|
|
NewsFeedEnabled bool
|
|
Assets *EntryPointAssets
|
|
}
|
|
|
|
type EntryPointAssets struct {
|
|
JSFiles []EntryPointAsset
|
|
CSSDark string
|
|
CSSLight string
|
|
}
|
|
|
|
type EntryPointAsset struct {
|
|
FilePath string
|
|
Integrity string
|
|
}
|