mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 03:12:13 +08:00
feat(plugins): made panels work as plugins
This commit is contained in:
@ -15,6 +15,13 @@ type DataSourcePlugin struct {
|
||||
StaticRootConfig *StaticRootConfig `json:"staticRoot"`
|
||||
}
|
||||
|
||||
type PanelPlugin struct {
|
||||
Type string `json:"type"`
|
||||
Name string `json:"name"`
|
||||
Module string `json:"module"`
|
||||
StaticRootConfig *StaticRootConfig `json:"staticRoot"`
|
||||
}
|
||||
|
||||
type StaticRootConfig struct {
|
||||
Url string `json:"url"`
|
||||
Path string `json:"path"`
|
||||
|
Reference in New Issue
Block a user