2023-01-25 13:00:32 -06:00
|
|
|
package kind
|
|
|
|
|
2023-01-31 16:54:22 -06:00
|
|
|
name: "Preferences"
|
2023-05-26 15:08:43 -05:00
|
|
|
pluralName: "Preferences"
|
2023-01-31 16:54:22 -06:00
|
|
|
maturity: "merged"
|
|
|
|
description: "The user or team frontend preferences"
|
2023-01-25 13:00:32 -06:00
|
|
|
|
2023-05-24 03:47:25 -05:00
|
|
|
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
|
2023-07-21 11:17:11 -05:00
|
|
|
|
|
|
|
// Cookie preferences
|
|
|
|
cookiePreferences?: #CookiePreferences
|
2023-05-24 03:47:25 -05:00
|
|
|
} @cuetsy(kind="interface")
|
|
|
|
|
|
|
|
#QueryHistoryPreference: {
|
|
|
|
// one of: '' | 'query' | 'starred';
|
|
|
|
homeTab?: string
|
|
|
|
} @cuetsy(kind="interface")
|
2023-07-21 11:17:11 -05:00
|
|
|
|
|
|
|
#CookiePreferences: {
|
|
|
|
analytics?: {}
|
|
|
|
performance?: {}
|
|
|
|
functional?: {}
|
|
|
|
} @cuetsy(kind="interface")
|
2023-05-24 03:47:25 -05:00
|
|
|
}
|
|
|
|
}]
|