mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
kindsys: Adapt to new flattened lineage syntax in Thema (#68034)
* Update all core kinds to flattened lineages
* Regen Go types, without any
* Regen Go types, s/interface{}/any/
* Update generated core typescript
* Update generate docs
* Fix defaults gen in veneer index jenny
* Flatten plugindef lineage
* Convert all plugin kinds to flattened form
* Switch back to interface{} for now
* Switch to fs.Sub in plugin DeclParser
* Mostly undesirable codegen changes, to be fixed
* Update mod and sum
* Update pfs tests to flattened lineages
* Update thema to latest, regen docs
This commit is contained in:
@@ -4,36 +4,33 @@ name: "Preferences"
|
||||
maturity: "merged"
|
||||
description: "The user or team frontend preferences"
|
||||
|
||||
lineage: seqs: [
|
||||
{
|
||||
schemas: [
|
||||
{
|
||||
spec: {
|
||||
// UID for the home dashboard
|
||||
homeDashboardUID?: string
|
||||
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
|
||||
// The timezone selection
|
||||
// TODO: this should use the timezone defined in common
|
||||
timezone?: string
|
||||
|
||||
// day of the week (sunday, monday, etc)
|
||||
weekStart?: string
|
||||
// day of the week (sunday, monday, etc)
|
||||
weekStart?: string
|
||||
|
||||
// light, dark, empty is default
|
||||
theme?: string
|
||||
// light, dark, empty is default
|
||||
theme?: string
|
||||
|
||||
// Selected language (beta)
|
||||
language?: string
|
||||
// Selected language (beta)
|
||||
language?: string
|
||||
|
||||
// Explore query history preferences
|
||||
queryHistory?: #QueryHistoryPreference
|
||||
} @cuetsy(kind="interface")
|
||||
// Explore query history preferences
|
||||
queryHistory?: #QueryHistoryPreference
|
||||
} @cuetsy(kind="interface")
|
||||
|
||||
#QueryHistoryPreference: {
|
||||
// one of: '' | 'query' | 'starred';
|
||||
homeTab?: string
|
||||
} @cuetsy(kind="interface")
|
||||
},
|
||||
]
|
||||
},
|
||||
]
|
||||
#QueryHistoryPreference: {
|
||||
// one of: '' | 'query' | 'starred';
|
||||
homeTab?: string
|
||||
} @cuetsy(kind="interface")
|
||||
}
|
||||
}]
|
||||
|
||||
Reference in New Issue
Block a user