mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05:00
Schemas: minor updates from the k8s branch (#71688)
Co-authored-by: sam boyer <sdboyer@grafana.com>
This commit is contained in:
co-authored by
sam boyer
parent
6c1346cbc1
commit
10ea92fa09
@@ -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
|
||||
|
||||
@@ -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")
|
||||
}
|
||||
}]
|
||||
|
||||
Reference in New Issue
Block a user