BarChart/PieChart: create/update models.cue (#52988)

* Reverse engineering barchart models.cue from models.gen.ts

* Barchart models.cue and import fixes

* Add models.cue for piechart

* Use single-item syntax to dodge cuetsy bug

* Add some docs

Co-authored-by: sam boyer <sdboyer@grafana.com>
This commit is contained in:
Zoltán Bedi
2022-08-18 14:46:36 +02:00
committed by GitHub
parent 329aab7395
commit ea5e58a051
17 changed files with 188 additions and 106 deletions

View File

@ -37,7 +37,6 @@ var importMap = map[string]string{
// Hard-coded list of paths to skip. Remove a particular file as we're ready
// to rely on the TypeScript auto-generated by cuetsy for that particular file.
var skipPaths = []string{
"public/app/plugins/panel/barchart/models.cue",
"public/app/plugins/panel/canvas/models.cue",
"public/app/plugins/panel/histogram/models.cue",
"public/app/plugins/panel/heatmap/models.cue",