Schemas: minor updates from the k8s branch (#71688)

Co-authored-by: sam boyer <sdboyer@grafana.com>
This commit is contained in:
Ryan McKinley
2023-07-21 19:17:11 +03:00
committed by GitHub
co-authored by sam boyer
parent 6c1346cbc1
commit 10ea92fa09
24 changed files with 81 additions and 28 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ lineage: schemas: [{
spec: {
// Unique numeric identifier for the dashboard.
// `id` is internal to a specific Grafana instance. `uid` should be used to identify a dashboard across Grafana instances.
id?: int64
id?: int64 | null // TODO eliminate this null option
// Unique dashboard identifier that can be generated by anyone. string (8-40)
uid?: string
+9
View File
@@ -27,11 +27,20 @@ lineage: schemas: [{
// Explore query history preferences
queryHistory?: #QueryHistoryPreference
// Cookie preferences
cookiePreferences?: #CookiePreferences
} @cuetsy(kind="interface")
#QueryHistoryPreference: {
// one of: '' | 'query' | 'starred';
homeTab?: string
} @cuetsy(kind="interface")
#CookiePreferences: {
analytics?: {}
performance?: {}
functional?: {}
} @cuetsy(kind="interface")
}
}]