grafana/kinds/preferences/preferences_kind.cue
Ryan McKinley ca1f79b9ba
Kindsys: Target k8s style resource definitions (#67008)
Co-authored-by: sam boyer <sdboyer@grafana.com>
2023-04-27 23:32:38 +03:00

40 lines
799 B
CUE

package kind
name: "Preferences"
maturity: "merged"
description: "The user or team frontend preferences"
lineage: seqs: [
{
schemas: [
{
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")
},
]
},
]