mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 12:44:10 -06:00
38 lines
789 B
CUE
38 lines
789 B
CUE
package kind
|
|
|
|
name: "Preferences"
|
|
pluralName: "Preferences"
|
|
maturity: "merged"
|
|
description: "The user or team frontend preferences"
|
|
|
|
lineage: schemas: [{
|
|
version: [0, 0]
|
|
schema: {
|
|
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
|
|
|
|
// Explore query history preferences
|
|
queryHistory?: #QueryHistoryPreference
|
|
} @cuetsy(kind="interface")
|
|
|
|
#QueryHistoryPreference: {
|
|
// one of: '' | 'query' | 'starred';
|
|
homeTab?: string
|
|
} @cuetsy(kind="interface")
|
|
}
|
|
}]
|