mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 10:20:29 -06:00
10ea92fa09
Co-authored-by: sam boyer <sdboyer@grafana.com>
46 lines
1.3 KiB
Go
46 lines
1.3 KiB
Go
// Code generated - EDITING IS FUTILE. DO NOT EDIT.
|
|
//
|
|
// Generated by:
|
|
// kinds/gen.go
|
|
// Using jennies:
|
|
// GoResourceTypes
|
|
//
|
|
// Run 'make gen-cue' from repository root to regenerate.
|
|
|
|
package preferences
|
|
|
|
// CookiePreferences defines model for CookiePreferences.
|
|
type CookiePreferences struct {
|
|
Analytics map[string]any `json:"analytics,omitempty"`
|
|
Functional map[string]any `json:"functional,omitempty"`
|
|
Performance map[string]any `json:"performance,omitempty"`
|
|
}
|
|
|
|
// QueryHistoryPreference defines model for QueryHistoryPreference.
|
|
type QueryHistoryPreference struct {
|
|
// HomeTab one of: '' | 'query' | 'starred';
|
|
HomeTab *string `json:"homeTab,omitempty"`
|
|
}
|
|
|
|
// Spec defines model for Spec.
|
|
type Spec struct {
|
|
CookiePreferences *CookiePreferences `json:"cookiePreferences,omitempty"`
|
|
|
|
// UID for the home dashboard
|
|
HomeDashboardUID *string `json:"homeDashboardUID,omitempty"`
|
|
|
|
// Selected language (beta)
|
|
Language *string `json:"language,omitempty"`
|
|
QueryHistory *QueryHistoryPreference `json:"queryHistory,omitempty"`
|
|
|
|
// Theme light, dark, empty is default
|
|
Theme *string `json:"theme,omitempty"`
|
|
|
|
// The timezone selection
|
|
// TODO: this should use the timezone defined in common
|
|
Timezone *string `json:"timezone,omitempty"`
|
|
|
|
// WeekStart day of the week (sunday, monday, etc)
|
|
WeekStart *string `json:"weekStart,omitempty"`
|
|
}
|