grafana/kinds/publicdashboard/public_dashboard_kind.cue
sam boyer 323cbe1997
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
2023-05-24 10:47:25 +02:00

26 lines
669 B
CUE

package kind
name: "PublicDashboard"
maturity: "merged"
description: "Public dashboard configuration"
lineage: schemas: [{
version: [0, 0]
schema: {
spec: {
// Unique public dashboard identifier
uid: string
// Dashboard unique identifier referenced by this public dashboard
dashboardUid: string
// Unique public access token
accessToken?: string
// Flag that indicates if the public dashboard is enabled
isEnabled: bool
// Flag that indicates if annotations are enabled
annotationsEnabled: bool
// Flag that indicates if the time range picker is enabled
timeSelectionEnabled: bool
} @cuetsy(kind="interface")
}
}]