The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/kinds/preferences/preferences_kind.cue

58 lines
1.2 KiB

package kind
name: "Preferences"
pluralName: "Preferences"
maturity: "merged"
description: "The user or team frontend preferences"
lineage: schemas: [{
version: [0, 0]
schema: {
// Spec defines user, team or org Grafana preferences
// swagger:model Preferences
spec: {
// UID for the home dashboard
homeDashboardUID?: string
// The timezone selection
// TODO: this should use the timezone defined in common
timezone?: string
// day of the week (sunday, monday, etc)
weekStart?: string
// light, dark, empty is default
theme?: string
// Selected language (beta)
language?: string
// Selected locale (beta)
locale?: string
// Explore query history preferences
queryHistory?: #QueryHistoryPreference
// Cookie preferences
cookiePreferences?: #CookiePreferences
// Navigation preferences
navbar?: #NavbarPreference
} @cuetsy(kind="interface")
#QueryHistoryPreference: {
// one of: '' | 'query' | 'starred';
homeTab?: string
} @cuetsy(kind="interface")
#CookiePreferences: {
analytics?: {}
performance?: {}
functional?: {}
} @cuetsy(kind="interface")
#NavbarPreference: {
bookmarkUrls: [...string]
} @cuetsy(kind="interface")
}
}]