mirror of
https://github.com/grafana/grafana.git
synced 2025-08-01 01:31:50 +08:00

Rename externalPlugin to apiPlugin Rename bundle to app Move js, css, menuItem and staticRoot to be properties os App Add "app" field to panel, datasource and api plugin models. If populated then the plugin is only enabled if the specific app is enabled for the Org. If app is "", then the plugin is enabled for all orgs and can't be disabled.
9 lines
237 B
Go
9 lines
237 B
Go
package dtos
|
|
|
|
type AppPlugin struct {
|
|
Type string `json:"type"`
|
|
Enabled bool `json:"enabled"`
|
|
Module string `json:"module"`
|
|
JsonData map[string]interface{} `json:"jsonData"`
|
|
}
|