feat(apps): lots of progress

This commit is contained in:
Torkel Ödegaard
2016-01-08 20:57:58 +01:00
parent 60e7c6d150
commit 7a8b3c419b
7 changed files with 117 additions and 8 deletions
+1
View File
@@ -22,6 +22,7 @@ func GetAppPlugins(c *middleware.Context) Response {
Enabled: app.Enabled,
Pinned: app.Pinned,
Module: app.Module,
Info: app.Info,
}
}
+3
View File
@@ -1,10 +1,13 @@
package dtos
import "github.com/grafana/grafana/pkg/plugins"
type AppPlugin struct {
Name string `json:"name"`
Type string `json:"type"`
Enabled bool `json:"enabled"`
Pinned bool `json:"pinned"`
Module string `json:"module"`
Info *plugins.PluginInfo `json:"info"`
JsonData map[string]interface{} `json:"jsonData"`
}