Debug Panel: Introduce schema types (#62094)

* feat(debugpanel): schematizing debug panel plugin

* delete old types and update imports to new generated schema

* update to experimental

* derived counters, fix options key name

* num to int

* chore(debugpanel): update ts imports post type rename

* chore(kindsys): refresh report.json

* migrate UpdateCounters back to runtime

* merge with main

---------

Co-authored-by: Will Browne <will.browne@grafana.com>
Co-authored-by: sam boyer <sdboyer@grafana.com>
This commit is contained in:
Jack Westbrook
2023-02-03 11:57:04 +01:00
committed by GitHub
co-authored by Will Browne sam boyer
parent ed18a249b8
commit 5815a37f47
9 changed files with 151 additions and 36 deletions
+8 -6
View File
@@ -404,7 +404,9 @@
},
"debugpanelcfg": {
"category": "composable",
"codeowners": [],
"codeowners": [
"ryantxu"
],
"currentVersion": [
0,
0
@@ -412,13 +414,13 @@
"grafanaMaturityCount": 0,
"lineageIsGroup": true,
"links": {
"docs": "n/a",
"docs": "https://grafana.com/docs/grafana/next/developers/kinds/composable/debugpanelcfg/schema-reference",
"go": "n/a",
"schema": "n/a",
"ts": "n/a"
"schema": "https://github.com/grafana/grafana/tree/main/public/app/plugins/panel/debug/panelcfg.cue",
"ts": "https://github.com/grafana/grafana/tree/main/public/app/plugins/panel/debug/panelcfg.gen.ts"
},
"machineName": "debugpanelcfg",
"maturity": "planned",
"maturity": "experimental",
"name": "DebugPanelCfg",
"pluralMachineName": "debugpanelcfgs",
"pluralName": "DebugPanelCfgs",
@@ -1980,6 +1982,7 @@
"bargaugepanelcfg",
"dashboard",
"dashboardlistpanelcfg",
"debugpanelcfg",
"gaugepanelcfg",
"histogrampanelcfg",
"librarypanel",
@@ -2030,7 +2033,6 @@
"dashboarddataquery",
"dashboarddatasourcecfg",
"datasource",
"debugpanelcfg",
"elasticsearchdatasourcecfg",
"flamegraphpanelcfg",
"folder",